diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2017-05-15 14:09:51 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2017-05-15 14:09:51 +0200 |
| commit | 4431fa72657b6c4a92c3cf29cfc5c8df69424a0e (patch) | |
| tree | e648ef276f2e424fccb9c8a35dcad1a9d980a452 /src/lib/openjp2/mqc.c | |
| parent | f7a126af61877cd4623327142521d82a0c19430d (diff) | |
Add comments about non successfull attempt of implementing alternate INITDEC, DECODE and BYTEIN procedures (refs #921)
Diffstat (limited to 'src/lib/openjp2/mqc.c')
| -rw-r--r-- | src/lib/openjp2/mqc.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lib/openjp2/mqc.c b/src/lib/openjp2/mqc.c index 64a44ef5..d5ba1ab6 100644 --- a/src/lib/openjp2/mqc.c +++ b/src/lib/openjp2/mqc.c @@ -448,6 +448,11 @@ void opj_mqc_segmark_enc(opj_mqc_t *mqc) OPJ_BOOL opj_mqc_init_dec(opj_mqc_t *mqc, OPJ_BYTE *bp, OPJ_UINT32 len) { + /* Implements ISO 15444-1 C.3.5 Initialization of the decoder (INITDEC) */ + /* Note: alternate "J.1 - Initialization of the software-conventions */ + /* decoder" has been tried, but does */ + /* not bring any improvement. */ + /* See https://github.com/uclouvain/openjpeg/issues/921 */ opj_mqc_setcurctx(mqc, 0); mqc->start = bp; mqc->end = bp + len; |
