X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpng.h;h=6e16f62e0fedfa2f6c89e5d83fcda7f21e3810ac;hb=fc4d335f6d5c4f211505b79371a8588a48376d21;hp=e6fced7f370bfb3267d1f0a7b4deb1575e0e8052;hpb=5b21bdabe43611385d1d55a21d5b1f607b133d29;p=ffmpeg diff --git a/libavcodec/png.h b/libavcodec/png.h index e6fced7f370..6e16f62e0fe 100644 --- a/libavcodec/png.h +++ b/libavcodec/png.h @@ -34,11 +34,13 @@ #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 #define PNG_FILTER_VALUE_AVG 3 #define PNG_FILTER_VALUE_PAETH 4 +#define PNG_FILTER_VALUE_MIXED 5 #define PNG_IHDR 0x0001 #define PNG_IDAT 0x0002 @@ -48,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];