Commit f5378475 authored by conrad's avatar conrad

Don't declare SSE vp3 idct data static, so it can be used in the mmx version

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15116 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 93ba77c1
...@@ -27,7 +27,7 @@ ...@@ -27,7 +27,7 @@
#include "dsputil_mmx.h" #include "dsputil_mmx.h"
#include "mmx.h" #include "mmx.h"
static DECLARE_ALIGNED_16(const unsigned short, SSE2_idct_data[7 * 8]) = DECLARE_ALIGNED_16(const unsigned short, ff_vp3_idct_data[7 * 8]) =
{ {
64277,64277,64277,64277,64277,64277,64277,64277, 64277,64277,64277,64277,64277,64277,64277,64277,
60547,60547,60547,60547,60547,60547,60547,60547, 60547,60547,60547,60547,60547,60547,60547,60547,
...@@ -457,7 +457,7 @@ void ff_vp3_idct_sse2(int16_t *input_data) ...@@ -457,7 +457,7 @@ void ff_vp3_idct_sse2(int16_t *input_data)
{ {
unsigned char *input_bytes = (unsigned char *)input_data; unsigned char *input_bytes = (unsigned char *)input_data;
unsigned char *output_data_bytes = (unsigned char *)input_data; unsigned char *output_data_bytes = (unsigned char *)input_data;
const unsigned char *idct_data_bytes = (const unsigned char *)SSE2_idct_data; const unsigned char *idct_data_bytes = (const unsigned char *)ff_vp3_idct_data;
const unsigned char *Eight = (const unsigned char *)&ff_pw_8; const unsigned char *Eight = (const unsigned char *)&ff_pw_8;
#define eax input_bytes #define eax input_bytes
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment