* [PATCH 1/2] psplash: Trivial, cleanup some comments.
@ 2012-10-24 16:29 Saul Wold
2012-10-24 16:29 ` [PATCH 2/2] psplash: use correct blue offset value for BGR888 Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Saul Wold @ 2012-10-24 16:29 UTC (permalink / raw)
To: yocto
From: Marc Ferland <ferlandm@sonatest.com>
This patch fixes some minor comment mistakes.
Signed-off-by: Marc Ferland <ferlandm@sonatest.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
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(-)
diff --git a/psplash-colors.h b/psplash-colors.h
index d701089..d574afa 100644
--- a/psplash-colors.h
+++ b/psplash-colors.h
@@ -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 <tomas@sleepfive.com>
diff --git a/psplash-console.c b/psplash-console.c
index 9b7dfb9..1ee49e6 100644
--- a/psplash-console.c
+++ b/psplash-console.c
@@ -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 <mallum@o-hand.com>
*
diff --git a/psplash-console.h b/psplash-console.h
index c444d27..2cf7555 100644
--- a/psplash-console.h
+++ b/psplash-console.h
@@ -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 <mallum@o-hand.com>
*
diff --git a/psplash-fb.c b/psplash-fb.c
index 71740cd..72505b0 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -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 <mallum@o-hand.com>
*
diff --git a/psplash-fb.h b/psplash-fb.h
index ef5b39e..244ab67 100644
--- a/psplash-fb.h
+++ b/psplash-fb.h
@@ -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 <mallum@o-hand.com>
*
diff --git a/psplash-write.c b/psplash-write.c
index 3fdba95..1a81270 100644
--- a/psplash-write.c
+++ b/psplash-write.c
@@ -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 <mallum@o-hand.com>
*
diff --git a/psplash.c b/psplash.c
index 09cf0d0..aa6568a 100644
--- a/psplash.c
+++ b/psplash.c
@@ -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 <mallum@o-hand.com>
*
@@ -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);
diff --git a/psplash.h b/psplash.h
index f78c117..9b60ce1 100644
--- a/psplash.h
+++ b/psplash.h
@@ -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 <mallum@o-hand.com>
*
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] psplash: use correct blue offset value for BGR888
2012-10-24 16:29 [PATCH 1/2] psplash: Trivial, cleanup some comments Saul Wold
@ 2012-10-24 16:29 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-24 16:29 UTC (permalink / raw)
To: yocto
From: Aws Ismail <aws.ismail@windriver.com>
Author: Aws Ismail <aws.ismail@windriver.com>
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 <u.feichter@avibit.com>
for detecting this.
Signed-off-by: Aws Ismail <aws.ismail@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
---
psplash-fb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/psplash-fb.c b/psplash-fb.c
index 72505b0..1db4fde 100644
--- a/psplash-fb.c
+++ b/psplash-fb.c
@@ -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;
--
1.7.7.6
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-24 16:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-24 16:29 [PATCH 1/2] psplash: Trivial, cleanup some comments Saul Wold
2012-10-24 16:29 ` [PATCH 2/2] psplash: use correct blue offset value for BGR888 Saul Wold
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.