Skip to contentSkip to conversation

psplash: Add custom bar image and color options.

PATCH New Aws Ismail 1 participant 2 messages Oct 3, 2012

lore
Share & tools
lore

Aws Ismail

author
#0 lore raw

PATCH 1/1 psplash: Add custom bar image and color options.

I have sent this a about two months ago but did not get a reply. So I am sending it again to see if anyone has comments on it.

Thanks.

Aws\

-----------------------------------------------------------------

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.

---
 psplash-fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
psplash-fb.c +1 -1
index 71740cd..f65d67e 100644
@@ -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;
author
#1 lore raw

PATCH 1/1 psplash: use correct blue offset value for BGR888

Apologies. Used the wrong subject line. It is corrected now.

Aws\

-------- Original Message --------
Subject: [yocto] [PATCH] psplash: Add custom bar image and color options.
Date: Wed, 3 Oct 2012 12:57:40 -0400
From: Aws Ismail <[email protected]>
Reply-To: <[email protected]>
Organization: Wind River Systems
To: <[email protected]>

I have sent this a about two months ago but did not get a reply. So I am sending it again to see if anyone has comments on it.

Thanks.

Aws\

-----------------------------------------------------------------

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.

---
 psplash-fb.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
psplash-fb.c +1 -1
index 71740cd..f65d67e 100644
@@ -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;

_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto