[FFmpeg-cvslog] r30361 - trunk/libswscale/swscale.c

stefano subversion
Mon Jan 18 00:17:47 CET 2010


Author: stefano
Date: Mon Jan 18 00:17:47 2010
New Revision: 30361

Log:
Remove duplicated or pointless newlines.

Modified:
   trunk/libswscale/swscale.c

Modified: trunk/libswscale/swscale.c
==============================================================================
--- trunk/libswscale/swscale.c	Mon Jan 18 00:07:37 2010	(r30360)
+++ trunk/libswscale/swscale.c	Mon Jan 18 00:17:47 2010	(r30361)
@@ -771,7 +771,6 @@ static inline void yuv2nv12XinC(const in
         dest++;\
     }\
 
-
 #define YSCALE_YUV_2_MONOX_C \
     const uint8_t * const d128=dither_8x8_220[y&7];\
     uint8_t *g= c->table_gU[128] + c->table_gV[128];\
@@ -801,7 +800,6 @@ static inline void yuv2nv12XinC(const in
         }\
     }
 
-
 #define YSCALE_YUV_2_ANYRGB_C(func, func2, func_g16, func_monoblack)\
     switch(c->dstFormat) {\
     case PIX_FMT_RGB48BE:\
@@ -991,7 +989,6 @@ static inline void yuv2nv12XinC(const in
         break;\
     }\
 
-
 static inline void yuv2packedXinC(SwsContext *c, const int16_t *lumFilter, const int16_t **lumSrc, int lumFilterSize,
                                   const int16_t *chrFilter, const int16_t **chrSrc, int chrFilterSize,
                                   const int16_t **alpSrc, uint8_t *dest, int dstW, int y)
@@ -1249,7 +1246,6 @@ static inline void monoblack2Y(uint8_t *
     }
 }
 
-
 //Note: we have C, MMX, MMX2, 3DNOW versions, there is no 3DNOW+MMX2 one
 //Plain C versions
 #if ((!HAVE_MMX || !CONFIG_GPL) && !HAVE_ALTIVEC) || CONFIG_RUNTIME_CPUDETECT
@@ -1624,7 +1620,6 @@ static int initFilter(int16_t **outFilte
         }
     }
 
-
     //FIXME try to align filterPos if possible
 
     //fix borders
@@ -2135,7 +2130,6 @@ static int rgb2rgbWrapper(SwsContext *c,
 static int bgr24toyv12Wrapper(SwsContext *c, const uint8_t* src[], int srcStride[], int srcSliceY,
                               int srcSliceH, uint8_t* dst[], int dstStride[])
 {
-
     rgb24toyv12(
         src[0],
         dst[0]+ srcSliceY    *dstStride[0],
@@ -2269,7 +2263,6 @@ static int planarCopy(SwsContext *c, con
     return srcSliceH;
 }
 
-
 static void getSubSampleFactors(int *h, int *v, enum PixelFormat format)
 {
     *h = av_pix_fmt_descriptors[format].log2_chroma_w;
@@ -2719,8 +2712,6 @@ SwsContext *sws_getContext(int srcW, int
         }
     } // initialize horizontal stuff
 
-
-
     /* precalculate vertical scaler filter coefficients */
     {
         const int filterAlign=
@@ -2988,7 +2979,6 @@ int sws_scale(SwsContext *c, const uint8
             v= av_clip_uint8((RV*r + GV*g + BV*b + (257<<(RGB2YUV_SHIFT-1)))>>RGB2YUV_SHIFT);
             c->pal_yuv[i]= y + (u<<8) + (v<<16);
 
-
             switch(c->dstFormat) {
             case PIX_FMT_BGR32:
 #if !HAVE_BIGENDIAN
@@ -3172,7 +3162,6 @@ SwsVector *sws_getConstVec(double c, int
     return vec;
 }
 
-
 SwsVector *sws_getIdentityVec(void)
 {
     return sws_getConstVec(1.0, 1);
@@ -3365,7 +3354,6 @@ void sws_freeFilter(SwsFilter *filter)
     av_free(filter);
 }
 
-
 void sws_freeContext(SwsContext *c)
 {
     int i;



More information about the ffmpeg-cvslog mailing list