psplash: Trivial, cleanup some comments.
PATCH 1/2 psplash: Trivial, cleanup some comments.
From: Marc Ferland <[email protected]>
This patch fixes some minor comment mistakes.
Signed-off-by Marc Ferland <[email protected]>
Signed-off-by Saul Wold <[email protected]>
--- psplash-colors.h | 2 +- psplash-console.c | 2 +- psplash-console.h | 2 +- psplash-fb.c | 2 +- psplash-fb.h | 2 +- psplash-write.c | 2 +- psplash.c | 4 ++-- psplash.h | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-)
psplash-colors.h +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2012 sleep(5) ltd * Author: Tomas Frydrych <[email protected]>
psplash-console.c +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
psplash-console.h +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
psplash-fb.c +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
psplash-fb.h +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
psplash-write.c +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
psplash.c +2 -2
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
@@ -263,7 +263,7 @@ main (int argc, char** argv) goto fb_fail; } -/* Clear the background with #ecece1 */ +/* Clear screen with background color */ psplash_fb_draw_rect (fb,0 ,0 , fb->width, fb->height,PSPLASH_BACKGROUND_COLOR );
psplash.h +1 -1
@@ -1,5 +1,5 @@/* -* pslash - a lightweight framebuffer splashscreen for embedded devices. +* psplash - a lightweight framebuffer splashscreen for embedded devices. * * Copyright (c) 2006 Matthew Allum <[email protected]> *
Signature · 1 line
1.7.7.6
PATCH 2/2 psplash: use correct blue offset value for BGR888
From: Aws Ismail <[email protected]>
Author: Aws Ismail <[email protected]> Date: Thu Aug 16 11:06:13 2012 -0400
Use correct blue offset value for BGR888
fs->blue_offset should be compared to 16 instead of 8 in order to detect BGR.
Credit goes to Ulrich Feichter <[email protected]> for detecting this.
Signed-off-by Aws Ismail <[email protected]>
Signed-off-by Saul Wold <[email protected]>
--- psplash-fb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
psplash-fb.c +1 -1
@@ -185,7 +185,7 @@ psplash_fb_new (int angle) fb->rgbmode =RGB888 ; }else if (fb->red_offset ==0 && fb->red_length ==8 && fb->green_offset ==8 && fb->green_length ==8 && - fb->blue_offset ==8 && fb->blue_length ==8 ) { + fb->blue_offset ==16 && fb->blue_length ==8 ) { fb->rgbmode =BGR888 ; }else { fb->rgbmode =GENERIC ;
Signature · 1 line
1.7.7.6