[FFmpeg-devel] [PATCH 2/2] acvodec/lipopenjpeg: Improve XYZ color space detection

Vilius Grigaliūnas vilius.grigaliunas at gmail.com
Wed Mar 4 09:08:56 CET 2015


On Wed, Mar 4, 2015 at 1:03 AM, Michael Niedermayer <michaelni at gmx.at> wrote:
> this detects codestreams_profile0/p0_08.j2k as xyz, is this intended?

No, this seems to be a regression. At the moment there is not enough
information in openjpeg data structures (opj_image_t specifically) to
reliably determine whether given image is is 12-bit XYZ  or 12-bit
RGB. I do not know how the best way to handle this case. Unless we can
find some additional way to determine this, one of these cases will be
broken.


More information about the ffmpeg-devel mailing list