Skip to content

WIP: video-color: Define color matrix for BT2020 constant luminance system and ICtCp color space

Seungha Yang requested to merge seungha.yang/gst-plugins-base:bt2020-cl into master

Specifications differentiate const and non-const variant of BT2020 matrix coefficients.

GstVideoColorMatrix ISO/IEC 23001-8 (used by HEVC/AVC) MS MediaFoundation V4L2 FFMPEG
GST_VIDEO_COLOR_MATRIX_BT2020 9 MFVideoTransFunc_2020 V4L2_YCBCR_ENC_BT2020 AVCOL_SPC_BT2020_NCL
GST_VIDEO_COLOR_MATRIX_BT2020_CONST (newly added) 10 MFVideoTransFunc_2020_const V4L2_YCBCR_ENC_BT2020_CONST_LUM AVCOL_SPC_BT2020_CL

Note that the way of MS MediaFoundation looks a bit awkward because const vs. non-const is distinguished via transfer function category, not color-matrix.

Edited by Seungha Yang

Merge request reports