diff pixdesc.h @ 9234:49340eb6f96f libavcodec

Export to pixdesc.h the av_pix_fmt_descriptors array.
author stefano
date Sun, 22 Mar 2009 21:01:08 +0000
parents e10efe27c6b1
children ef6fd4b99c50
line wrap: on
line diff
--- a/pixdesc.h	Sun Mar 22 20:19:20 2009 +0000
+++ b/pixdesc.h	Sun Mar 22 21:01:08 2009 +0000
@@ -67,6 +67,10 @@
 #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)
 {