Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abb46c8c authored by Tomas Winkler's avatar Tomas Winkler Committed by Greg Kroah-Hartman
Browse files

staging/easycap: add first level indentation to easycap_testcard.c



Add the first level indentation to easycap_testcard.c with astyle -t8.
No chackpatch warnings were created

Cc: Mike Thomas <rmthomas@sciolus.org>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 980aebdd
Loading
Loading
Loading
Loading
+106 −103
Original line number Diff line number Diff line
@@ -97,8 +97,10 @@ for (line = 0; line < (barheight / 2); line++) {
			b = (i1 * 256)/8;

			y =  299*r/1000 + 587*g/1000 + 114*b/1000 ;
		u = -147*r/1000 - 289*g/1000 + 436*b/1000 ;  u = u + 128;
		v =  615*r/1000 - 515*g/1000 - 100*b/1000 ;  v = v + 128;
			u = -147*r/1000 - 289*g/1000 + 436*b/1000 ;
			u = u + 128;
			v =  615*r/1000 - 515*g/1000 - 100*b/1000 ;
			v = v + 128;

			uyvy[0] =  0xFF & u ;
			uyvy[1] =  0xFF & y ;
@@ -123,7 +125,8 @@ for (line = 0; line < (barheight / 2); line++) {
					return;
				}
				if (PAGE_SIZE < n) {
			SAM("ERROR:  bad n reached\n"); return;
					SAM("ERROR:  bad n reached\n");
					return;
				}

				if (0 > more) {