diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-06-19 04:41:48 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-06-19 04:54:38 +0200 |
commit | 2b05db4f8102148d013755ac2a7e47f6d79ff7ca (patch) | |
tree | 8135823ee5f9db622126672b644e06c243ae3c01 /libavcodec/proresdec2.c | |
parent | ab12373956e92b865bced9b05b12971f062cfd3e (diff) | |
parent | e74433a8e6fc00c8dbde293c97a3e45384c2c1d9 (diff) | |
download | ffmpeg-2b05db4f8102148d013755ac2a7e47f6d79ff7ca.tar.gz |
Merge commit 'e74433a8e6fc00c8dbde293c97a3e45384c2c1d9'
* commit 'e74433a8e6fc00c8dbde293c97a3e45384c2c1d9':
dsputil: Split clear_block*/fill_block* off into a separate context
Conflicts:
configure
libavcodec/asvdec.c
libavcodec/dnxhddec.c
libavcodec/dnxhdenc.c
libavcodec/dsputil.h
libavcodec/eamad.c
libavcodec/intrax8.c
libavcodec/mjpegdec.c
libavcodec/ppc/dsputil_ppc.c
libavcodec/vc1dec.c
libavcodec/x86/dsputil_init.c
libavcodec/x86/dsputil_mmx.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/proresdec2.c')
-rw-r--r-- | libavcodec/proresdec2.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libavcodec/proresdec2.c b/libavcodec/proresdec2.c index add99087ff..fb0c484cee 100644 --- a/libavcodec/proresdec2.c +++ b/libavcodec/proresdec2.c @@ -50,6 +50,7 @@ static av_cold int decode_init(AVCodecContext *avctx) avctx->bits_per_raw_sample = 10; ff_dsputil_init(&ctx->dsp, avctx); + ff_blockdsp_init(&ctx->bdsp, avctx); ff_proresdsp_init(&ctx->prodsp, avctx); ff_init_scantable_permutation(idct_permutation, @@ -366,7 +367,7 @@ static int decode_slice_luma(AVCodecContext *avctx, SliceContext *slice, int ret; for (i = 0; i < blocks_per_slice; i++) - ctx->dsp.clear_block(blocks+(i<<6)); + ctx->bdsp.clear_block(blocks+(i<<6)); init_get_bits(&gb, buf, buf_size << 3); @@ -399,7 +400,7 @@ static int decode_slice_chroma(AVCodecContext *avctx, SliceContext *slice, int ret; for (i = 0; i < blocks_per_slice; i++) - ctx->dsp.clear_block(blocks+(i<<6)); + ctx->bdsp.clear_block(blocks+(i<<6)); init_get_bits(&gb, buf, buf_size << 3); @@ -478,7 +479,7 @@ static void decode_slice_alpha(ProresContext *ctx, int16_t *block; for (i = 0; i < blocks_per_slice<<2; i++) - ctx->dsp.clear_block(blocks+(i<<6)); + ctx->bdsp.clear_block(blocks+(i<<6)); init_get_bits(&gb, buf, buf_size << 3); |