[Ffmpeg-devel] New pixel formats

Luca Abeni lucabe72
Wed Aug 23 11:29:25 CEST 2006


Hi Michael,
On Tue, 2006-08-22 at 21:01 +0200, Michael Niedermayer wrote:
[...]
> > Or maybe the two files use different naming conventions?
> 
> exactly, ffmpeg should follow the idea that the order of the chars in the
> name matches the order in memory for formats which are specified based on
> memory order
> PIX_FMT_BGRA is (first byte)B G R A(last byte)
> 
> and it matches the order within a number as displayed normally if the
> order is specified within a native integer
> PIX_FMT_RGB32 is 0xAARRGGBB
> 
> 
> and the names arpi originaly choose for mplayer where based on open gl
> i and probably others added more format names to mplayer over the time
> currently mplayers RGB names match ffmpeg with the exception of a BGR<->RGB
> xchange for stuff specified based on native types
Thanks for the explaination. I am updating my patches according to it,
and I'll probably post something this evening

			Thanks,
				Luca





More information about the ffmpeg-devel mailing list