Skip to contentSkip to conversation

VIVID bug in BGRA and ARGB

DISCUSSION Nicolas Dufresne 2 participants 2 messages Dec 17, 2015 – Dec 18, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

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 ?

cheers,
Nicolas

#1 lore raw
Quoted 6 lines · Nicolas Dufresne

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