[FFmpeg-devel] [PATCH] libopenjpegdec: add pix fmt gbrp (9-14 bit)
Michaël Cinquin
mc at michaelcinquin.com
Thu Jan 24 07:01:42 CET 2013
On 23 janv. 2013, at 22:05, Michael Bradshaw wrote:
> On Wed, Jan 23, 2013 at 2:05 PM, Michael Bradshaw <mjbshaw at gmail.com> wrote:
>
>> Added support for decoding gbrp (9-14 bit) images. I didn't add 8 and 16
>> bit because these should just be decoded as RGB 8 and 16 bit.
>>
>> Note that this hasn't been tested. I don't have any samples, and I can't
>> figure out how to get image_to_j2k to output 9-14 bit rgb samples (and I
>> couldn't generate any with FFmpeg since there's no rgb48 -> gbr converter).
Here is a j2c in xyz colorspace :
www.michaelcinquin.com/get/12bpc_xyz.j2c
, and another j2c in rgb colorspace, both of them 12 bpc.
www.michaelcinquin.com/get/12bpc_rgb.j2c
I have available a vf_xyz2rgb ; it's the reverse of the vf_rgb2xyz I have committed and made a pull request. When rgb2xyz is accepted / rejected, I'll know what to do with xyz2rgb ! In the meanwhile… it's here :
www.michaelcinquin.com/get/vf_xyz2rgb.c
Michael
More information about the ffmpeg-devel
mailing list