[Ffmpeg-devel] PIX_FMT_RGB555 and alpha channel
Alex Beregszaszi
alex
Tue Oct 31 02:23:04 CET 2006
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? (As I asked since the beginning)
--
Alex Beregszaszi | alex at fsn.hu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rgb555-noalpha.diff
Type: text/x-patch
Size: 2075 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20061031/4e61eab8/attachment.bin>
More information about the ffmpeg-devel
mailing list