[FFmpeg-devel] [PATCH]Do not store more than 30 bit for r10k

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sun Dec 28 08:24:36 CET 2014

On 28.12.2014, at 00:58, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
> Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:
>> Though as noted in the commit message I am not sure that 
>> for better compatibility the extra bits shouldn't be 1 
>> instead...
> I am not against, but I wonder what you want to be compatible 
> with? Or to say it differently: If something reads 10 bit rgb 
> with two bit transparency, we should absolutely support it.

I don't know if something does, it's just that the format with 2 alpha bits is a fairly standard OpenGL/DX format.
In other words: it would be compatible with these.
On the other hand, if one wanted to display such videos via those APIs you would probably not want to do the conversion to/from 16 bit we are doing anyway...

More information about the ffmpeg-devel mailing list