Skip to content

JP2Grok: readBlockInit initializes synchronous decompression#14264

Merged
rouault merged 1 commit intoOSGeo:masterfrom
boxerab:issue_14257
Mar 31, 2026
Merged

JP2Grok: readBlockInit initializes synchronous decompression#14264
rouault merged 1 commit intoOSGeo:masterfrom
boxerab:issue_14257

Conversation

@boxerab
Copy link
Copy Markdown
Contributor

@boxerab boxerab commented Mar 31, 2026

fixes #14257

What does this PR do?

Grok can decompress in either synchronous or asynchronous mode. This PR forces synchronous mode inside readBlockInit as asynch assumes a window of tiles, and this is not always satisfied in readBock routines. Eventually we will switch back to asynch for best performance.

What are related issues/pull requests?

issue #14257

AI tool usage

  • AI (Copilot or something similar) supported my development of this PR. See our policy about AI tool use. Use of AI tools must be indicated.

Tasklist

  • Make sure code is correctly formatted (cf pre-commit configuration)
  • Add test case(s)
  • Add documentation
  • Updated Python API documentation (swig/include/python/docs/)
  • Review
  • Adjust for comments
  • All CI builds and checks have passed

@boxerab boxerab force-pushed the issue_14257 branch 2 times, most recently from a88b89f to e44dc1d Compare March 31, 2026 10:10
@rouault rouault added this to the 3.13.0 milestone Mar 31, 2026
@rouault rouault merged commit 8242577 into OSGeo:master Mar 31, 2026
37 checks passed
@boxerab boxerab deleted the issue_14257 branch March 31, 2026 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error with JP2GROK driver on "gdalinfo -stats my.jp2" when my.jp2 is 2048x2048

2 participants