diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 18:28:40 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-17 18:28:40 +0000 |
commit | 5773a746695f445805291d3aa74fa82e948825f2 (patch) | |
tree | bf6e047b35fb787f204dcaafe848ad190d5bf68f /libavcodec/i386/vp3dsp_sse2.c | |
parent | 1482fee88d0df2ff1f991725c87221f13b0b1c04 (diff) | |
download | ffmpeg-5773a746695f445805291d3aa74fa82e948825f2.tar.gz |
porting the mmx&sse2 (sse2 untested) vp3 idcts to the lavc idct API
Originally committed as revision 4260 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/vp3dsp_sse2.c')
-rw-r--r-- | libavcodec/i386/vp3dsp_sse2.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/libavcodec/i386/vp3dsp_sse2.c b/libavcodec/i386/vp3dsp_sse2.c index 60c6bf80ed..9c69ddb214 100644 --- a/libavcodec/i386/vp3dsp_sse2.c +++ b/libavcodec/i386/vp3dsp_sse2.c @@ -796,24 +796,16 @@ static unsigned short __align16 SSE2_idct_data[7 * 8] = } /* 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 @@ void vp3_idct_sse2(int16_t *input_data, int16_t *dequant_matrix, #define O(i) (ebx + 16 * i) #define C(i) (edx + 16 * (i-1)) - SSE2_Dequantize(); + // SSE2_Dequantize(); #undef ebx #define ebx output_data_bytes |