Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2017-03-22 18:21:20 +0300
committerClément Bœsch <u@pkh.me>2017-03-22 18:22:20 +0300
commitaf607b7e0787a8d3af418ed2a03c48669ba3397c (patch)
tree4f4b19cd569fdae6efa09b9088d321cf4c5995f7 /libavcodec/huffyuvdsp.h
parentc7904af057239104774244954d1f5a5a7b2a2d04 (diff)
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.h6
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 */