aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sparc
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-06 14:24:59 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-06 14:24:59 +0000
commit84dc2d8afa1fce31c6fe97149ef70ba966500f65 (patch)
tree650f8234ea81d9b0ec75ebf125e4d71c066a1337 /libavcodec/sparc
parentda033b05ab2f3c9dd0274243df88bd8363de6c24 (diff)
downloadffmpeg-84dc2d8afa1fce31c6fe97149ef70ba966500f65.tar.gz
Remove DECLARE_ALIGNED_{8,16} macros
These macros are redundant. All uses are replaced with the generic DECLARE_ALIGNED macro instead. Originally committed as revision 22233 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/sparc')
-rw-r--r--libavcodec/sparc/simple_idct_vis.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/sparc/simple_idct_vis.c b/libavcodec/sparc/simple_idct_vis.c
index 6f5359a4bc..8346a365b3 100644
--- a/libavcodec/sparc/simple_idct_vis.c
+++ b/libavcodec/sparc/simple_idct_vis.c
@@ -24,7 +24,7 @@
#include "libavcodec/dsputil.h"
-static const DECLARE_ALIGNED_8(int16_t, coeffs)[28] = {
+static const DECLARE_ALIGNED(8, int16_t, coeffs)[28] = {
- 1259,- 1259,- 1259,- 1259,
- 4989,- 4989,- 4989,- 4989,
-11045,-11045,-11045,-11045,
@@ -33,13 +33,13 @@ static const DECLARE_ALIGNED_8(int16_t, coeffs)[28] = {
25080, 25080, 25080, 25080,
12785, 12785, 12785, 12785
};
-static const DECLARE_ALIGNED_8(uint16_t, scale)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, scale)[4] = {
65536>>6, 65536>>6, 65536>>6, 65536>>6
};
-static const DECLARE_ALIGNED_8(uint16_t, rounder)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, rounder)[4] = {
1<<5, 1<<5, 1<<5, 1<<5
};
-static const DECLARE_ALIGNED_8(uint16_t, expand)[4] = {
+static const DECLARE_ALIGNED(8, uint16_t, expand)[4] = {
1<<14, 1<<14, 1<<14, 1<<14
};
@@ -386,7 +386,7 @@ static const DECLARE_ALIGNED_8(uint16_t, expand)[4] = {
void ff_simple_idct_vis(DCTELEM *data) {
int out1, out2, out3, out4;
- DECLARE_ALIGNED_8(int16_t, temp)[8*8];
+ DECLARE_ALIGNED(8, int16_t, temp)[8*8];
__asm__ volatile(
INIT_IDCT