My Project
List of pre-defined video color spaces

Macros

#define MMAL_COLOR_SPACE_UNKNOWN   0
 
#define MMAL_COLOR_SPACE_ITUR_BT601   MMAL_FOURCC('Y','6','0','1')
 
#define MMAL_COLOR_SPACE_ITUR_BT709   MMAL_FOURCC('Y','7','0','9')
 
#define MMAL_COLOR_SPACE_JPEG_JFIF   MMAL_FOURCC('Y','J','F','I')
 
#define MMAL_COLOR_SPACE_FCC   MMAL_FOURCC('Y','F','C','C')
 
#define MMAL_COLOR_SPACE_SMPTE240M   MMAL_FOURCC('Y','2','4','0')
 
#define MMAL_COLOR_SPACE_BT470_2_M   MMAL_FOURCC('Y','_','_','M')
 
#define MMAL_COLOR_SPACE_BT470_2_BG   MMAL_FOURCC('Y','_','B','G')
 
#define MMAL_COLOR_SPACE_JFIF_Y16_255   MMAL_FOURCC('Y','Y','1','6')
 

Detailed Description

This defines a list of common color spaces. This list isn't exhaustive and is only provided as a convenience to avoid clients having to use FourCC codes directly. However components are allowed to define and use their own FourCC codes.

Macro Definition Documentation

◆ MMAL_COLOR_SPACE_BT470_2_BG

#define MMAL_COLOR_SPACE_BT470_2_BG   MMAL_FOURCC('Y','_','B','G')

ITU-R BT.470-2 System BG

Definition at line 267 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_BT470_2_M

#define MMAL_COLOR_SPACE_BT470_2_M   MMAL_FOURCC('Y','_','_','M')

ITU-R BT.470-2 System M

Definition at line 265 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_FCC

#define MMAL_COLOR_SPACE_FCC   MMAL_FOURCC('Y','F','C','C')

Title 47 Code of Federal Regulations (2003) 73.682 (a) (20)

Definition at line 261 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_ITUR_BT601

#define MMAL_COLOR_SPACE_ITUR_BT601   MMAL_FOURCC('Y','6','0','1')

ITU-R BT.601-5 [SDTV]

Definition at line 255 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_ITUR_BT709

#define MMAL_COLOR_SPACE_ITUR_BT709   MMAL_FOURCC('Y','7','0','9')

ITU-R BT.709-3 [HDTV]

Definition at line 257 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_JFIF_Y16_255

#define MMAL_COLOR_SPACE_JFIF_Y16_255   MMAL_FOURCC('Y','Y','1','6')

JPEG JFIF, but with 16..255 luma

Definition at line 269 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_JPEG_JFIF

#define MMAL_COLOR_SPACE_JPEG_JFIF   MMAL_FOURCC('Y','J','F','I')

JPEG JFIF

Definition at line 259 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_SMPTE240M

#define MMAL_COLOR_SPACE_SMPTE240M   MMAL_FOURCC('Y','2','4','0')

Society of Motion Picture and Television Engineers 240M (1999)

Definition at line 263 of file mmal_encodings.h.

◆ MMAL_COLOR_SPACE_UNKNOWN

#define MMAL_COLOR_SPACE_UNKNOWN   0

Unknown color space

Definition at line 253 of file mmal_encodings.h.