diff options
| author | Antonin Descampe <antonin@gmail.com> | 2004-07-20 05:40:55 +0000 |
|---|---|---|
| committer | Antonin Descampe <antonin@gmail.com> | 2004-07-20 05:40:55 +0000 |
| commit | d38080aa00f777a5e7e6788941b945b52f1b9219 (patch) | |
| tree | 0fcf12924bd3a1993bbbe66abfa15cfcfb19882a /libopenjpeg/tcd.c | |
| parent | aa6c1d28ad5525f281fcc34961adcbde43090611 (diff) | |
* Bug fixed in jpt decoding
* Bug fixed in pcrl progression order (profile-1 compliance)
* Change in tcd_dump
Diffstat (limited to 'libopenjpeg/tcd.c')
| -rw-r--r-- | libopenjpeg/tcd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/tcd.c b/libopenjpeg/tcd.c index 061b5ebb..b3b27dd5 100644 --- a/libopenjpeg/tcd.c +++ b/libopenjpeg/tcd.c @@ -64,8 +64,8 @@ void tcd_dump(tcd_image_t * img, int curtileno) fprintf(stderr, "image {\n"); fprintf(stderr, " tw=%d, th=%d x0=%d x1=%d y0=%d y1=%d\n", img->tw, img->th, tcd_img->x0, tcd_img->x1, tcd_img->y0, tcd_img->y1); - for (tileno = 0; tileno < 1; tileno++) { - tcd_tile_t *tile = &tcd_image.tiles[curtileno]; + for (tileno = 0; tileno < img->th*img->tw; tileno++) { + tcd_tile_t *tile = &tcd_image.tiles[tileno]; fprintf(stderr, " tile {\n"); fprintf(stderr, " x0=%d, y0=%d, x1=%d, y1=%d, numcomps=%d\n", tile->x0, tile->y0, tile->x1, tile->y1, tile->numcomps); for (compno = 0; compno < tile->numcomps; compno++) { |
