Simd Library Documentation.

Home | Release Notes | Download | Documentation | Issues | GitHub
YuvType Class Reference

Describes YUV format type. More...

Inherits Enum.

Static Public Attributes

int Unknown = -1
 Unknown YUV standard.
 
int Bt601 = 0
 Corresponds to BT.601 standard. More...
 
int Bt709 = 1
 Corresponds to BT.709 standard. More...
 
int Bt2020 = 2
 Corresponds to BT.2020 standard. More...
 
int Trect871 = 3
 Corresponds to T-REC-T.871 standard. More...
 

Detailed Description

Describes YUV format type.

It is uses in YUV to BGR forward and backward conversions.

Field Documentation

◆ Bt601

int Bt601 = 0
static

Corresponds to BT.601 standard.

Uses Kr=0.299, Kb=0.114. Restricts Y to range [16..235], U and V to [16..240].

◆ Bt709

int Bt709 = 1
static

Corresponds to BT.709 standard.

Uses Kr=0.2126, Kb=0.0722. Restricts Y to range [16..235], U and V to [16..240].

◆ Bt2020

int Bt2020 = 2
static

Corresponds to BT.2020 standard.

Uses Kr=0.2627, Kb=0.0593. Restricts Y to range [16..235], U and V to [16..240].

◆ Trect871

int Trect871 = 3
static

Corresponds to T-REC-T.871 standard.

Uses Kr=0.299, Kb=0.114. Y, U and V use full range [0..255].