-
-
Notifications
You must be signed in to change notification settings - Fork 308
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
extract stream decoding to Decoder classes #1321
Conversation
CMakeLists.txt
Outdated
@@ -243,7 +243,7 @@ endif() | |||
plugin_option(OpenJPEG_ENCODER "OpenJPEG J2K encoder" OFF ON) | |||
plugin_option(OpenJPEG_DECODER "OpenJPEG J2K decoder" OFF ON) | |||
if (WITH_OpenJPEG_ENCODER OR WITH_OpenJPEG_DECODER) | |||
find_package(OpenJPEG 2) | |||
find_package(OpenJPEG) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know why you do this (I do too), but probably not wanted in this PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think I'll have to put that on .gitignore
. No matter how much care I take, sooner or later it slips through :-)
…orwards the call to the Decoder object
…essed_item_data()
…image data anymore and the locking should be in Box_iloc::read_data() anyway
Move actual bitstream decoding into
Decoder
classes that can decode data irrespective where the data is located in the file.