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 |
Definition at line 54 of file imgconvert.c.
uint8_t PixFmtInfo::color_type |
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().
uint8_t PixFmtInfo::depth |
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().
uint8_t PixFmtInfo::is_alpha |
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().
uint8_t PixFmtInfo::is_hwaccel |
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().
uint8_t PixFmtInfo::nb_channels |
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().
uint8_t PixFmtInfo::pixel_type |
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().
uint8_t PixFmtInfo::x_chroma_shift |
X chroma subsampling factor is 2 ^ shift.
Definition at line 61 of file imgconvert.c.
Referenced by av_picture_crop(), av_picture_pad(), avcodec_get_chroma_sub_sample(), avcodec_get_pix_fmt_loss(), avg_bits_per_pixel(), avpicture_layout(), ff_fill_linesize(), ff_get_plane_bytewidth(), and img_convert().
uint8_t PixFmtInfo::y_chroma_shift |
Y chroma subsampling factor is 2 ^ shift.
Definition at line 62 of file imgconvert.c.
Referenced by av_picture_copy(), av_picture_crop(), av_picture_pad(), avcodec_get_chroma_sub_sample(), avcodec_get_pix_fmt_loss(), avg_bits_per_pixel(), avpicture_layout(), ff_fill_pointer(), and img_convert().