-
Notifications
You must be signed in to change notification settings - Fork 617
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
Refactor deep tests to separate file, fix deep chunk reads, ripmap reading #1076
Refactor deep tests to separate file, fix deep chunk reads, ripmap reading #1076
Conversation
…ading Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
src/lib/OpenEXRCore/unpack.c
Outdated
@@ -992,6 +995,186 @@ generic_unpack (exr_decode_pipeline_t* decode) | |||
return EXR_ERR_SUCCESS; | |||
} | |||
|
|||
//static exr_result_t |
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.
Should this commented-out code be removed altogether?
src/lib/OpenEXRCore/unpack.c
Outdated
@@ -1017,7 +1200,8 @@ internal_exr_match_decode ( | |||
init_cpu_check = 0; | |||
} | |||
|
|||
/* TODO */ | |||
/* we don't decode deep for now, it is up to the user to do that (for efficiency) */ | |||
//if (isdeep) return &generic_unpack_deep; |
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.
Should this commented-out line be removed?
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.
LGTM, except for the commented-out code. OK to keep it temporarily if it's useful.
I was misinterpreting the data coming in, which is why I had disabled this thinking I would limit scope. But after talking to Peter today, I think I will uncomment it shortly and provide that again |
- add safety check to zip - fix piz decompressor - add optimization for unpack - fix pointer deep read - reenable deep decoding Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
Signed-off-by: Kimball Thurston kdt3rd@gmail.com