]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/png.h
lavc: split LSCR decoder out of PNG decoder
[ffmpeg] / libavcodec / png.h
index e967fcf38fb11741c53647387c8f221b38804771..a15560131f0f8f95d440a7418db9905fdc167d5e 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <stdint.h>
 
+#include "pngdsp.h"
+
 #define PNG_COLOR_MASK_PALETTE    1
 #define PNG_COLOR_MASK_COLOR      2
 #define PNG_COLOR_MASK_ALPHA      4
@@ -61,4 +63,7 @@ int ff_png_pass_row_size(int pass, int bits_per_pixel, int width);
 
 void ff_add_png_paeth_prediction(uint8_t *dst, uint8_t *src, uint8_t *top, int w, int bpp);
 
+void ff_png_filter_row(PNGDSPContext *dsp, uint8_t *dst, int filter_type,
+                       uint8_t *src, uint8_t *last, int size, int bpp);
+
 #endif /* AVCODEC_PNG_H */