Skip to content
Snippets Groups Projects
Commit 32133c85 authored by He Junyan's avatar He Junyan Committed by GStreamer Marge Bot
Browse files

va: allocator: use _update_image_info() to set allocator parameters.

Use this standalone function to update the allocator info and make
all ensure_image() and mem_alloc() API clean.
We also change the default way of using image. We now set the non
derive manner as the default manner, and if it fails, then fallback
to the derived image manner.
On a lot of platforms, the derived image does not have caches, so the
read and write operations have very low performance.

Part-of: <!1698>
parent e577ca14
No related branches found
No related tags found
2 merge requests!1896Fix for gst-plugins-good issues/818. [Enhancement] dvbsuboverlay: Dynamic...,!1698va: allocator: Decide the use derived flag when set_format().
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment