diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-16 21:11:28 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-08-16 21:11:28 +0000 |
commit | dd68318ceee3de05ca705652133e1eb22a17780e (patch) | |
tree | 372a4dad262c34f04030d757d8d2a39cee4bd0f1 /libswscale/sparc | |
parent | 9dc6bb7b9fdda6cd1a856db79088c5f239cecb0f (diff) | |
download | ffmpeg-dd68318ceee3de05ca705652133e1eb22a17780e.tar.gz |
Cosmetics:
- Place curly brackets in the same line as while/for/if/switch/else/do;
- Place curly brackets at column 0 in the next line starting a function.
Originally committed as revision 29523 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/sparc')
-rw-r--r-- | libswscale/sparc/yuv2rgb_vis.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/libswscale/sparc/yuv2rgb_vis.c b/libswscale/sparc/yuv2rgb_vis.c index 3abe315e55..cc98f04053 100644 --- a/libswscale/sparc/yuv2rgb_vis.c +++ b/libswscale/sparc/yuv2rgb_vis.c @@ -82,7 +82,8 @@ // FIXME: must be changed to set alpha to 255 instead of 0 static int vis_420P_ARGB32(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, - int srcSliceH, uint8_t* dst[], int dstStride[]){ + int srcSliceH, uint8_t* dst[], int dstStride[]) +{ int y, out1, out2, out3, out4, out5, out6; for(y=0;y < srcSliceH;++y) { @@ -134,7 +135,8 @@ static int vis_420P_ARGB32(SwsContext *c, uint8_t* src[], int srcStride[], int s // FIXME: must be changed to set alpha to 255 instead of 0 static int vis_422P_ARGB32(SwsContext *c, uint8_t* src[], int srcStride[], int srcSliceY, - int srcSliceH, uint8_t* dst[], int dstStride[]){ + int srcSliceH, uint8_t* dst[], int dstStride[]) +{ int y, out1, out2, out3, out4, out5, out6; for(y=0;y < srcSliceH;++y) { @@ -184,7 +186,8 @@ static int vis_422P_ARGB32(SwsContext *c, uint8_t* src[], int srcStride[], int s return srcSliceH; } -SwsFunc ff_yuv2rgb_init_vis(SwsContext *c){ +SwsFunc ff_yuv2rgb_init_vis(SwsContext *c) +{ c->sparc_coeffs[5]=c->yCoeff; c->sparc_coeffs[6]=c->vgCoeff; c->sparc_coeffs[7]=c->vrCoeff; |