Ticket #1636 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

Problems with multi-tile ycbcr encoded jpeg2000 data (JP2KAK)

Reported by: warmerdam Assigned to: warmerdam
Priority: normal Milestone: 1.4.2
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords: JP2KAK
Cc:

Description

Multi-tile jpeg2000 files that need to be decoded through ProcessYCbCrTile() are not being handled properly because the jpeg2000 tile offseting for the "primary request band" is being done in IReadBlock() but the same is not being done for the buffers from the block cache.

A patch addressing the issue is attached (provided by Daniel Lehman). The data file demonstrating the issue is not redistributable, and so is not attached.

Attachments

jp2kakdataset.ALL.patch (2.5 kB) - added by warmerdam on 05/14/07 13:23:26.
Proposed patch

Change History

05/14/07 13:23:26 changed by warmerdam

  • attachment jp2kakdataset.ALL.patch added.

Proposed patch

05/14/07 13:39:15 changed by warmerdam

  • status changed from new to closed.
  • resolution set to fixed.

A slightly modified variation of the patch has been applied in 1.4-esri (r11512), trunk (r11513) and 1.4 (r11514).