From 042e0adda9fd3ae1322ef51f9edbceffe3ae0941 Mon Sep 17 00:00:00 2001 From: Loren Merritt Date: Tue, 26 Feb 2008 10:21:33 +0000 Subject: decode mng color decorrelation Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/png.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libavcodec/png.h') diff --git a/libavcodec/png.h b/libavcodec/png.h index 3043471194..6e16f62e0f 100644 --- a/libavcodec/png.h +++ b/libavcodec/png.h @@ -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]; -- cgit v1.2.3