[Ffmpeg-cvslog] r6976 - in trunk/libavcodec/i386: dsputil_mmx.c fdct_mmx.c

mru subversion
Sun Nov 12 04:34:12 CET 2006


Author: mru
Date: Sun Nov 12 04:34:12 2006
New Revision: 6976

Modified:
   trunk/libavcodec/i386/dsputil_mmx.c
   trunk/libavcodec/i386/fdct_mmx.c

Log:
adding more static keywords


Modified: trunk/libavcodec/i386/dsputil_mmx.c
==============================================================================
--- trunk/libavcodec/i386/dsputil_mmx.c	(original)
+++ trunk/libavcodec/i386/dsputil_mmx.c	Sun Nov 12 04:34:12 2006
@@ -2667,7 +2667,7 @@
 #endif /* CONFIG_ENCODERS */
 
 #define PREFETCH(name, op) \
-void name(void *mem, int stride, int h){\
+static void name(void *mem, int stride, int h){\
     const uint8_t *p= mem;\
     do{\
         asm volatile(#op" %0" :: "m"(*p));\
@@ -3007,7 +3007,7 @@
         ff_vector_fmul_add_add_c(dst, src0, src1, src2, src3, len, step);
 }
 
-void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
+static void float_to_int16_3dnow(int16_t *dst, const float *src, int len){
     // not bit-exact: pf2id uses different rounding than C and SSE
     int i;
     for(i=0; i<len; i+=4) {
@@ -3022,7 +3022,7 @@
     }
     asm volatile("femms");
 }
-void float_to_int16_sse(int16_t *dst, const float *src, int len){
+static void float_to_int16_sse(int16_t *dst, const float *src, int len){
     int i;
     for(i=0; i<len; i+=4) {
         asm volatile(

Modified: trunk/libavcodec/i386/fdct_mmx.c
==============================================================================
--- trunk/libavcodec/i386/fdct_mmx.c	(original)
+++ trunk/libavcodec/i386/fdct_mmx.c	Sun Nov 12 04:34:12 2006
@@ -67,7 +67,7 @@
 
 static const int32_t fdct_r_row[2] ATTR_ALIGN(8) = {RND_FRW_ROW, RND_FRW_ROW };
 
-struct
+static struct
 {
  const int32_t fdct_r_row_sse2[4] ATTR_ALIGN(16);
 } fdct_r_row_sse2 ATTR_ALIGN(16)=
@@ -150,7 +150,7 @@
   29692,  -12299,   26722,  -31521,
 };
 
-struct
+static struct
 {
  const int16_t tab_frw_01234567_sse2[256] ATTR_ALIGN(16);
 } tab_frw_01234567_sse2 ATTR_ALIGN(16) =




More information about the ffmpeg-cvslog mailing list