[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/i386 dsputil_mmx.c, 1.98, 1.99 dsputil_mmx_rnd.h, 1.18, 1.19
Måns Rullgård CVS
mru
Tue Sep 6 23:25:37 CEST 2005
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavutil common.h,1.151,1.152
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec parser.c, 1.28, 1.29 pnm.c, 1.12, 1.13 rangecoder.c, 1.2, 1.3 vp3dsp.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/i386
In directory mail:/var2/tmp/cvs-serv7814/libavcodec/i386
Modified Files:
dsputil_mmx.c dsputil_mmx_rnd.h
Log Message:
Kill some compiler warnings. Compiled code verified identical after changes.
Index: dsputil_mmx.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/dsputil_mmx.c,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- dsputil_mmx.c 2 Jun 2005 20:45:35 -0000 1.98
+++ dsputil_mmx.c 6 Sep 2005 21:25:34 -0000 1.99
@@ -1080,7 +1080,8 @@
return tmp + hf_noise8_mmx(pix+8, line_size, h);
}
-static int nsse16_mmx(MpegEncContext *c, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
+static int nsse16_mmx(void *p, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
+ MpegEncContext *c = p;
int score1= sse16_mmx(c, pix1, pix2, line_size, h);
int score2= hf_noise16_mmx(pix1, line_size, h) - hf_noise16_mmx(pix2, line_size, h);
@@ -1088,7 +1089,8 @@
else return score1 + ABS(score2)*8;
}
-static int nsse8_mmx(MpegEncContext *c, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
+static int nsse8_mmx(void *p, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {
+ MpegEncContext *c = p;
int score1= sse8_mmx(c, pix1, pix2, line_size, h);
int score2= hf_noise8_mmx(pix1, line_size, h) - hf_noise8_mmx(pix2, line_size, h);
Index: dsputil_mmx_rnd.h
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/i386/dsputil_mmx_rnd.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- dsputil_mmx_rnd.h 11 Oct 2004 02:19:29 -0000 1.18
+++ dsputil_mmx_rnd.h 6 Sep 2005 21:25:35 -0000 1.19
@@ -55,7 +55,7 @@
:REG_a, "memory");
}
-static void DEF(put, pixels8_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
+static void attribute_unused DEF(put, pixels8_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
{
MOVQ_BFE(mm6);
__asm __volatile(
@@ -151,7 +151,7 @@
:REG_a, "memory");
}
-static void DEF(put, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
+static void attribute_unused DEF(put, pixels16_l2)(uint8_t *dst, uint8_t *src1, uint8_t *src2, int dstStride, int src1Stride, int h)
{
MOVQ_BFE(mm6);
__asm __volatile(
@@ -296,7 +296,7 @@
}
// avg_pixels
-static void DEF(avg, pixels4)(uint8_t *block, const uint8_t *pixels, int line_size, int h)
+static void attribute_unused DEF(avg, pixels4)(uint8_t *block, const uint8_t *pixels, int line_size, int h)
{
MOVQ_BFE(mm6);
JUMPALIGN();
- Previous message: [Ffmpeg-cvslog] CVS: ffmpeg/libavutil common.h,1.151,1.152
- Next message: [Ffmpeg-cvslog] CVS: ffmpeg/libavcodec parser.c, 1.28, 1.29 pnm.c, 1.12, 1.13 rangecoder.c, 1.2, 1.3 vp3dsp.c, 1.6, 1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the ffmpeg-cvslog
mailing list