diff png.h @ 6406:49dcfab1bda3 libavcodec

decode mng color decorrelation
author lorenm
date Tue, 26 Feb 2008 10:21:33 +0000
parents 2d7afa1bc573
children c4a4495715dd
line wrap: on
line diff
--- a/png.h	Tue Feb 26 09:35:21 2008 +0000
+++ b/png.h	Tue Feb 26 10:21:33 2008 +0000
@@ -34,6 +34,7 @@
 #define PNG_COLOR_TYPE_RGB_ALPHA  (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)
 #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA)
 
+#define PNG_FILTER_TYPE_LOCO   64
 #define PNG_FILTER_VALUE_NONE  0
 #define PNG_FILTER_VALUE_SUB   1
 #define PNG_FILTER_VALUE_UP    2
@@ -49,6 +50,7 @@
 #define NB_PASSES 7
 
 extern const uint8_t ff_pngsig[8];
+extern const uint8_t ff_mngsig[8];
 
 /* Mask to determine which y pixels are valid in a pass */
 extern const uint8_t ff_png_pass_ymask[NB_PASSES];