[MPlayer-dev-eng] RGBA to ARGB conversion
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Mon Jun 13 19:23:10 CEST 2011
On Mon, Jun 13, 2011 at 01:33:51PM +0200, Ingo Brückl wrote:
> I'm pretty sure there is already a function or macro for the following
> problem, but where/which?
>
> I have an unsigned char array of RGB(A) data, i.e. it is either 3 bytes RGB
> or 4 bytes RGBA. The data must be converted to ARGB, i.e. on big-endian the
> resulting array must be ARGB, on little-endian BGRA.
libswscale.
Though I also think there's at least a similar function somewhere in
the gui already.
More information about the MPlayer-dev-eng
mailing list