comparison dsputil.c @ 2696:9699d325049d libavcodec

porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
author michael
date Tue, 17 May 2005 18:28:40 +0000
parents 02925a3903b6
children 360024d31dab
comparison
equal deleted inserted replaced
2695:5d4a6edbc99c 2696:9699d325049d
3883 break; 3883 break;
3884 case FF_TRANSPOSE_IDCT_PERM: 3884 case FF_TRANSPOSE_IDCT_PERM:
3885 for(i=0; i<64; i++) 3885 for(i=0; i<64; i++)
3886 c->idct_permutation[i]= ((i&7)<<3) | (i>>3); 3886 c->idct_permutation[i]= ((i&7)<<3) | (i>>3);
3887 break; 3887 break;
3888 case FF_PARTTRANS_IDCT_PERM:
3889 for(i=0; i<64; i++)
3890 c->idct_permutation[i]= (i&0x24) | ((i&3)<<3) | ((i>>3)&3);
3891 break;
3888 default: 3892 default:
3889 av_log(avctx, AV_LOG_ERROR, "Internal error, IDCT permutation not set\n"); 3893 av_log(avctx, AV_LOG_ERROR, "Internal error, IDCT permutation not set\n");
3890 } 3894 }
3891 } 3895 }
3892 3896