summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/tcd.c
diff options
context:
space:
mode:
authorMickael Savinaud <savmickael@users.noreply.github.com>2012-10-03 15:06:58 +0000
committerMickael Savinaud <savmickael@users.noreply.github.com>2012-10-03 15:06:58 +0000
commitf4a8f7165c4758c553ed27ddc0497b793a95e9b8 (patch)
tree5b768f10b31d03ab69198cd4d6425dabdac08f01 /src/lib/openjp2/tcd.c
parent2d52e409c27521f538ac22ea9bc1dca59c1d8e8e (diff)
[trunk] update global functions of tgt with opj_ prefix
Diffstat (limited to 'src/lib/openjp2/tcd.c')
-rw-r--r--src/lib/openjp2/tcd.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/openjp2/tcd.c b/src/lib/openjp2/tcd.c
index 1b908521..187480f1 100644
--- a/src/lib/openjp2/tcd.c
+++ b/src/lib/openjp2/tcd.c
@@ -919,11 +919,11 @@ opj_bool FUNCTION ( opj_tcd_v2_t *p_tcd, \
} \
\
if (! l_current_precinct->incltree) { \
- l_current_precinct->incltree = tgt_create(l_current_precinct->cw, \
+ l_current_precinct->incltree = opj_tgt_create(l_current_precinct->cw, \
l_current_precinct->ch); \
} \
else{ \
- l_current_precinct->incltree = tgt_init(l_current_precinct->incltree, \
+ l_current_precinct->incltree = opj_tgt_init(l_current_precinct->incltree, \
l_current_precinct->cw, \
l_current_precinct->ch); \
} \
@@ -934,12 +934,12 @@ opj_bool FUNCTION ( opj_tcd_v2_t *p_tcd, \
} \
\
if (! l_current_precinct->imsbtree) { \
- l_current_precinct->imsbtree = tgt_create( \
+ l_current_precinct->imsbtree = opj_tgt_create( \
l_current_precinct->cw, \
l_current_precinct->ch); \
} \
else { \
- l_current_precinct->imsbtree = tgt_init( \
+ l_current_precinct->imsbtree = opj_tgt_init( \
l_current_precinct->imsbtree, \
l_current_precinct->cw, \
l_current_precinct->ch); \
@@ -1419,9 +1419,9 @@ void opj_tcd_free_tile(opj_tcd_v2_t *p_tcd)
l_nb_precincts = l_band->precincts_data_size / sizeof(opj_tcd_precinct_v2_t);
for (precno = 0; precno < l_nb_precincts; ++precno) {
- tgt_destroy(l_precinct->incltree);
+ opj_tgt_destroy(l_precinct->incltree);
l_precinct->incltree = 00;
- tgt_destroy(l_precinct->imsbtree);
+ opj_tgt_destroy(l_precinct->imsbtree);
l_precinct->imsbtree = 00;
(*l_tcd_code_block_deallocate) (l_precinct);
++l_precinct;