conversioncoefficient.h File Reference

Enum TYuvCoefficients

Specifies the possible YUV-RGB conversion coefficients to use.

The coefficients are determined by two factors: The YUV signal range used, and the actual conversion multipliers.

EnumeratorValueDescription
EYuvRange00x01000000

The nominal Y range is [16235] and the U and V ranges [16240]. This corresponds to H.264 | MPEG-4 AVC video_range_flag=0.

EYuvRange10x02000000

The nominal Y, U, and V ranges are [0255]. This corresponds to H.264 | MPEG-4 AVC video_range_flag=1.

EYuvBt7090x00000001

The YUV-RGB conversion cofficients are those specified in ITU-R Recommendation BT.709. This corresponds to H.264 | MPEG-4 AVC matrix_coefficients=1. BT.709 is the default YUV format used for MPEG-4 Part 2 and H.264 | MPEG-4 AVC.

EYuvBt709Range0EYuvRange0 | EYuvBt709

YUV data with range 0 (Y [16235]) and conversion coefficients according to BT.709. This is the most typical configuration.

EYuvBt709Range1EYuvRange1 | EYuvBt709

YUV data with range 1 (Y [0255]) and conversion coefficients according to BT.709.

EYuvBt6010x00000002

The YUV-RGB conversion cofficients are those specified in ITU-R Recommendation BT.601.5.

EYuvBt601Range0EYuvRange0 | EYuvBt601

YUV data with range 0 (Y [16235]) and conversion coefficients according to BT.601.5. This is the data format used in H.263.

EYuvBt601Range1EYuvRange1 | EYuvBt601

YUV data with range 1 (Y [0255]) and conversion coefficients according to BT.601.5.

ECustomYuvMatrix0x00800000

A custom conversion matrix is used.

See also: TYuvConversionMatrix.