gstreamer/sys/va
Víctor Manuel Jáquez Leal 6853c3eea8 vapostproc: Disable cropping in pass-through mode.
Originally, if a buffer arrives with crop meta but downstream doesn't
handle crop allocation meta, vapostproc tried to reconfigure itself to
non pass-through mode automatically. Sadly, this behavior was based on
the wrong assumption that propose_allocation() vmethod would bring
downstream allocation query, but it is not.

Now, if vapostproc is in pass-through mode, the cropping is passed to
downstream.  Pass-through mode can be disabled via a parameter.

Finally, if pass-through mode isn't enabled, it's assumed the buffer
is going to be processed and, if cropping, downstream already
negotiated the cropped frame size, thus it's required to do the
cropping inside vapostproc to avoid artifacts because of the size of
downstream allocated buffers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2443>
2021-08-18 09:00:55 +00:00
..
gstvaallocator.c va: allocator: dma: Fail when mapping the non-linear buffer. 2021-07-02 08:15:49 +00:00
gstvaallocator.h libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvaav1dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvaav1dec.h VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvabasedec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvabasedec.h va: basedec: Copy the frames into other_pool if needed. 2021-06-28 15:16:39 +00:00
gstvabasetransform.c va: Add base transform class. 2021-08-10 17:31:58 +00:00
gstvabasetransform.h va: Add base transform class. 2021-08-10 17:31:58 +00:00
gstvacaps.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvacaps.h libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvadecoder.c va: decoder: Group decoder methods. 2021-07-17 20:53:29 +02:00
gstvadecoder.h va: decoder: Group decoder methods. 2021-07-17 20:53:29 +02:00
gstvadevice.c libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvadevice.h libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvadisplay_priv.c libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvadisplay_priv.h libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvafilter.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvafilter.h va: filter: refactor convert_surface() to process() 2021-07-27 09:13:39 +00:00
gstvah264dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvah264dec.h va: h264dec: check va allocator at decide allocation 2020-08-24 19:35:57 +00:00
gstvah265dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvah265dec.h va: Add HEVC decoding support 2020-11-04 17:53:23 +00:00
gstvampeg2dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvampeg2dec.h va: Add mpeg2 VA decoder. 2020-12-28 13:14:06 +08:00
gstvapool.c va: pool: Add gst_va_pool_new_with_config(). 2021-08-10 17:31:58 +00:00
gstvapool.h va: pool: Add gst_va_pool_new_with_config(). 2021-08-10 17:31:58 +00:00
gstvaprofile.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvaprofile.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvautils.c libs: va: display_wrapper: Use gpointer for VADisplay. 2021-05-18 12:15:36 +02:00
gstvautils.h libs: va: Move the VA common logic as a lib. 2021-05-18 12:15:30 +02:00
gstvavideoformat.c va: Fix a typo in video format mapping. 2021-06-16 14:12:59 +00:00
gstvavideoformat.h va: videoformats: Fix RGB32 mapping between VA and GStreamer. 2021-04-07 11:06:59 +00:00
gstvavp8dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvavp8dec.h va: Implement the VA vp8 decoder. 2020-09-25 17:07:30 +08:00
gstvavp9dec.c va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory". 2021-08-16 16:25:15 +08:00
gstvavp9dec.h va: Add VP9 decoder 2020-10-19 13:15:06 +02:00
gstvavpp.c vapostproc: Disable cropping in pass-through mode. 2021-08-18 09:00:55 +00:00
gstvavpp.h va: add vapostproc element 2020-09-23 18:19:22 +02:00
meson.build va: Add base transform class. 2021-08-10 17:31:58 +00:00
plugin.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00