Skip to content
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

Merged
merged 2 commits into from
Jul 4, 2021

Conversation

kdt3rd
Copy link
Contributor

@kdt3rd kdt3rd commented Jun 28, 2021

Signed-off-by: Kimball Thurston kdt3rd@gmail.com

…ading

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
@@ -992,6 +995,186 @@ generic_unpack (exr_decode_pipeline_t* decode)
return EXR_ERR_SUCCESS;
}

//static exr_result_t
Copy link
Member

@cary-ilm cary-ilm Jun 28, 2021

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?

@@ -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;
Copy link
Member

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?

Copy link
Member

@cary-ilm cary-ilm left a 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.

@kdt3rd
Copy link
Contributor Author

kdt3rd commented Jun 30, 2021

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>
@kdt3rd kdt3rd merged commit c3f291b into AcademySoftwareFoundation:master Jul 4, 2021
@kdt3rd kdt3rd deleted the fix_core_deep_read branch July 4, 2021 20:09
@cary-ilm cary-ilm added the v3.1.0 label Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants