From: Victor Manuel Jaquez Leal Date: Sat, 26 Nov 2022 19:48:45 +0000 (+0100) Subject: vafilter: Increase the number of 3DLUT caps to 16. X-Git-Tag: 1.22.0~245 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b25b1be70d6830a0b1be3f351ff66865edd973d3;p=platform%2Fupstream%2Fgstreamer.git vafilter: Increase the number of 3DLUT caps to 16. To fix the warning on Alderlake vafilter gstvafilter.c:534:gst_va_filter_ensure_filters: vaQueryVideoProcFiltersCaps: list argument exceeds maximum number Increase the number of caps to 16 as vadumpcaps does. Part-of: --- diff --git a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c index a6c1970..7ddd693 100644 --- a/subprojects/gst-plugins-bad/sys/va/gstvafilter.c +++ b/subprojects/gst-plugins-bad/sys/va/gstvafilter.c @@ -444,7 +444,7 @@ static const struct VaFilterCapMap { F(HVSNoiseReduction, 0), F(HighDynamicRangeToneMapping, 1), #if VA_CHECK_VERSION (1, 12, 0) - F(3DLUT, 1), + F(3DLUT, 16), #endif #undef F }; @@ -481,6 +481,9 @@ struct VaFilter VAProcFilterCapColorBalance cb[VAProcColorBalanceCount]; VAProcFilterCapTotalColorCorrection cc[VAProcTotalColorCorrectionCount]; VAProcFilterCapHighDynamicRange hdr; +#if VA_CHECK_VERSION (1, 12, 0) + VAProcFilterCap3DLUT lut[16]; +#endif } caps; };