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 is_hwaccel: 1
 true if this is an HW accelerated format
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 54 of file imgconvert.c.


Field Documentation

color type (see FF_COLOR_xxx constants)

Definition at line 57 of file imgconvert.c.

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

bit depth of the color components

Definition at line 63 of file imgconvert.c.

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

true if alpha can be specified

Definition at line 59 of file imgconvert.c.

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

true if this is an HW accelerated format

Definition at line 60 of file imgconvert.c.

Referenced by ff_is_hwaccel_pix_fmt().

const char* PixFmtInfo::name

Definition at line 55 of file imgconvert.c.

Referenced by avcodec_get_pix_fmt_name(), and avcodec_pix_fmt_string().

number of channels (including alpha)

Definition at line 56 of file imgconvert.c.

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

pixel storage type (see FF_PIXEL_xxx constants)

Definition at line 58 of file imgconvert.c.

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


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

Generated on Fri Oct 26 02:35:48 2012 for FFmpeg by  doxygen 1.5.8