aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/png.h
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2008-02-26 10:21:33 +0000
committerLoren Merritt <lorenm@u.washington.edu>2008-02-26 10:21:33 +0000
commit042e0adda9fd3ae1322ef51f9edbceffe3ae0941 (patch)
tree5694d8a82c7688c74317a26aa6d2563cda70dc02 /libavcodec/png.h
parentd248905ba582b399bf1244fafcdfedc36569fe51 (diff)
downloadffmpeg-042e0adda9fd3ae1322ef51f9edbceffe3ae0941.tar.gz
decode mng color decorrelation
Originally committed as revision 12228 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/png.h')
-rw-r--r--libavcodec/png.h2
1 files changed, 2 insertions, 0 deletions
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];