[Ffmpeg-devel] PIX_FMT_RGB555 and alpha channel
Michael Niedermayer
michaelni
Tue Oct 31 02:43:46 CET 2006
Hi
On Tue, Oct 31, 2006 at 02:23:04AM +0100, Alex Beregszaszi wrote:
> Hi,
>
> > > I noticed that for rgb15 formats libswscale always sets the MSBit to
> > > 0. Which is not what FFMpeg does for this format. With the MSBit
> > > = 0, FFMpeg would say that the pixel is fully transparent. They
> > > would all need to be or'd with 0x8000 to have the same format as
> > > FFMpeg RGB555. Is this a bug? Should they be or'd with 0x8000 to
> > > make the format == to FFMpeg's version?
> >
> > no IMHO imgconvert is buggy, it should never set the "alpha" bit of
> > rgb555
>
> Do you accept a patch which just removes all the false alpha stuff from
> RGB555?
of course i do / patch looks ok (assuming regression tests pass)
> (As I asked since the beginning)
where? when? whom? :)
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is
More information about the ffmpeg-devel
mailing list