#define BITSTREAM_READER_LE
#include "avcodec.h"
-#include "dsputil.h"
#include "get_bits.h"
+#include "huffyuvdsp.h"
#include "internal.h"
#include "mathops.h"
typedef struct {
AVCodecContext *avctx;
- DSPContext dsp;
+ HuffYUVDSPContext hdsp;
int size;
uint8_t *val; ///< This array first holds the lengths of vlc symbols and then their value.
if (i) {
left = 0;
left_top = dst[-stride];
- ctx->dsp.add_hfyu_median_prediction(dst, dst-stride, val, width, &left, &left_top);
+ ctx->hdsp.add_hfyu_median_pred(dst, dst - stride, val,
+ width, &left, &left_top);
} else {
dst[0] = val[0];
for (j = 1; j < width; j++)
/* Stash for later use */
ctx->avctx = avctx;
- ff_dsputil_init(&ctx->dsp, avctx);
+ ff_huffyuvdsp_init(&ctx->hdsp);
avctx->pix_fmt = AV_PIX_FMT_YUV420P;
avctx->bits_per_raw_sample = 8;