Mercurial > libavcodec.hg
changeset 8291:eb7667dbb9e0 libavcodec
use dsp clear_block
author | bcoudurier |
---|---|
date | Thu, 11 Dec 2008 01:14:32 +0000 |
parents | f664577ac17d |
children | d77ee820a5f1 |
files | dnxhddec.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/dnxhddec.c Thu Dec 11 00:33:02 2008 +0000 +++ b/dnxhddec.c Thu Dec 11 01:14:32 2008 +0000 @@ -219,14 +219,12 @@ 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); }