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

Subtile decoding: only apply IDWT on areas that participate to the window of interest #1001

Merged
merged 7 commits into from Aug 21, 2017

Conversation

1 participant
@rouault
Collaborator

rouault commented Aug 20, 2017

Continuation of #990 (although in theory it could be applied independantly, but in practice stage2 only makes sense with stage1).

This lowers 'bin/opj_decompress -i ../MAPA.jp2 -o out.tif -d 0,0,256,256' down to 0.860s (IDWT 5x3 case)

Note: for IDWT 5x3 the function that does subtile decoding doesn't use the recent SSE2/AVX2 optimizations

rouault added some commits Aug 14, 2017

Sub-tile decoding: only decode precincts and codeblocks that intersec…
…t the window specified in opj_set_decode_area()
Subtile decoding: only do 5x3 IDWT computations on relevant areas of …
…tile-component buffer.

This lowers 'bin/opj_decompress -i ../MAPA.jp2 -o out.tif -d 0,0,256,256'
down to 0.860s

@rouault rouault merged commit e9bbc6d into uclouvain:master Aug 21, 2017

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details

@rouault rouault moved this from DOING to DONE in OPJ_OPTIM_ROUND1 Aug 28, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment