libs: va: add VA allocator parameter for derived images usage.
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Tue, 29 Mar 2022 12:52:33 +0000 (14:52 +0200)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Thu, 31 Mar 2022 14:14:45 +0000 (14:14 +0000)
commit6d2f57b6c7285053f3578a9e66005a76bd8547f4
tree8c3368ac41e93e4b27917d9dc50bcf2aa3b3db1f
parenta801d6dd6309fac5a8e1161de08a65b2587228d9
libs: va: add VA allocator parameter for derived images usage.

Added GstVaFeature enum type, and new parameter for VA allocator's
set_format() and get_format(). Also added a new parameter in VA pool
gst_va_pool_new_with_config() and
gst_buffer_pool_config_set_va_allocation_params().

This new parameter will define if derived images will by used for
buffer mapping.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2057>
subprojects/gst-plugins-bad/gst-libs/gst/va/gstva.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvaallocator.h
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.c
subprojects/gst-plugins-bad/gst-libs/gst/va/gstvapool.h
subprojects/gst-plugins-bad/gst-libs/gst/va/meson.build
subprojects/gst-plugins-bad/sys/va/gstvabasedec.c
subprojects/gst-plugins-bad/sys/va/gstvabasetransform.c
subprojects/gst-plugins-bad/sys/va/gstvaencoder.c
subprojects/gst-plugins-bad/sys/va/gstvah264enc.c