mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-28 03:00:35 +00:00
d3d11: Handle newly added GST_VIDEO_TRANSFER_BT601
Use the value for mapping between DXGI_COLOR_SPACE_TYPE and GstVideoColorimetry. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1410>
This commit is contained in:
parent
205ad89802
commit
185d2f56a3
1 changed files with 2 additions and 0 deletions
|
@ -275,9 +275,11 @@ static const GstDxgiColorSpace yuv_colorspace_map[] = {
|
|||
MAKE_COLOR_MAP (YCBCR_FULL_G22_NONE_P709_X601, _0_255, BT601, BT709, BT709),
|
||||
|
||||
/* YCBCR_STUDIO_G22_LEFT_P601 */
|
||||
MAKE_COLOR_MAP (YCBCR_STUDIO_G22_LEFT_P601, _16_235, BT601, BT601, SMPTE170M),
|
||||
MAKE_COLOR_MAP (YCBCR_STUDIO_G22_LEFT_P601, _16_235, BT601, BT709, SMPTE170M),
|
||||
|
||||
/* YCBCR_FULL_G22_LEFT_P601 */
|
||||
MAKE_COLOR_MAP (YCBCR_FULL_G22_LEFT_P601, _0_255, BT601, BT601, SMPTE170M),
|
||||
MAKE_COLOR_MAP (YCBCR_FULL_G22_LEFT_P601, _0_255, BT601, BT709, SMPTE170M),
|
||||
|
||||
/* YCBCR_STUDIO_G22_LEFT_P709 */
|
||||
|
|
Loading…
Reference in a new issue