[vlc-devel] [PATCH 2/2] XYZ to RGB filter conversion

Nicolas BERTRAND nicoinattendu at gmail.com
Thu Feb 14 16:39:02 CET 2013


Le 14/02/2013 15:33, Jean-Baptiste Kempf a écrit :
>> >+    if (i_codec_id == CODEC_ID_JPEG2000)  p_context->pix_fmt = PIX_FMT_XYZ12;
> Hmmm, is it always the case?
>
Yes with JPEG2000 out is always XYZ,
Only the precision change from 1 to 38 bit depth.... And can be 
different between each component, and signed or unsigned values .....
For dcinema its fixed 12 bits for all components, with unsigned values.
Maybe we need to implement an interface with libav to retrieve all those 
infos.




More information about the vlc-devel mailing list