diff i386/vp3dsp_sse2.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 6d104923f8f3
children ba8ecddf5598
line wrap: on
line diff
--- a/i386/vp3dsp_sse2.c	Tue May 17 11:36:07 2005 +0000
+++ b/i386/vp3dsp_sse2.c	Tue May 17 18:28:40 2005 +0000
@@ -796,24 +796,16 @@
 } /* end of SSE2_Dequantize Macro */
 
 
-void vp3_dsp_init_sse2(void)
-{
-    /* nop */
-}
-
-
-void vp3_idct_sse2(int16_t *input_data, int16_t *dequant_matrix,
-    int coeff_count, int16_t *output_data)
+void ff_vp3_idct_sse2(int16_t *input_data)
 {
     unsigned char *input_bytes = (unsigned char *)input_data;
-    unsigned char *dequant_matrix_bytes = (unsigned char *)dequant_matrix;
     unsigned char *dequant_const_bytes = (unsigned char *)SSE2_dequant_const;
-    unsigned char *output_data_bytes = (unsigned char *)output_data;
+    unsigned char *output_data_bytes = (unsigned char *)input_data;
     unsigned char *idct_data_bytes = (unsigned char *)SSE2_idct_data;
     unsigned char *Eight = (unsigned char *)eight_data;
 
 #define eax input_bytes
-#define ebx dequant_matrix_bytes
+//#define ebx dequant_matrix_bytes
 #define ecx dequant_const_bytes
 #define edx idct_data_bytes
 
@@ -821,7 +813,7 @@
 #define O(i) (ebx + 16 * i)
 #define C(i) (edx + 16 * (i-1))
 
-    SSE2_Dequantize();
+ //   SSE2_Dequantize();
 
 #undef ebx
 #define ebx output_data_bytes