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 |
Definition at line 53 of file imgconvert.c.
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().
X chroma subsampling factor is 2 ^ shift.
Definition at line 59 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_fill(), avpicture_layout(), and img_convert().
Y chroma subsampling factor is 2 ^ shift.
Definition at line 60 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_fill(), avpicture_layout(), and img_convert().
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().