Enum NVCVChromaSubsampling

Enum Documentation

enum NVCVChromaSubsampling

Defines how chroma-subsampling is done. This is only applicable to image formats whose color model is YUV. Other image formats must use NVCV_CSS_NONE. Chroma subsampling is defined by 2 parameters:

  • Horizontal resolution relative to luma resolution.

  • Vertical resolution relative to luma resolution.

Values:

enumerator NVCV_CSS_NONE

Used when no chroma subsampling takes place, specially for color specs without chroma components.

enumerator NVCV_CSS_444

4:4:4 sub-sampling. Chroma has full horizontal and vertical resolution, meaning no chroma subsampling.

enumerator NVCV_CSS_422

4:2:2 BT.601 sub-sampling. Chroma has half horizontal and full vertical resolutions.

enumerator NVCV_CSS_422R

4:2:2R BT.601 sub-sampling. Chroma has full horizontal and half vertical resolutions.

enumerator NVCV_CSS_411

4:1:1 sub-sampling. Chroma has 1/4 horizontal and full vertical resolutions.

enumerator NVCV_CSS_411R

4:1:1 sub-sampling. Chroma has full horizontal and 1/4 vertical resolutions.

enumerator NVCV_CSS_420

4:2:0 sub-sampling. Chroma has half horizontal and vertical resolutions.

enumerator NVCV_CSS_440

4:4:0 sub-sampling. Chroma has full horizontal and half vertical resolutions

enumerator NVCV_CSS_410

4:1:0 sub-sampling. Chroma has 1/4 horizontal and half vertical resolutions.

enumerator NVCV_CSS_410R

4:1:0V sub-sampling. Chroma has half horizontal and 1/4 vertical resolutions.