libs: filter: support vpp input/output color standard
Add API function to allow setting the input and output vpp color standard from GstVideoColorimetry.
Loading
-
mentioned in issue #228 (closed)
-
This commit breaks gst-build on ubuntu 18.04.
Errors:
FAILED: subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/2041867@@gstlibvaapi-1.0@sta/gstvaapifilter.c.o ccache cc -Isubprojects/gstreamer-vaapi/gst-libs/gst/vaapi/2041867@@gstlibvaapi-1.0@sta -Isubprojects/gstreamer-vaapi/gst-libs/gst/vaapi -I../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi -Isubprojects/gstreamer-vaapi -I../subprojects/gstreamer-vaapi -Isubprojects/gstreamer-vaapi/gst-libs -I../subprojects/gstreamer-vaapi/gst-libs -Isubprojects/gstreamer/libs -I../subprojects/gstreamer/libs -Isubprojects/gstreamer -I../subprojects/gstreamer -Isubprojects/gst-plugins-base/gst-libs -I../subprojects/gst-plugins-base/gst-libs -Isubprojects/orc -I../subprojects/orc -I../subprojects/gl-headers/abyss -Isubprojects/gst-plugins-bad/gst-libs -I../subprojects/gst-plugins-bad/gst-libs -Isubprojects/gstreamer/gst -Isubprojects/gst-plugins-base/gst-libs/gst/video -Isubprojects/gst-plugins-base/gst-libs/gst/gl -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libdrm -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -g -fvisibility=hidden -fno-strict-aliasing -fPIC -pthread -DHAVE_CONFIG_H -DGST_USE_UNSTABLE_API '-DGST_VAAPI_VERSION_ID="1.17.0.1"' -MD -MQ 'subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/2041867@@gstlibvaapi-1.0@sta/gstvaapifilter.c.o' -MF 'subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/2041867@@gstlibvaapi-1.0@sta/gstvaapifilter.c.o.d' -o 'subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/2041867@@gstlibvaapi-1.0@sta/gstvaapifilter.c.o' -c ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c: In function ‘fill_color_standard’: ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c:1534:16: error: ‘VAProcColorStandardExplicit’ undeclared (first use in this function); did you mean ‘VAProcColorStandardType’? 1534 | if (*type == VAProcColorStandardExplicit) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | VAProcColorStandardType ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c:1534:16: note: each undeclared identifier is reported only once for each function it appears in ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c:1535:15: error: ‘VAProcColorProperties’ {aka ‘struct _VAProcColorProperties’} has no member named ‘colour_primaries’ 1535 | properties->colour_primaries = | ^~ ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c:1537:15: error: ‘VAProcColorProperties’ {aka ‘struct _VAProcColorProperties’} has no member named ‘transfer_characteristics’ 1537 | properties->transfer_characteristics = | ^~ ../subprojects/gstreamer-vaapi/gst-libs/gst/vaapi/gstvaapifilter.c:1539:15: error: ‘VAProcColorProperties’ {aka ‘struct _VAProcColorProperties’} has no member named ‘matrix_coefficients’ 1539 | properties->matrix_coefficients = | ^~
-
mentioned in issue #231 (closed)
Please register or sign in to comment