[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec dsputil.c, 1.120, 1.121 dsputil.h, 1.113, 1.114

Michael Niedermayer CVS michael
Tue May 17 20:28:42 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv399

Modified Files:
	dsputil.c dsputil.h 
Log Message:
porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API


Index: dsputil.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/dsputil.c,v
retrieving revision 1.120
retrieving revision 1.121
diff -u -d -r1.120 -r1.121
--- dsputil.c	17 May 2005 11:12:04 -0000	1.120
+++ dsputil.c	17 May 2005 18:28:39 -0000	1.121
@@ -3885,6 +3885,10 @@
         for(i=0; i<64; i++)
             c->idct_permutation[i]= ((i&7)<<3) | (i>>3);
         break;
+    case FF_PARTTRANS_IDCT_PERM:
+        for(i=0; i<64; i++)
+            c->idct_permutation[i]= (i&0x24) | ((i&3)<<3) | ((i>>3)&3);
+        break;
     default:
         av_log(avctx, AV_LOG_ERROR, "Internal error, IDCT permutation not set\n");
     }

Index: dsputil.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/dsputil.h,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- dsputil.h	17 May 2005 11:12:04 -0000	1.113
+++ dsputil.h	17 May 2005 18:28:39 -0000	1.114
@@ -315,6 +315,7 @@
 #define FF_LIBMPEG2_IDCT_PERM 2
 #define FF_SIMPLE_IDCT_PERM 3
 #define FF_TRANSPOSE_IDCT_PERM 4
+#define FF_PARTTRANS_IDCT_PERM 5
 
     int (*try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale);
     void (*add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale);





More information about the ffmpeg-cvslog mailing list