I was wondering about the difference between rgb and bgr pixel formats available in many codecs.
It reminds me in some way the Big Endian and Little Endian flavours of computer processors.
While I always guessed that the big / little endian was more a matter of patents rather than performance, why we have both rgb and bgr?
- It's still a matter of patents?
- Have something to do with Subpixels Rendering ?
- Why some codecs has alternate support of them like this huffyuv example here:
Encoder huffyuv [Huffyuv / HuffYUV]:
Threading capabilities: no
Supported pixel formats: yuv422p rgb24 bgra
It has rgb24 but then not rgba as I could expect. It jumps directly to bgra!
Could be again a matter of patents that the codec author could not break ?
Please feed my curiosity with some extended explaination here if possible, i want to know something more about this various pixel formats!