va: filter, vpp: add and use GstVaSample struct
authorVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 23 Jan 2021 11:53:25 +0000 (12:53 +0100)
committerVíctor Manuel Jáquez Leal <vjaquez@igalia.com>
Sat, 3 Apr 2021 13:47:18 +0000 (15:47 +0200)
commitc770469a8a58043f22c86163835c5c0647e626ac
tree2617b5501baf9d604089540f12aec337f62fcd8e
parentb2a4e066ab2686e96562d528b9a91c58d77b1eb0
va: filter, vpp: add and use GstVaSample struct

This new struct describes the input and output GstBuffers to
post-process, including VA flags. It also contains the VASurfaceID and
VARectangle, but those are private, completed inside GstVaFilter.

It is used for pass arguments to gst_va_filter_convert_surface() function.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2058>
sys/va/gstvafilter.c
sys/va/gstvafilter.h
sys/va/gstvavpp.c