mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 02:01:12 +00:00
vafilter: Increase the number of 3DLUT caps to 16.
To fix the warning on Alderlake vafilter gstvafilter.c:534:gst_va_filter_ensure_filters:<vafilter0> vaQueryVideoProcFiltersCaps: list argument exceeds maximum number Increase the number of caps to 16 as vadumpcaps does. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3473>
This commit is contained in:
parent
1f88f411bc
commit
b25b1be70d
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue