public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Hans Verkuil <hverkuil@xs4all.nl>
To: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Cc: linux-media@vger.kernel.org
Subject: Re: VIVID bug in BGRA and ARGB
Date: Fri, 18 Dec 2015 01:04:31 +0100	[thread overview]
Message-ID: <56734D8F.2030209@xs4all.nl> (raw)
In-Reply-To: <1450393444.28544.3.camel@collabora.com>



On 12/18/2015 12:04 AM, Nicolas Dufresne wrote:
> Hi Hans,
> 
> while testing over color formats VIVID produce, I found that BGRA and
> ARGB the alpha component is always 0, which leads to black frames when
> composed (when the background is black of course). Is that a bug, or
> intended ?

Depends who you ask, I guess.

Anyway, the alpha value can be set through a user control (Alpha Component),
which is indeed by default 0. I wonder if I should set it to 0x7f by default.

This still maps to 0 for 1-5-5-5 ARGB formats, though.

Suggestions are welcome.

Regards,

	Hans

      reply	other threads:[~2015-12-18  0:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-17 23:04 VIVID bug in BGRA and ARGB Nicolas Dufresne
2015-12-18  0:04 ` Hans Verkuil [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56734D8F.2030209@xs4all.nl \
    --to=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=nicolas.dufresne@collabora.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox