diff options
author | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-02-05 14:11:16 +0000 |
---|---|---|
committer | Miguel Freitas <miguelfreitas@users.sourceforge.net> | 2006-02-05 14:11:16 +0000 |
commit | 40c9e400fdaf1e9bb49eb0d0f0e437025b0ab6e8 (patch) | |
tree | 0a0d683a843d5d50b12233116b777e8e2780cad9 /src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c | |
parent | 9a299a12ea17a363354f451d2efd15bfbf3c7dc6 (diff) | |
download | xine-lib-40c9e400fdaf1e9bb49eb0d0f0e437025b0ab6e8.tar.gz xine-lib-40c9e400fdaf1e9bb49eb0d0f0e437025b0ab6e8.tar.bz2 |
ffmpeg sync
CVS patchset: 7872
CVS date: 2006/02/05 14:11:16
Diffstat (limited to 'src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c')
-rw-r--r-- | src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c b/src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c index ed17891bf..cf822f7d4 100644 --- a/src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c +++ b/src/libffmpeg/libavcodec/i386/vp3dsp_sse2.c @@ -13,7 +13,7 @@ * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ /** @@ -24,7 +24,7 @@ #include "../dsputil.h" #include "mmx.h" -static const unsigned short __align16 SSE2_dequant_const[] = +static DECLARE_ALIGNED_16(const unsigned short, SSE2_dequant_const[]) = { 0,65535,65535,0,0,0,0,0, // 0x0000 0000 0000 0000 0000 FFFF FFFF 0000 0,0,0,0,65535,65535,0,0, // 0x0000 0000 FFFF FFFF 0000 0000 0000 0000 @@ -35,22 +35,22 @@ static const unsigned short __align16 SSE2_dequant_const[] = 0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000 }; -static const unsigned int __align16 eight_data[] = -{ - 0x00080008, +static DECLARE_ALIGNED_16(const unsigned int, eight_data[]) = +{ + 0x00080008, + 0x00080008, 0x00080008, - 0x00080008, - 0x00080008 -}; + 0x00080008 +}; -static const unsigned short __align16 SSE2_idct_data[7 * 8] = +static DECLARE_ALIGNED_16(const unsigned short, SSE2_idct_data[7 * 8]) = { - 64277,64277,64277,64277,64277,64277,64277,64277, - 60547,60547,60547,60547,60547,60547,60547,60547, - 54491,54491,54491,54491,54491,54491,54491,54491, - 46341,46341,46341,46341,46341,46341,46341,46341, - 36410,36410,36410,36410,36410,36410,36410,36410, - 25080,25080,25080,25080,25080,25080,25080,25080, + 64277,64277,64277,64277,64277,64277,64277,64277, + 60547,60547,60547,60547,60547,60547,60547,60547, + 54491,54491,54491,54491,54491,54491,54491,54491, + 46341,46341,46341,46341,46341,46341,46341,46341, + 36410,36410,36410,36410,36410,36410,36410,36410, + 25080,25080,25080,25080,25080,25080,25080,25080, 12785,12785,12785,12785,12785,12785,12785,12785 }; @@ -820,6 +820,6 @@ void ff_vp3_idct_sse2(int16_t *input_data) SSE2_Row_IDCT(); SSE2_Transpose(); - + SSE2_Column_IDCT(); } |