Encoder  4.4
VC-5 Sample Encoder
color.h File Reference

Go to the source code of this file.

Typedefs

typedef enum _color_space COLOR_SPACE
 Definition of flags for the characteristics of the color space.
 

Enumerations

enum  _color_space {
  COLOR_SPACE_UNKNOWN = 0, COLOR_SPACE_BT_601 = 1, COLOR_SPACE_BT_709 = 2, COLOR_SPACE_VS_RGB = 4,
  COLOR_SPACE_VS_709 = (COLOR_SPACE_BT_709 | COLOR_SPACE_VS_RGB), COLOR_SPACE_VS_601 = (COLOR_SPACE_BT_601 | COLOR_SPACE_VS_RGB), COLOR_SPACE_CG_709 = (COLOR_SPACE_BT_709), COLOR_SPACE_CG_601 = (COLOR_SPACE_BT_601)
}
 Definition of flags for the characteristics of the color space. More...
 

Detailed Description

Declaration of the data structures and constants used to designate color spaces.

Todo:
The color format should be a struct that includes the pixel format and the color space. The pixel format only specifies the packing of the color components into each pixel, including the chroma sampling scheme.

The color format may include more detailed information on the sampling such as the location of the chroma values relative to the luma values.

(c) 2013 Society of Motion Picture & Television Engineers LLC and Woodman Labs, Inc. All rights reserved–use subject to compliance with end user license agreement.

Enumeration Type Documentation

◆ _color_space

Definition of flags for the characteristics of the color space.

Enumerator
COLOR_SPACE_UNKNOWN 

The color space is unknown.

COLOR_SPACE_BT_601 

BT 601 color space for a YUV source.

COLOR_SPACE_BT_709 

BT 709 color space for a YUV source.

COLOR_SPACE_VS_RGB 

RGB that ranges normally from 16 to 235 just like luma.

COLOR_SPACE_VS_709 

Video safe 709.

COLOR_SPACE_VS_601 

Video safe 601.

COLOR_SPACE_CG_709 

Full range 709.

COLOR_SPACE_CG_601 

Full range 601.