gstreamer/sys/va
Víctor Manuel Jáquez Leal 07a0b63472 va: allocator: Implement mem_copy for VA memory.
Implementation of mem_copy() virtual method for GstVaAllocator.

It's a deep copy where a new VA memory is popped out from the pool or,
if pool is empty, a new memory is allocated. The original memory is
mapped to read, and if its VAImage is not derived and size to copy is
the whole surface, the mapped VAImage of the original memory is put in
the new memory. Otherwise a slow memcpy is done between both memories.

Fixes: #1568
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2136>
2021-04-08 16:34:06 +00:00
..
gstvaallocator.c va: allocator: Implement mem_copy for VA memory. 2021-04-08 16:34:06 +00:00
gstvaallocator.h VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvaav1dec.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvaav1dec.h VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvabasedec.c va: basedec: refactor context query 2021-02-05 21:25:20 +01:00
gstvabasedec.h VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
gstvacaps.c va: caps: Add image formats in raw caps only for non-iHD. 2021-04-02 17:18:10 +02:00
gstvacaps.h va: caps: added gst_caps_is_raw() 2020-10-09 16:34:57 +02:00
gstvadecoder.c VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvadecoder.h VA: Add the aux surface for gst buffer used by decoder. 2021-02-23 13:52:50 +08:00
gstvadevice.c va: sort the device queue 2021-02-02 10:28:04 +08:00
gstvadevice.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay.c va: videoformats: Fix RGB32 mapping between VA and GStreamer. 2021-04-07 11:06:59 +00:00
gstvadisplay.h va: display: parse and set driver implementation 2021-01-05 17:54:34 +00:00
gstvadisplay_drm.c va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay_drm.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvadisplay_wrapped.c va: display: wrapped: Fix property name 2020-08-03 19:33:01 +02:00
gstvadisplay_wrapped.h va: VA-API H.264 decoder and infrastructure 2020-06-28 11:47:35 +02:00
gstvafilter.c va: filter: remove unsupported formats because driver's bugs 2021-04-07 11:06:59 +00:00
gstvafilter.h va: postproc, filter: add disable-passthrough property 2021-04-03 15:47:18 +02:00
gstvah264dec.c va: h264dec: remove spurious if validation 2021-02-05 21:24:02 +01:00
gstvah264dec.h va: h264dec: check va allocator at decide allocation 2020-08-24 19:35:57 +00:00
gstvah265dec.c vah265dec: Don't need to pass picture structure to VA 2021-02-09 16:19:41 +00:00
gstvah265dec.h va: Add HEVC decoding support 2020-11-04 17:53:23 +00:00
gstvampeg2dec.c va: mpeg2dec: refactor the picture reference filling 2021-01-06 17:27:10 +01:00
gstvampeg2dec.h va: Add mpeg2 VA decoder. 2020-12-28 13:14:06 +08:00
gstvapool.c va: pool, allocator: free memories at bufferpool's stop() 2021-02-17 09:10:37 +01:00
gstvapool.h va: allocator: add _set_format() and _get_format() 2020-10-09 16:34:57 +02: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 gst: don't use volatile to mean atomic 2021-03-22 14:34:36 +11:00
gstvautils.h va: codestyle: Clear all tabs in header files 2020-09-25 17:07:10 +08:00
gstvavideoformat.c va: videoformats: Map more color formats. 2021-04-07 11:06: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: vp8dec, vp9dec: only set NV12 color format for documentation 2021-03-02 15:33:54 +00:00
gstvavp8dec.h va: Implement the VA vp8 decoder. 2020-09-25 17:07:30 +08:00
gstvavp9dec.c codecs: vp9decoder: Pass GstVideoCodecFrame to duplicate_picture() 2021-04-07 19:32:29 +00:00
gstvavp9dec.h va: Add VP9 decoder 2020-10-19 13:15:06 +02:00
gstvavpp.c va: postproc, filter: add disable-passthrough property 2021-04-03 15:47:18 +02:00
gstvavpp.h va: add vapostproc element 2020-09-23 18:19:22 +02:00
meson.build VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00
plugin.c VA: Add the vaav1dec element as the av1 decoder. 2021-02-23 13:53:43 +08:00