[FFmpeg-devel] [PATCH] libopenjpegenc: add 9-15 bit RGB output

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jan 23 19:01:10 CET 2013

On Wed, Jan 23, 2013 at 10:45:25AM -0700, Michael Bradshaw wrote:
> On a side note, why is the planar format bgr while the packed format
> (typically) rgb? Why wasn't the planar format made rgb as well?

The planar format is gbr, not bgr.
One reason is that GBR is the best order to use it in codecs
designed more for YUV, due to G being most important
(and also if you look at the RGB->YUV conversion G is
the most important contributor to Y, and the same for
U and B and V and R).

More information about the ffmpeg-devel mailing list