Video standards

The video capture API includes constants and macros to be used when specifying video standards.

Standards definitions

The video capture API uses the following constants for standards:

CAPTURE_PROPERTY_NORM
CAPTURE_PROPERTY( 'Q', 'N', 'O', 'R' )
Read/Write const char *
Set the video standard. See "Standards macros" below.
CAPTURE_NORM_AUTO
"AUTO"
Read/Write Use auto-detection to get the video standard.
CAPTURE_PROPERTY_CURRENT_NORM
CAPTURE_PROPERTY( 'Q', 'Q', 'N', 'M' )
Read const char *
Return the current detected video standard. See "Standards macros" below.
CAPTURE_NORM_NONE
"NONE"
There is no input.
CAPTURE_NORM_UNKNOWN
"UNKNOWN"
Detected standard is not known.

Standards macros

The following macros set standards values used by CAPTURE_PROPERTY_NORM and CAPTURE_PROPERTY_CURRENT_NORM:

CAPTURE_NORM_NTSC_M_J
"NTSC_M_J"
CAPTURE_NORM_NTSC_4_43
"NTSC_4_43"
CAPTURE_NORM_PAL_M
"PAL_M"
CAPTURE_NORM_PAL_B_G_H_I_D
"PAL_B_G_H_I_D"
CAPTURE_NORM_PAL_COMBINATION_N
"PAL_COMBINATION_N"
CAPTURE_NORM_PAL_60
"PAL_60"
CAPTURE_NORM_SECAM
"SECAM"