X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Fhuffyuvdsp.h;h=e5f5b05466761bfe59506ef086a9cd9efd45c77f;hb=0ba22831e1fcc88c755190b08a9cfc235df3a9a9;hp=7680f2ec9c98a508a2bc1b6093b5ea626d9ca79d;hpb=5dfe343d96dcd2159cb9242304f1336cb0176d11;p=ffmpeg diff --git a/libavcodec/huffyuvdsp.h b/libavcodec/huffyuvdsp.h index 7680f2ec9c9..e5f5b054667 100644 --- a/libavcodec/huffyuvdsp.h +++ b/libavcodec/huffyuvdsp.h @@ -20,8 +20,8 @@ #define AVCODEC_HUFFYUVDSP_H #include +#include "libavutil/pixfmt.h" #include "config.h" -#include "avcodec.h" #if HAVE_BIGENDIAN #define B 3 @@ -46,8 +46,7 @@ typedef struct HuffYUVDSPContext { intptr_t w, uint8_t *left); } HuffYUVDSPContext; -void ff_huffyuvdsp_init(HuffYUVDSPContext *c, AVCodecContext *avctx); -void ff_huffyuvdsp_init_ppc(HuffYUVDSPContext *c, AVCodecContext *avctx); -void ff_huffyuvdsp_init_x86(HuffYUVDSPContext *c, AVCodecContext *avctx); +void ff_huffyuvdsp_init(HuffYUVDSPContext *c, enum AVPixelFormat pix_fmt); +void ff_huffyuvdsp_init_x86(HuffYUVDSPContext *c, enum AVPixelFormat pix_fmt); #endif /* AVCODEC_HUFFYUVDSP_H */