gstreamer/subprojects/gst-plugins-bad/sys/va
Víctor Manuel Jáquez Leal 4a22cc8fb3 va: no need to provide a buffer size for VA pool
VA drivers allocate surfaces given their properties, so there's no need to
provide a buffer size to the VA pool.

Though, the buffer size is provided by the driver, or the canonical size
is used for single planed surfaces.

This patch removes the need to provide a size for the function
gst_va_pool_new_with_config() and adds a helper method to retrieve the surface
size, gst_va_pool_get_buffer_size(). Also change the callers accordingly.

Changes for custom VA pool creation will be addressed in the following commits.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5805>
2023-12-14 12:50:32 +00:00
..
gstjpegdecoder.c jpegdecoder: fail early if no input caps have been provided 2023-02-25 10:41:53 +08:00
gstjpegdecoder.h vajpegdec: Hide gst_jpeg_decoder_get_type() symbol 2023-03-06 13:39:20 +00:00
gstvaav1dec.c va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +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
gstvabase.c va: use GstVideoInfoDmaDrm when importing buffers 2023-11-09 17:36:06 +00:00
gstvabase.h va: use GstVideoInfoDmaDrm when importing buffers 2023-11-09 17:36:06 +00:00
gstvabasedec.c vabasedec: Remove assertion for resolution change in input state 2023-08-24 16:21:14 +00:00
gstvabasedec.h va: Apply the new DMA format:modifier pair negotiation in decoder 2023-08-07 22:49:26 +00:00
gstvabaseenc.c va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00:00
gstvabaseenc.h va: use GstVideoInfoDmaDrm when importing buffers 2023-11-09 17:36:06 +00:00
gstvabasetransform.c va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00:00
gstvabasetransform.h va: use GstVideoInfoDmaDrm when importing buffers 2023-11-09 17:36:06 +00:00
gstvacaps.c va: Add the entrypoint parameter to gst_va_profile_caps() 2023-12-12 20:41:54 +08:00
gstvacaps.h va: Improve the template caps for DMA, use new drm-format kind caps 2023-08-07 22:49:26 +00:00
gstvacompositor.c va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00:00
gstvacompositor.h va: vpp: add compositor 2022-05-21 21:18:15 +02:00
gstvadecoder.c va: Fix in error logs functions mismatches 2023-08-24 17:54:32 +00:00
gstvadecoder.h vadecoder: remove display reference in decode picture 2023-03-24 14:05:15 +00:00
gstvadeinterlace.c va: Add Windows specific element type/feature naming support 2023-03-10 13:57:47 +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.h va: Add render node name in non-first devices. 2022-12-01 16:00:55 +00:00
gstvadevice_linux.c va: No need to sort the device after registered 2023-05-16 08:37:48 +00:00
gstvadevice_win32.cpp va: Add support for Win32 backend 2023-03-10 13:57:47 +00:00
gstvadisplay_priv.c va: Fix in error logs functions mismatches 2023-08-24 17:54:32 +00:00
gstvadisplay_priv.h va: Set <gst/va/gstva.h> as library single point entry header. 2022-03-29 19:48:30 +00:00
gstvaencoder.c va: no need to provide a buffer size for VA pool 2023-12-14 12:50:32 +00:00
gstvaencoder.h vaencoder: remove display reference in decode picture 2023-03-24 14:05:15 +00:00
gstvafilter.c va: Improve the template caps for DMA, use new drm-format kind caps 2023-08-07 22:49:26 +00:00
gstvafilter.h va: filter/postproc: move unconditional props to vavpp 2022-06-27 12:17:53 -04:00
gstvah264dec.c h264decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +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
gstvah264enc.c va: Add the entrypoint parameter to gst_va_profile_caps() 2023-12-12 20:41:54 +08:00
gstvah264enc.h va: H264enc: Add encoder for VAEntrypointEncSliceLP. 2022-05-25 20:40:48 +00:00
gstvah265dec.c va: h265dec: Add support for more -still and -intra profiles 2023-12-12 21:30:16 +08:00
gstvah265dec.h Move files from gst-plugins-bad into the "subprojects/gst-plugins-bad/" subdir 2021-09-24 16:14:36 -03:00
gstvah265enc.c va: Add the entrypoint parameter to gst_va_profile_caps() 2023-12-12 20:41:54 +08:00
gstvah265enc.h va: Implement the vah265enc plugin for va HEVC encoding. 2022-12-01 09:44:08 +08:00
gstvajpegdec.c vajpegdec: simply fixup src caps for iHD 2023-08-07 22:49:26 +00:00
gstvajpegdec.h va: Add vajpegdec element. 2022-06-27 13:43:14 +00:00
gstvampeg2dec.c mpeg2decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +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
gstvapluginutils.c va: add driver description in element metadata 2023-03-20 15:27:25 +00:00
gstvapluginutils.h va: Update "device-path" property description for Windows 2023-03-10 13:57:47 +00:00
gstvaprofile.c va: Add decoder compatible caps string field into profiles' map 2023-12-12 21:30:08 +08:00
gstvaprofile.h va: Add the entrypoint parameter to gst_va_profile_caps() 2023-12-12 20:41:54 +08:00
gstvavp8dec.c vp8decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +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 vp9decoder: Port to GstCodecPicture struct 2023-09-08 11:51:23 +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 va: Apply the new DMA format:modifier pair negotiation in vpp 2023-08-07 22:49:26 +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: refactor buffer import 2023-08-31 12:41:48 +00:00
plugin.c vadisplay: only register elements of allowed drivers 2023-11-08 13:53:26 +00:00
vacompat.h Bump GLib requirement to >= 2.62 2022-06-10 06:01:41 +00:00