PixFmtInfo Struct Reference


Data Fields

const char * name
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 x_chroma_shift
 X chroma subsampling factor is 2 ^ shift.
uint8_t y_chroma_shift
 Y chroma subsampling factor is 2 ^ shift.
uint8_t depth
 bit depth of the color components

Detailed Description

Definition at line 53 of file imgconvert.c.


Field Documentation

const char* PixFmtInfo::name

Definition at line 54 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_name(), and avcodec_pix_fmt_string().

number of channels (including alpha)

Definition at line 55 of file imgconvert.c.

Referenced by av_picture_copy(), avcodec_pix_fmt_string(), avg_bits_per_pixel(), and avpicture_layout().

color type (see FF_COLOR_xxx constants)

Definition at line 56 of file imgconvert.c.

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

pixel storage type (see FF_PIXEL_xxx constants)

Definition at line 57 of file imgconvert.c.

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

true if alpha can be specified

Definition at line 58 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_loss(), avcodec_pix_fmt_string(), img_convert(), and img_get_alpha_info().

bit depth of the color components

Definition at line 61 of file imgconvert.c.

Referenced by av_picture_copy(), avcodec_get_pix_fmt_loss(), avcodec_pix_fmt_string(), avg_bits_per_pixel(), and avpicture_layout().


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

Generated on Wed Feb 9 19:10:15 2011 for ffmpeg by  doxygen 1.5.6