summaryrefslogtreecommitdiff
path: root/src/lib/j2k_image_proxy.h
AgeCommit message (Collapse)Author
2024-04-21Rename classes to follow preparatory renames in libdcp.Carl Hetherington
2024-03-20Remove all use of add_child() from xmlpp.Carl Hetherington
2022-04-09Add some missing override labels.Carl Hetherington
2021-09-27Replace aligned bool with enum Alignment.Carl Hetherington
2021-09-27Various alignment adjustments.Carl Hetherington
2021-05-01C++11 tidying.Carl Hetherington
2021-02-26Add accessor for _eye in J2kImageProxy.Carl Hetherington
2021-01-31More enum class additions.Carl Hetherington
2021-01-07std::shared_ptrCarl Hetherington
2020-11-02Pass around JPEG2000 data as a shared_ptr and hence avoid a copyCarl Hetherington
of 4MB of data for every JPEG2000 frame we decode.
2020-04-17Rename send_binary -> write_to_socket.Carl Hetherington
2020-04-14Ignore and report failures to decode frames during playback (#1593).Carl Hetherington
2020-04-14Use a struct rather than a std::pair as the return type from ImageProxy::image.Carl Hetherington
2018-11-06Remove some unused parameters.Carl Hetherington
2018-11-06Move deinterleave of OpenJPEGImage to Image into the prepare(), meaningCarl Hetherington
that it can be multi-threaded. This allows the bit shift for non-12bpp JPEG2000 sources to be done at the same time as the deinterleave. Should speed up DCP playback in some cases.
2018-10-12Change MagickImageProxy to FFmpegImageProxy and make it use FFmpegCarl Hetherington
to decode images. Hence remove {Image,Graphics}Magick.
2018-04-13Account for J2K decoding at lower-than-maximum resolution when croppingv2.13.14Carl Hetherington
the resulting images; fixes #1274.
2017-12-29Add basic memory-used stuff for butler and reduce minimum audioCarl Hetherington
readahead quite a bit. This in turn reduces the maximum butler memory usage as it will keep getting audio (and hence video) until the minimum audio readahead is hit.
2017-08-14Basics of forced reduction of JPEG2000 decode resolution.Carl Hetherington
2017-07-26Multi-threaded decode of DCP when previewing.Carl Hetherington
2017-07-26Rename some variables.Carl Hetherington
2016-11-26Reduce during J2K decode where possible for playback (#986).Carl Hetherington
2016-06-29Fix handling of incorrectly-recognised JPEG2000 files.Carl Hetherington
Previously we asked libdcp whether an imported J2K file was RGB or XYZ. The answer it gives is sometimes wrong, for reasons that are not clear (either the files are not marked correctly, or openjpeg is not parsing whatever metadata correctly). However it seems that, in general, we use the user's specified colour conversion to decide what to do with an image, rather than asking the image what should be done to it. Hence it makes more sense to assume that if a user specifies no colour conversion for a J2K file then the file is XYZ. With preview, the colour conversion from XYZ back to RGB is done by FFmpeg, so we have to set the pixel format correctly on the Image that comes back from J2KImageProxy. Now we get that pixel format from the configured colourspace conversion rather than from openjpeg's guess as to the file's colourspace. It's a bit ugly that the only thing we ask the file about is whether or not it is in YUV (which governs whether or not FFmpeg applies the user's configured YUV-to-RGB conversion). Everything else is decided by the configured conversion. I think there's still some uglyness in here that I can't put my finger on.
2016-05-25No-op; fix GPL address and use the explicit-program-name version.Carl Hetherington
2015-12-04Fix build.Carl Hetherington
2015-12-04Use libdcp's compress_j2k; move Data into libdcp.Carl Hetherington
2015-10-29Fix incorrect colourspace conversion of XYZ contentCarl Hetherington
when it is not being passed through as untouched JPEG2000 (#730).
2015-09-01Add basic test for client/server with a J2K image.Carl Hetherington
2015-08-26Include tidying src/lib/a-j*.hCarl Hetherington
2015-06-21No-op: remove all trailing whitespace.Carl Hetherington
2015-06-11Use better J2KImageProxy::same() method.Carl Hetherington
2015-06-10Tidy up J2KImageProxy a bit.Carl Hetherington
2015-06-10Rename EncodedData -> Data and trim it a bit.Carl Hetherington
2015-02-08Actually fix previous.Carl Hetherington
2015-01-07Make a note in the log when XYZ values are clamped by libdcp on XYZ -> RGB ↵Carl Hetherington
conversion.
2014-12-05Some include tidying.Carl Hetherington
2014-11-23First cut at J2K import.Carl Hetherington
2014-11-07Remove log from ImageProxy hierarchy.Carl Hetherington
2014-07-10Basics of direct write of J2K data without encode/decode.Carl Hetherington
2014-07-09Split up image_proxy.{cc,h}Carl Hetherington