[SCM] libav/experimental: Don't declare SSE vp3 idct data static, so it can be used in the mmx version

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:29:06 UTC 2013


The following commit has been merged in the experimental branch:
commit 587ae47aa77307d4ee81708ee74101b4be36a330
Author: David Conrad <lessen42 at gmail.com>
Date:   Sun Aug 31 07:05:08 2008 +0000

    Don't declare SSE vp3 idct data static, so it can be used in the mmx version
    
    Originally committed as revision 15116 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/i386/vp3dsp_sse2.c b/libavcodec/i386/vp3dsp_sse2.c
index ba8a32f..b08a8d7 100644
--- a/libavcodec/i386/vp3dsp_sse2.c
+++ b/libavcodec/i386/vp3dsp_sse2.c
@@ -27,7 +27,7 @@
 #include "dsputil_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,
     60547,60547,60547,60547,60547,60547,60547,60547,
@@ -457,7 +457,7 @@ void ff_vp3_idct_sse2(int16_t *input_data)
 {
     unsigned char *input_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;
 
 #define eax input_bytes

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list