diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-22 21:01:08 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-03-22 21:01:08 +0000 |
commit | d2863e72ab34338b4d3eb0b0f80d183d4b0ba4e4 (patch) | |
tree | 64380bcab1ad21c74a85c27979aaa222a15a524b /libavcodec/pixdesc.h | |
parent | 02b26d2d5c5bfda2597f72c02358a787932abcd9 (diff) | |
download | ffmpeg-d2863e72ab34338b4d3eb0b0f80d183d4b0ba4e4.tar.gz |
Export to pixdesc.h the av_pix_fmt_descriptors array.
Originally committed as revision 18152 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/pixdesc.h')
-rw-r--r-- | libavcodec/pixdesc.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/pixdesc.h b/libavcodec/pixdesc.h index edb962fbfe..f21d6f0750 100644 --- a/libavcodec/pixdesc.h +++ b/libavcodec/pixdesc.h @@ -67,6 +67,10 @@ typedef struct AVPixFmtDescriptor{ #define PIX_FMT_PAL 2 ///< Pixel format has a palette in data[1], values are indexes in this palette. #define PIX_FMT_BITSTREAM 4 ///< All values of a component are bit-wise packed end to end. +/** + * The array of all the pixel format descriptors. + */ +extern const AVPixFmtDescriptor av_pix_fmt_descriptors[]; static inline void read_line(uint16_t *dst, const uint8_t *data[4], const int linesize[4], AVPixFmtDescriptor *desc, int x, int y, int c, int w) { |