gstreamer/subprojects/gst-plugins-bad/gst-libs/gst/va
Víctor Manuel Jáquez Leal 4c5e17308e vaallocator: don't update size in info for single plane images
Don't update info's size with the VA image reported data size for single plane
images, since drivers might allocate bigger space than the strictly required to
store the image, but when we dump the buffer as is (using filesink, for example)
the produced stream is corrupted. For multi-plane images video meta is required
to read/write them.

We updated info's size because gstreamer-vaapi did it too, but the reason to
update it there was for uploading and rendering surfaces (commit c698a015).

Furthermore, this patch adds an error message if the allocated data size for the
image by the driver is lesser than the expected because it would be a buggy
driver.

Fixes: #2959
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5308>
2023-09-18 14:55:10 +00:00
..
gstva.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvaallocator.c vaallocator: don't update size in info for single plane images 2023-09-18 14:55:10 +00:00
gstvaallocator.h va: Use GstVideoInfoDmaDrm in DMA allocator's get/set_format() API 2023-08-07 22:49:26 +00:00
gstvadisplay.c va: add driver description in element metadata 2023-03-20 15:27:25 +00:00
gstvadisplay.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvadisplay_drm.c va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvadisplay_drm.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvadisplay_win32.cpp vadisplay_win32: Query profiles and entry points on init 2023-03-15 01:37:03 +00:00
gstvadisplay_win32.h va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvadisplay_wrapped.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadisplay_wrapped.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvapool.c va: Use new dma drm caps in va pool when we setup DMA pools 2023-08-07 22:49:26 +00:00
gstvapool.h va: pool: Replace all tabs with spaces in header file. 2022-04-26 20:26:06 +08:00
gstvasurfacecopy.c va: bump libva version to 1.12 2023-06-08 08:50:04 +00:00
gstvasurfacecopy.h va: Complete library and plugin documentation. 2022-09-13 14:57:21 +02:00
gstvautils.c va: Add Win32 backend GstVaDisplay implementation 2023-03-10 13:57:47 +00:00
gstvautils.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvavideoformat.c va: update the gst_va_dma_drm_info_to_video_info() to use DMA_DRM format 2023-08-07 22:49:26 +00:00
gstvavideoformat.h va: Include drm fourcc header file in gstvavideoformat.h 2023-08-07 22:49:26 +00:00
meson.build va: bump libva version to 1.12 2023-06-08 08:50:04 +00:00
va-prelude.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
va_fwd.h va: Don't expose internal classes. 2022-03-30 11:36:03 +02:00
vasurfaceimage.c va: Add modifier paramters check for va_create_surfaces() 2023-09-01 17:26:51 +08:00
vasurfaceimage.h va: Add helper function va_get_surface_usage_hint() 2023-08-24 11:03:59 +00:00