gstreamer/subprojects/gst-plugins-bad/sys/va
Víctor Manuel Jáquez Leal 9f5f465cc2 va: allocator: Use always lseek to get dmabuf size.
Gallium drivers historically have reported strange dmabuf sizes, from always
zero to the whole frame (multiple fds). The simplest solution is to use lseek
SEEK_END to get the prime descriptor size.

Also the allocator raises a warning if both values differ in order to report
it to driver.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2657>
2022-06-24 15:58:24 +01:00
..
gstvaallocator.c va: allocator: Use always lseek to get dmabuf size. 2022-06-24 15:58:24 +01:00
gstvaallocator.h va: allocator: Add missing header file. 2021-10-10 17:03:29 +00:00
gstvaav1dec.c va: Move common variable need_negotiation to GstBaseDec. 2021-10-29 16:06:52 +00:00
gstvaav1dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvabasedec.c va: dec: Use gst_buffer_pool_config_set_va_alignment() to set alignment. 2022-04-26 14:44:45 +01:00
gstvabasedec.h va: Move common variable need_negotiation to GstBaseDec. 2021-10-29 16:06:52 +00:00
gstvabasetransform.c va: basetransform: Pass component index not plane index. 2022-01-25 14:15:12 +00:00
gstvabasetransform.h vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvacaps.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvacaps.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadecoder.c va: decoder: Also ref the display when duplicating pictures. 2021-11-19 14:40:18 +00:00
gstvadecoder.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadeinterlace.c vapostproc, vadeinterlace: don't transform caps if no intersection. 2021-11-22 15:27:10 +00:00
gstvadeinterlace.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadevice.c va: Make libgudev dependency optional. 2021-10-04 10:19:36 +00:00
gstvadevice.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvadisplay_priv.c va: display: Add gst_va_display_has_vpp() 2021-10-10 17:03:29 +00:00
gstvadisplay_priv.h va: display: Add gst_va_display_has_vpp() 2021-10-10 17:03:29 +00:00
gstvafilter.c va: filter & postproc: Match color with caps features. 2022-01-24 18:10:49 +00:00
gstvafilter.h va: filter & postproc: Match color with caps features. 2022-01-24 18:10:49 +00:00
gstvah264dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvah264dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvah265dec.c va: h265dec: Fix a crash because of missing reference frame. 2022-06-22 01:45:22 +01:00
gstvah265dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvampeg2dec.c sys: va: GstVaMpeg2Dec: use slice sc_offset and size 2021-11-02 16:16:29 +00:00
gstvampeg2dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvapool.c va: pool: Delete the GST_BUFFER_POOL_OPTION_VIDEO_ALIGNMENT. 2022-04-26 14:42:12 +01:00
gstvapool.h va: pool: Replace all tabs with spaces in header file. 2022-04-26 14:44:33 +01:00
gstvaprofile.c va: av1dec: Use named profiles to replace the numeric ones. 2021-12-21 22:20:34 +09:00
gstvaprofile.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvasurfacecopy.c va: Use a lock to protect the surface copy by using vpp. 2021-11-29 19:25:31 +00:00
gstvasurfacecopy.h va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00
gstvautils.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvautils.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavideoformat.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavideoformat.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavp8dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp8dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavp9dec.c va: Delay decoders downstream negotiation. 2021-10-29 16:06:52 +00:00
gstvavp9dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvavpp.c vavpp: Fix the caps leak in the transform_caps() function. 2022-02-15 23:24:20 +00:00
gstvavpp.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
meson.build va: Remove libgudev crumbs in library. 2022-02-15 03:13:54 +00:00
plugin.c Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
vasurfaceimage.c va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00
vasurfaceimage.h va: Add GstVaSurfaceCopy class. 2021-10-10 17:03:29 +00:00