All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] psplash: use correct blue offset value for BGR888
@ 2012-08-16 15:17 Aws Ismail
  0 siblings, 0 replies; 2+ messages in thread
From: Aws Ismail @ 2012-08-16 15:17 UTC (permalink / raw)
  To: yocto

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>
---
  psplash-fb.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/psplash-fb.c b/psplash-fb.c
index 71740cd..f65d67e 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;



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [PATCH] psplash: use correct blue offset value for BGR888
  2012-10-03 16:57 [PATCH] psplash: Add custom bar image and color options Aws Ismail
@ 2012-10-03 17:01 ` Aws Ismail
  0 siblings, 0 replies; 2+ messages in thread
From: Aws Ismail @ 2012-10-03 17:01 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1733 bytes --]

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 <aws.ismail@windriver.com>
Reply-To: 	<aws.ismail@windriver.com>
Organization: 	Wind River Systems
To: 	<yocto@yoctoproject.org>



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 <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>
---
  psplash-fb.c |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/psplash-fb.c b/psplash-fb.c
index 71740cd..f65d67e 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;

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


-- 




[-- Attachment #2: Type: text/html, Size: 3805 bytes --]

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-03 17:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16 15:17 [PATCH] psplash: use correct blue offset value for BGR888 Aws Ismail
  -- strict thread matches above, loose matches on Subject: below --
2012-10-03 16:57 [PATCH] psplash: Add custom bar image and color options Aws Ismail
2012-10-03 17:01 ` [PATCH] psplash: use correct blue offset value for BGR888 Aws Ismail

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.