summaryrefslogtreecommitdiff
path: root/libopenjpeg/tcd.h
diff options
context:
space:
mode:
authorAntonin Descampe <antonin@gmail.com>2005-10-27 07:49:29 +0000
committerAntonin Descampe <antonin@gmail.com>2005-10-27 07:49:29 +0000
commit7ee36c3a4c37d9c8cee30ac19fd5532a3863285b (patch)
tree77a7f1ec3e1b356a3ac4f2cb666e21af37a70728 /libopenjpeg/tcd.h
parent7f8f47566fc1e98ce1aad3ff1a1621bf8b454527 (diff)
1) quantization stepsizes stored as float instead of shifted integers -> fixes a pb of precision when using very small stepsizes. 2) bug fixed when decoding until bitplane 0 -> r-value (1/2) added to the coefficient.
Diffstat (limited to 'libopenjpeg/tcd.h')
-rw-r--r--libopenjpeg/tcd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libopenjpeg/tcd.h b/libopenjpeg/tcd.h
index 3201243d..714d5ea4 100644
--- a/libopenjpeg/tcd.h
+++ b/libopenjpeg/tcd.h
@@ -57,7 +57,6 @@ typedef struct {
typedef struct {
int x0, y0, x1, y1; /* dimension of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */
int numbps;
- int lastbp; /* Add antonin : quantizbug1 */
int numlenbits;
int len; /* length */
int numpasses; /* number of pass already done for the code-blocks */
@@ -84,7 +83,7 @@ typedef struct {
int bandno;
tcd_precinct_t *precincts; /* precinct information */
int numbps;
- int stepsize;
+ float stepsize;
} tcd_band_t;
typedef struct {