OSDN Git Service

Clarify comments about PIX_FMT_MONOWHITE/MONOBLACK
authorMichel Bardiaux <mbardiaux@mediaxim.be>
Wed, 20 Jun 2007 08:18:04 +0000 (08:18 +0000)
committerMichel Bardiaux <mbardiaux@mediaxim.be>
Wed, 20 Jun 2007 08:18:04 +0000 (08:18 +0000)
Thread: PIX_FMT_MONOWHITE

Originally committed as revision 9373 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavutil/avutil.h

index e010ed3..041f596 100644 (file)
@@ -76,8 +76,8 @@ enum PixelFormat {
     PIX_FMT_RGB565,    ///< Packed RGB 5:6:5, 16bpp, (msb)   5R 6G 5B(lsb), in cpu endianness
     PIX_FMT_RGB555,    ///< Packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), in cpu endianness most significant bit to 0
     PIX_FMT_GRAY8,     ///<        Y        ,  8bpp
-    PIX_FMT_MONOWHITE, ///<        Y        ,  1bpp, 1 is white
-    PIX_FMT_MONOBLACK, ///<        Y        ,  1bpp, 0 is black
+    PIX_FMT_MONOWHITE, ///<        Y        ,  1bpp, 0 is white, 1 is black
+    PIX_FMT_MONOBLACK, ///<        Y        ,  1bpp, 0 is black, 1 is white
     PIX_FMT_PAL8,      ///< 8 bit with PIX_FMT_RGB32 palette
     PIX_FMT_YUVJ420P,  ///< Planar YUV 4:2:0, 12bpp, full scale (jpeg)
     PIX_FMT_YUVJ422P,  ///< Planar YUV 4:2:2, 16bpp, full scale (jpeg)