diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2009-02-24 01:12:25 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2009-02-24 01:12:25 +0000 |
commit | d3bcbf57a9f4b6d9b48524522fb05b553f786312 (patch) | |
tree | ba6c9756fcc00e1ddef8c669cb7224eca033a0d8 /libavcodec/pixdesc.h | |
parent | 9b61d838f643f780b2597442a63e6c5b98ee8821 (diff) | |
download | ffmpeg-d3bcbf57a9f4b6d9b48524522fb05b553f786312.tar.gz |
AVPixFmtDescriptor doxy
Originally committed as revision 17549 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pixdesc.h')
-rw-r--r-- | libavcodec/pixdesc.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/pixdesc.h b/libavcodec/pixdesc.h index 883ad5cd8c..e9a8315e20 100644 --- a/libavcodec/pixdesc.h +++ b/libavcodec/pixdesc.h @@ -31,6 +31,14 @@ typedef struct AVComponentDescriptor{ uint16_t depth_minus1 :4; ///< number of bits in the component minus 1 }AVComponentDescriptor; +/** + * Descriptor that unambigously 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 seperate of the colorspace (RGB, YCbCr, YPbPr, jpeg style YUV and all the YUV variants) + * AVPixFmtDescripto just stores how values are stored not what these values represent. + */ typedef struct AVPixFmtDescriptor{ uint8_t nb_channels; ///< The number of components each pixel has, (1-4) |