mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 14:01:27 +00:00
use dsp clear_block
Originally committed as revision 16048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
a1546009ac
commit
af5e7fc9b9
@ -219,14 +219,12 @@ static int dnxhd_decode_macroblock(DNXHDContext *ctx, int x, int y)
|
||||
int dct_offset;
|
||||
int qscale, i;
|
||||
|
||||
ctx->dsp.clear_blocks(ctx->blocks[0]);
|
||||
ctx->dsp.clear_blocks(ctx->blocks[2]); // FIXME change clear blocks to take block amount
|
||||
|
||||
qscale = get_bits(&ctx->gb, 11);
|
||||
skip_bits1(&ctx->gb);
|
||||
//av_log(ctx->avctx, AV_LOG_DEBUG, "qscale %d\n", qscale);
|
||||
|
||||
for (i = 0; i < 8; i++) {
|
||||
ctx->dsp.clear_block(ctx->blocks[i]);
|
||||
dnxhd_decode_dct_block(ctx, ctx->blocks[i], i, qscale);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user