mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-26 18:30:52 +08:00
clear_block mmx
Originally committed as revision 16045 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -1402,14 +1402,14 @@ static void render_slice(Vp3DecodeContext *s, int slice)
|
||||
/* dequantize the DCT coefficients */
|
||||
if(s->avctx->idct_algo==FF_IDCT_VP3){
|
||||
Coeff *coeff= s->coeffs + i;
|
||||
memset(block, 0, sizeof(block));
|
||||
s->dsp.clear_block(block);
|
||||
while(coeff->next){
|
||||
block[coeff->index]= coeff->coeff * dequantizer[coeff->index];
|
||||
coeff= coeff->next;
|
||||
}
|
||||
}else{
|
||||
Coeff *coeff= s->coeffs + i;
|
||||
memset(block, 0, sizeof(block));
|
||||
s->dsp.clear_block(block);
|
||||
while(coeff->next){
|
||||
block[coeff->index]= (coeff->coeff * dequantizer[coeff->index] + 2)>>2;
|
||||
coeff= coeff->next;
|
||||
|
||||
Reference in New Issue
Block a user