[FFmpeg-devel] [PATCH]Accept j2k colourspaces with 1-7 and 9-15 bpp

Carl Eugen Hoyos cehoyos at ag.or.at
Mon May 7 12:19:14 CEST 2012


Only tested with the sample from ticket #1279 (that, iiuc, should be 
decoded incorrectly with the patch) and it looks like a conversion with 

Should I add the following in libopenjpeg_decode_frame()?
avctx->bits_per_raw_sample = image->comps[0].prec;

Please review, Carl Eugen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchj2kbpp.diff
Type: text/x-diff
Size: 2150 bytes
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120507/fb034497/attachment.bin>

More information about the ffmpeg-devel mailing list