[FFmpeg-cvslog] r16048 - trunk/libavcodec/dnxhddec.c
bcoudurier
subversion
Thu Dec 11 02:14:32 CET 2008
Author: bcoudurier
Date: Thu Dec 11 02:14:32 2008
New Revision: 16048
Log:
use dsp clear_block
Modified:
trunk/libavcodec/dnxhddec.c
Modified: trunk/libavcodec/dnxhddec.c
==============================================================================
--- trunk/libavcodec/dnxhddec.c (original)
+++ trunk/libavcodec/dnxhddec.c Thu Dec 11 02:14:32 2008
@@ -219,14 +219,12 @@ static int dnxhd_decode_macroblock(DNXHD
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);
}
More information about the ffmpeg-cvslog
mailing list