Data Fields | |
| const char * | name |
| uint8_t | nb_channels |
| uint8_t | color_type |
| uint8_t | pixel_type |
| uint8_t | is_alpha: 1 |
| uint8_t | x_chroma_shift |
| uint8_t | y_chroma_shift |
| uint8_t | depth |
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().
| uint8_t PixFmtInfo::nb_channels |
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(), avpicture_layout(), and ff_get_plane_bytewidth().
| uint8_t PixFmtInfo::color_type |
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().
| uint8_t PixFmtInfo::pixel_type |
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(), ff_get_plane_bytewidth(), and is_yuv_planar().
| uint8_t PixFmtInfo::is_alpha |
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(), and img_get_alpha_info().
| uint8_t PixFmtInfo::x_chroma_shift |
X chroma subsampling factor is 2 ^ shift
Definition at line 59 of file imgconvert.c.
Referenced by av_picture_copy(), av_picture_crop(), 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 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_layout(), ff_fill_pointer(), and img_convert().
| uint8_t PixFmtInfo::depth |
bit depth of the color components
Definition at line 61 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().
1.5.1