From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.windriver.com (mail.windriver.com [147.11.1.11]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id BE7AEE00717 for ; Wed, 3 Oct 2012 10:01:52 -0700 (PDT) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail.windriver.com (8.14.5/8.14.3) with ESMTP id q93H1qvn020840 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 3 Oct 2012 10:01:52 -0700 (PDT) Received: from [128.224.147.212] (128.224.147.212) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server (TLS) id 14.2.309.2; Wed, 3 Oct 2012 10:01:52 -0700 Message-ID: <506C6F77.504@windriver.com> Date: Wed, 3 Oct 2012 13:01:43 -0400 From: Aws Ismail Organization: Wind River Systems User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 MIME-Version: 1.0 To: References: <506C6E84.7080201@windriver.com> In-Reply-To: <506C6E84.7080201@windriver.com> X-Forwarded-Message-Id: <506C6E84.7080201@windriver.com> X-Originating-IP: [128.224.147.212] Subject: [PATCH] psplash: use correct blue offset value for BGR888 X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: aws.ismail@windriver.com List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 17:01:52 -0000 Content-Type: multipart/alternative; boundary="------------010005050603040205020409" --------------010005050603040205020409 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit 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 Reply-To: Organization: Wind River Systems To: 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 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 for detecting this. Signed-off-by: Aws Ismail --- 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 -- --------------010005050603040205020409 Content-Type: text/html; charset="ISO-8859-1" Content-Transfer-Encoding: 7bit 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

-- 



--------------010005050603040205020409--