[vlc-devel] commit: XCB-X11: use RGBA so we warranty the alpha channel is 0xff ( Rémi Denis-Courmont )

Laurent Aimar fenrir at via.ecp.fr
Sun Nov 15 21:20:54 CET 2009


On Sun, Nov 15, 2009, Rémi Denis-Courmont wrote:
> Le dimanche 15 novembre 2009 21:54:57 Laurent Aimar, vous avez écrit :
> > On Sun, Nov 15, 2009, git version control wrote:
> > > vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Nov 15
> > > 21:39:47 2009 +0200| [2f5e98e22b4b3ffa87c97846ec51d3654839a4cc] |
> > > committer: Rémi Denis-Courmont
> > >
> > > XCB-X11: use RGBA so we warranty the alpha channel is 0xff
> > >
> > > N.B.: it seems swscale does not follow the RGB masks properly;
> > > red and blue are swapped.
> > 
> >  I think it is more because VLC_CODEC_RGBA is a bit special in VLC and uses
> >  a fixed order (rgb mask are ignored in this cases).
> 
> The swscale plugin ignores the RGB masks regardless of the chroma.
 Not completly, it is hidden in GetFfmpegChroma.
 FFmpeg uses different CodecID depending on the rgb masks, and GetFfmpegChroma
uses them to find the proper one. But only a subset of the possibles RGB masks
sets is supported.

-- 
fenrir



More information about the vlc-devel mailing list