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

Michael Niedermayer michaelni at gmx.at
Wed Mar 4 11:10:03 CET 2015


On Wed, Mar 04, 2015 at 10:08:56AM +0200, Vilius Grigaliūnas wrote:
> 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.

the best way would be to improve our jpeg2000 decoder so its at least
as good as libopenjpeg then it can be used and it would have access
to everything from the bitstream to determine the colorspace ...


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The greatest way to live with honor in this world is to be what we pretend
to be. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150304/d7cdd816/attachment.asc>


More information about the ffmpeg-devel mailing list