[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 dsputil_mmx.c, 1.96, 1.97 vp3dsp_mmx.c, 1.4, 1.5 vp3dsp_sse2.c, 1.5, 1.6
Michael Niedermayer CVS
michael
Wed Jun 1 23:19:03 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 idct_mmx.c,1.10,1.11
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec adpcm.c, 1.26, 1.27 h263data.h, 1.17, 1.18 mpeg4data.h, 1.23, 1.24 mpeg12data.h, 1.25, 1.26 mpegaudiodectab.h, 1.3, 1.4 mpegaudiodec.c, 1.58, 1.59 mpegaudiotab.h, 1.5, 1.6 mpegvideo.h, 1.223, 1.224 msmpeg4data.h, 1.11, 1.12 sp5x.h, 1.1, 1.2 truemotion1.c, 1.9, 1.10 truemotion1data.h, 1.2, 1.3 ulti_cb.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/i386
In directory mail:/var2/tmp/cvs-serv8422/i386
Modified Files:
dsputil_mmx.c vp3dsp_mmx.c vp3dsp_sse2.c
Log Message:
adding a few const
Index: dsputil_mmx.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/dsputil_mmx.c,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -d -r1.96 -r1.97
--- dsputil_mmx.c 31 May 2005 22:48:33 -0000 1.96
+++ dsputil_mmx.c 1 Jun 2005 21:19:00 -0000 1.97
@@ -299,7 +299,7 @@
:"memory");
}
-static unsigned char __align8 vector128[8] =
+static const unsigned char __align8 vector128[8] =
{ 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80, 0x80 };
void put_signed_pixels_clamped_mmx(const DCTELEM *block, uint8_t *pixels, int line_size)
Index: vp3dsp_mmx.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/vp3dsp_mmx.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- vp3dsp_mmx.c 17 May 2005 18:28:40 -0000 1.4
+++ vp3dsp_mmx.c 1 Jun 2005 21:19:00 -0000 1.5
@@ -32,7 +32,7 @@
* idct_constants[44..47] = 8
*/
static uint16_t idct_constants[(4 + 7 + 1) * 4];
-static uint16_t idct_cosine_table[7] = {
+static const uint16_t idct_cosine_table[7] = {
64277, 60547, 54491, 46341, 36410, 25080, 12785
};
Index: vp3dsp_sse2.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/vp3dsp_sse2.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- vp3dsp_sse2.c 17 May 2005 18:28:40 -0000 1.5
+++ vp3dsp_sse2.c 1 Jun 2005 21:19:00 -0000 1.6
@@ -24,7 +24,7 @@
#include "../dsputil.h"
#include "mmx.h"
-static unsigned short __align16 SSE2_dequant_const[] =
+static const unsigned short __align16 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,7 +35,7 @@
0,0,65535,65535, 0,0,0,0 // 0x0000 0000 0000 0000 FFFF FFFF 0000 0000
};
-static unsigned int __align16 eight_data[] =
+static const unsigned int __align16 eight_data[] =
{
0x00080008,
0x00080008,
@@ -43,7 +43,7 @@
0x00080008
};
-static unsigned short __align16 SSE2_idct_data[7 * 8] =
+static const unsigned short __align16 SSE2_idct_data[7 * 8] =
{
64277,64277,64277,64277,64277,64277,64277,64277,
60547,60547,60547,60547,60547,60547,60547,60547,
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 idct_mmx.c,1.10,1.11
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec adpcm.c, 1.26, 1.27 h263data.h, 1.17, 1.18 mpeg4data.h, 1.23, 1.24 mpeg12data.h, 1.25, 1.26 mpegaudiodectab.h, 1.3, 1.4 mpegaudiodec.c, 1.58, 1.59 mpegaudiotab.h, 1.5, 1.6 mpegvideo.h, 1.223, 1.224 msmpeg4data.h, 1.11, 1.12 sp5x.h, 1.1, 1.2 truemotion1.c, 1.9, 1.10 truemotion1data.h, 1.2, 1.3 ulti_cb.h, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list