1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

cosmetics attack, part I: Remove all tabs and prettyprint/reindent the code.

Originally committed as revision 23158 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
Diego Biurrun 2007-04-28 11:44:49 +00:00
parent 1da87823db
commit 6e42e6c4b4
5 changed files with 2955 additions and 2962 deletions

View File

@ -1,5 +1,4 @@
/* /*
*
* rgb2rgb.c, Software RGB to RGB convertor * rgb2rgb.c, Software RGB to RGB convertor
* pluralize by Software PAL8 to RGB convertor * pluralize by Software PAL8 to RGB convertor
* Software YUV to YUV convertor * Software YUV to YUV convertor

View File

@ -1,5 +1,4 @@
/* /*
*
* rgb2rgb.h, Software RGB to RGB convertor * rgb2rgb.h, Software RGB to RGB convertor
* pluralize by Software PAL8 to RGB convertor * pluralize by Software PAL8 to RGB convertor
* Software YUV to YUV convertor * Software YUV to YUV convertor

View File

@ -1,5 +1,4 @@
/* /*
*
* rgb2rgb.c, Software RGB to RGB convertor * rgb2rgb.c, Software RGB to RGB convertor
* pluralize by Software PAL8 to RGB convertor * pluralize by Software PAL8 to RGB convertor
* Software YUV to YUV convertor * Software YUV to YUV convertor

View File

@ -419,8 +419,7 @@ static inline int yv12toyuy2_unscaled_altivec(SwsContext *c, uint8_t* src[], int
4) lum&chrom stride are multiple of 8 4) lum&chrom stride are multiple of 8
*/ */
for(y=0; y<height; y++) for (y=0; y<height; y++) {
{
int i; int i;
for (i = 0; i < width - 31; i+= 32) { for (i = 0; i < width - 31; i+= 32) {
const unsigned int j = i >> 1; const unsigned int j = i >> 1;
@ -457,8 +456,7 @@ static inline int yv12toyuy2_unscaled_altivec(SwsContext *c, uint8_t* src[], int
vec_st(v_yuy2_0, (i << 1), dst); vec_st(v_yuy2_0, (i << 1), dst);
vec_st(v_yuy2_1, (i << 1) + 16, dst); vec_st(v_yuy2_1, (i << 1) + 16, dst);
} }
if((y&(vertLumPerChroma-1))==(vertLumPerChroma-1) ) if ( (y&(vertLumPerChroma-1))==(vertLumPerChroma-1) ) {
{
usrc += chromStride; usrc += chromStride;
vsrc += chromStride; vsrc += chromStride;
} }
@ -498,8 +496,7 @@ static inline int yv12touyvy_unscaled_altivec(SwsContext *c, uint8_t* src[], int
4) lum&chrom stride are multiple of 8 4) lum&chrom stride are multiple of 8
*/ */
for(y=0; y<height; y++) for (y=0; y<height; y++) {
{
int i; int i;
for (i = 0; i < width - 31; i+= 32) { for (i = 0; i < width - 31; i+= 32) {
const unsigned int j = i >> 1; const unsigned int j = i >> 1;
@ -536,8 +533,7 @@ static inline int yv12touyvy_unscaled_altivec(SwsContext *c, uint8_t* src[], int
vec_st(v_uyvy_0, (i << 1), dst); vec_st(v_uyvy_0, (i << 1), dst);
vec_st(v_uyvy_1, (i << 1) + 16, dst); vec_st(v_uyvy_1, (i << 1) + 16, dst);
} }
if((y&(vertLumPerChroma-1))==(vertLumPerChroma-1) ) if ( (y&(vertLumPerChroma-1))==(vertLumPerChroma-1) ) {
{
usrc += chromStride; usrc += chromStride;
vsrc += chromStride; vsrc += chromStride;
} }