[FFmpeg-devel] [PATCH] libopenjpeg wrapper for jpeg2k decoding

Jai Menon jmenon86
Wed Jan 28 12:32:41 CET 2009


Hi,

On Wed, Jan 28, 2009 at 4:17 PM, Mathieu Malaterre
<mathieu.malaterre at gmail.com> wrote:
> On Tue, Jan 27, 2009 at 5:56 AM, Jai Menon <jmenon86 at gmail.com> wrote:
>> Hi,
>>
>> This has proved useful for debugging the soc code and hopefully for
>> other purposes as well.
>>
>> The code itself is meant for review but the buildsystem part is mostly
>> rfc. I don't know if building ffmpeg/lavc with
>> openjpeg support makes it unredistributable.
>>
>> Also, I have tested this only with jpeg2k conformance suite since my
>> last attempt to download a R3d file failed
>> miserably :-) It would be interesting to know if those work as well.
>>
>
> ...
> +typedef struct {
> +    opj_dparameters_t dec_params;
> +    uint8_t *img_buf;
> +} LibOpenJPEGContext;
> ...
>
> You did not try with 16bits and 32bits pixel per sample images ?

I'm not sure which pixfmt to use for that :-).
Patch welcome though [1].

[1] http://wiki.multimedia.cx/index.php?title=Small_FFmpeg_Tasks#Generic_Colorspace_system

> Thx

-- 
Regards,

Jai




More information about the ffmpeg-devel mailing list