Mercurial > mplayer.hg
changeset 30319:841a6029e259
Remove duplicated or pointless newlines.
author | stefano |
---|---|
date | Sun, 17 Jan 2010 23:17:47 +0000 |
parents | 862c1c9d733b |
children | 90c417401f02 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 0 insertions(+), 12 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Sun Jan 17 23:07:37 2010 +0000 +++ b/libswscale/swscale.c Sun Jan 17 23:17:47 2010 +0000 @@ -771,7 +771,6 @@ 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 @@ }\ } - #define YSCALE_YUV_2_ANYRGB_C(func, func2, func_g16, func_monoblack)\ switch(c->dstFormat) {\ case PIX_FMT_RGB48BE:\ @@ -991,7 +989,6 @@ 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 @@ } } - //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 @@ } } - //FIXME try to align filterPos if possible //fix borders @@ -2135,7 +2130,6 @@ 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 @@ 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 @@ } } // initialize horizontal stuff - - /* precalculate vertical scaler filter coefficients */ { const int filterAlign= @@ -2988,7 +2979,6 @@ 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 @@ return vec; } - SwsVector *sws_getIdentityVec(void) { return sws_getConstVec(1.0, 1); @@ -3365,7 +3354,6 @@ av_free(filter); } - void sws_freeContext(SwsContext *c) { int i;