diff options
| author | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-10-03 09:04:44 +0000 |
|---|---|---|
| committer | Mickael Savinaud <savmickael@users.noreply.github.com> | 2012-10-03 09:04:44 +0000 |
| commit | df870e52413f10f042cca0d2c2507135477aa964 (patch) | |
| tree | 0250c050f5fe858e57c6e35435b38f8d169a635a /src/lib/openjp2/tgt.c | |
| parent | 82afd3a891b86e1b9eacfa0a768257201da477de (diff) | |
[trunk] update global functions of bio.c with opj_prefix and new opj type
Diffstat (limited to 'src/lib/openjp2/tgt.c')
| -rw-r--r-- | src/lib/openjp2/tgt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjp2/tgt.c b/src/lib/openjp2/tgt.c index 4b7dfa53..6f049a53 100644 --- a/src/lib/openjp2/tgt.c +++ b/src/lib/openjp2/tgt.c @@ -308,12 +308,12 @@ void tgt_encode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, OPJ_INT while (low < threshold) { if (low >= node->value) { if (!node->known) { - bio_write(bio, 1, 1); + opj_bio_write(bio, 1, 1); node->known = 1; } break; } - bio_write(bio, 0, 1); + opj_bio_write(bio, 0, 1); ++low; } @@ -345,7 +345,7 @@ OPJ_UINT32 tgt_decode(opj_bio_t *bio, opj_tgt_tree_t *tree, OPJ_UINT32 leafno, O low = node->low; } while (low < threshold && low < node->value) { - if (bio_read(bio, 1)) { + if (opj_bio_read(bio, 1)) { node->value = low; } else { ++low; |
