FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
AVPixFmtDescriptor Struct Reference

Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes of an image. More...

#include <pixdesc.h>

Data Fields

const char * name
 
uint8_t nb_components
 The number of components each pixel has, (1-4)
 
uint8_t log2_chroma_w
 Amount to shift the luma width right to find the chroma width.
 
uint8_t log2_chroma_h
 Amount to shift the luma height right to find the chroma height.
 
uint8_t flags
 
AVComponentDescriptor comp [4]
 Parameters that describe how pixels are packed.
 

Detailed Description

Descriptor that unambiguously describes how the bits of a pixel are stored in the up to 4 data planes of an image.

It also stores the subsampling factors and number of components.

Note
This is separate of the colorspace (RGB, YCbCr, YPbPr, JPEG-style YUV and all the YUV variants) AVPixFmtDescriptor just stores how values are stored not what these values represent.

Definition at line 55 of file pixdesc.h.

Field Documentation

const char* AVPixFmtDescriptor::name
uint8_t AVPixFmtDescriptor::nb_components
uint8_t AVPixFmtDescriptor::log2_chroma_w
uint8_t AVPixFmtDescriptor::log2_chroma_h
uint8_t AVPixFmtDescriptor::flags
AVComponentDescriptor AVPixFmtDescriptor::comp[4]

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