mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
vaapipostproc: Added gstreamer BT2020 color standard support.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/407>
This commit is contained in:
parent
5e3fde8569
commit
4ccb37fe37
1 changed files with 3 additions and 1 deletions
|
@ -989,7 +989,9 @@ from_GstVideoColorimetry (const GstVideoColorimetry * const colorimetry)
|
|||
/* NOTE: VAProcColorStandardBT2020 in VAAPI is the same as
|
||||
* GST_VIDEO_COLORIMETRY_BT2020_10 in gstreamer. */
|
||||
if (gst_video_colorimetry_matches (colorimetry,
|
||||
GST_VIDEO_COLORIMETRY_BT2020_10))
|
||||
GST_VIDEO_COLORIMETRY_BT2020_10) ||
|
||||
gst_video_colorimetry_matches (colorimetry,
|
||||
GST_VIDEO_COLORIMETRY_BT2020))
|
||||
return VAProcColorStandardBT2020;
|
||||
if (gst_video_colorimetry_matches (colorimetry, GST_VIDEO_COLORIMETRY_BT601))
|
||||
return VAProcColorStandardBT601;
|
||||
|
|
Loading…
Reference in a new issue