comparison vc1.c @ 9859:7a116de63777 libavcodec

idct_dc for VC-1/WMV3 decoder; ~11% faster decoding overall. Includes mmx2 asm for the various functions. Note that the actual idct still does not have an x86 SIMD implemtation. For wmv3 files using regular idct, the decoder just falls back to simple_idct, since simple_idct_dc doesn't exist (yet).
author darkshikari
date Tue, 16 Jun 2009 09:00:55 +0000
parents 53d5914a30ef
children d580026275a1
comparison
equal deleted inserted replaced
9858:53d5914a30ef 9859:7a116de63777
335 { 335 {
336 v->s.dsp.vc1_inv_trans_8x8 = ff_simple_idct; 336 v->s.dsp.vc1_inv_trans_8x8 = ff_simple_idct;
337 v->s.dsp.vc1_inv_trans_8x4 = ff_simple_idct84_add; 337 v->s.dsp.vc1_inv_trans_8x4 = ff_simple_idct84_add;
338 v->s.dsp.vc1_inv_trans_4x8 = ff_simple_idct48_add; 338 v->s.dsp.vc1_inv_trans_4x8 = ff_simple_idct48_add;
339 v->s.dsp.vc1_inv_trans_4x4 = ff_simple_idct44_add; 339 v->s.dsp.vc1_inv_trans_4x4 = ff_simple_idct44_add;
340 v->s.dsp.vc1_inv_trans_8x8_dc = ff_simple_idct_add;
341 v->s.dsp.vc1_inv_trans_8x4_dc = ff_simple_idct84_add;
342 v->s.dsp.vc1_inv_trans_4x8_dc = ff_simple_idct48_add;
343 v->s.dsp.vc1_inv_trans_4x4_dc = ff_simple_idct44_add;
340 } 344 }
341 345
342 v->fastuvmc = get_bits1(gb); //common 346 v->fastuvmc = get_bits1(gb); //common
343 if (!v->profile && !v->fastuvmc) 347 if (!v->profile && !v->fastuvmc)
344 { 348 {