diff options
author | Clément Bœsch <u@pkh.me> | 2017-03-22 16:21:20 +0100 |
---|---|---|
committer | Clément Bœsch <u@pkh.me> | 2017-03-22 16:22:20 +0100 |
commit | af607b7e0787a8d3af418ed2a03c48669ba3397c (patch) | |
tree | 4f4b19cd569fdae6efa09b9088d321cf4c5995f7 /libavcodec/huffyuvdsp.h | |
parent | c7904af057239104774244954d1f5a5a7b2a2d04 (diff) | |
download | ffmpeg-af607b7e0787a8d3af418ed2a03c48669ba3397c.tar.gz |
lavc/huffyuvdsp: only transmit the pix_fmt instead of the whole avctx
Only the pixel format is required in that init function. This will also
simplify the incoming merge.
Diffstat (limited to 'libavcodec/huffyuvdsp.h')
-rw-r--r-- | libavcodec/huffyuvdsp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/huffyuvdsp.h b/libavcodec/huffyuvdsp.h index f9af09e602..e5f5b05466 100644 --- a/libavcodec/huffyuvdsp.h +++ b/libavcodec/huffyuvdsp.h @@ -20,8 +20,8 @@ #define AVCODEC_HUFFYUVDSP_H #include <stdint.h> +#include "libavutil/pixfmt.h" #include "config.h" -#include "avcodec.h" #if HAVE_BIGENDIAN #define B 3 @@ -46,7 +46,7 @@ typedef struct HuffYUVDSPContext { intptr_t w, uint8_t *left); } HuffYUVDSPContext; -void ff_huffyuvdsp_init(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 */ |