aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/i386/simple_idct_mmx.c
diff options
context:
space:
mode:
authorJuanjo <pulento@users.sourceforge.net>2002-05-02 04:39:45 +0000
committerJuanjo <pulento@users.sourceforge.net>2002-05-02 04:39:45 +0000
commitef5b1b5a7ee2d4bce47382e74fe4c88d207c641a (patch)
treef732b2cf29ab34f4115e94d82a6a21aabfe73066 /libavcodec/i386/simple_idct_mmx.c
parent95c79a24e5429c510a7e17e84fc02b452060578c (diff)
downloadffmpeg-ef5b1b5a7ee2d4bce47382e74fe4c88d207c641a.tar.gz
- Advanced Intra Coding (AIC) support for H.263+ encoder, just DC by now.
- Bug fix H.263+ AIC tables. - Warning fixes. Originally committed as revision 431 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386/simple_idct_mmx.c')
-rw-r--r--libavcodec/i386/simple_idct_mmx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/i386/simple_idct_mmx.c b/libavcodec/i386/simple_idct_mmx.c
index 163097d4a9..32e3508f34 100644
--- a/libavcodec/i386/simple_idct_mmx.c
+++ b/libavcodec/i386/simple_idct_mmx.c
@@ -32,8 +32,8 @@
#define ROW_SHIFT 11
#define COL_SHIFT 20 // 6
-static uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
-static uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
+static const uint64_t __attribute__((aligned(8))) wm1010= 0xFFFF0000FFFF0000ULL;
+static const uint64_t __attribute__((aligned(8))) d40000= 0x0000000000040000ULL;
static int16_t __attribute__((aligned(8))) temp[64];
static int16_t __attribute__((aligned(8))) coeffs[]= {
1<<(ROW_SHIFT-1), 0, 1<<(ROW_SHIFT-1), 0,
@@ -63,12 +63,12 @@ static int16_t __attribute__((aligned(8))) coeffs[]= {
C3, -C1, C3, -C1
};
+#if 0
static void unused_var_killer(){
int a= wm1010 + d40000;
temp[0]=a;
}
-#if 0
static void inline idctCol (int16_t * col, int16_t *input)
{
#undef C0