Mercurial > libavcodec.hg
comparison cavsdec.c @ 8793:d46cde168c69 libavcodec
avoid duplicating dsputil's clear_block
author | stefang |
---|---|
date | Tue, 10 Feb 2009 16:45:02 +0000 |
parents | b149d445bf4c |
children | 1f98fc269920 |
comparison
equal
deleted
inserted
replaced
8792:b149d445bf4c | 8793:d46cde168c69 |
---|---|
142 } | 142 } |
143 if(dequant(h,level_buf, run_buf, block, ff_cavs_dequant_mul[qp], | 143 if(dequant(h,level_buf, run_buf, block, ff_cavs_dequant_mul[qp], |
144 ff_cavs_dequant_shift[qp], i)) | 144 ff_cavs_dequant_shift[qp], i)) |
145 return -1; | 145 return -1; |
146 h->s.dsp.cavs_idct8_add(dst,block,stride); | 146 h->s.dsp.cavs_idct8_add(dst,block,stride); |
147 h->s.dsp.clear_block(block); | |
147 return 0; | 148 return 0; |
148 } | 149 } |
149 | 150 |
150 | 151 |
151 static inline void decode_residual_chroma(AVSContext *h) { | 152 static inline void decode_residual_chroma(AVSContext *h) { |