X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fpng.h;h=a15560131f0f8f95d440a7418db9905fdc167d5e;hb=0bf3a7361d17d596a5044882098f56817db0e103;hp=e967fcf38fb11741c53647387c8f221b38804771;hpb=ebdc5c419aef0d9eed8c1ec57b30238194c1db0a;p=ffmpeg diff --git a/libavcodec/png.h b/libavcodec/png.h index e967fcf38fb..a15560131f0 100644 --- a/libavcodec/png.h +++ b/libavcodec/png.h @@ -24,6 +24,8 @@ #include +#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 */