X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2Fffmpeg%2Flibavcodec%2Fvble.c;h=1bf25ba599bce2b21eaadbbe7628110bdd704823;hb=4a1a0bdd01eef90b0826a0e761d3379d3715c10f;hp=ed08b832a9af88ec1fc41040f7e64fe1012043e9;hpb=b1be5ca53587d23e7aeb77b26861fdc0a181ffd8;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/ffmpeg/libavcodec/vble.c b/src/third_party/ffmpeg/libavcodec/vble.c index ed08b83..1bf25ba 100644 --- a/src/third_party/ffmpeg/libavcodec/vble.c +++ b/src/third_party/ffmpeg/libavcodec/vble.c @@ -27,14 +27,14 @@ #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. @@ -100,7 +100,8 @@ static void vble_restore_plane(VBLEContext *ctx, AVFrame *pic, 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++) @@ -181,7 +182,7 @@ static av_cold int vble_decode_init(AVCodecContext *avctx) /* 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;