PixFmtInfo Struct Reference

Data Fields

uint8_t nb_channels
 number of channels (including alpha)
uint8_t color_type
 color type (see FF_COLOR_xxx constants)
uint8_t pixel_type
 pixel storage type (see FF_PIXEL_xxx constants)
uint8_t is_alpha: 1
 true if alpha can be specified
uint8_t depth
 bit depth of the color components

Detailed Description

Definition at line 62 of file imgconvert.c.

Field Documentation

uint8_t PixFmtInfo::color_type

color type (see FF_COLOR_xxx constants)

Definition at line 64 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_loss(), and is_yuv_planar().

uint8_t PixFmtInfo::depth

bit depth of the color components

Definition at line 67 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_loss(), and avg_bits_per_pixel().

uint8_t PixFmtInfo::is_alpha

true if alpha can be specified

Definition at line 66 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_loss().

uint8_t PixFmtInfo::nb_channels

number of channels (including alpha)

Definition at line 63 of file imgconvert.c.

Referenced by avg_bits_per_pixel().

uint8_t PixFmtInfo::pixel_type

pixel storage type (see FF_PIXEL_xxx constants)

Definition at line 65 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_loss(), avg_bits_per_pixel(), and is_yuv_planar().


The documentation for this struct was generated from the following file: