Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching refs:nodes

88         tree->nodes = (opj_tgt_node_t*) opj_calloc(tree->numnodes, sizeof(opj_tgt_node_t));
89 if(!tree->nodes) {
90 opj_event_msg(manager, EVT_ERROR, "Not enough memory to create Tag-tree nodes\n");
96 node = tree->nodes;
97 l_parent_node = &tree->nodes[tree->numleafsh * tree->numleafsv];
176 opj_tgt_node_t* new_nodes = (opj_tgt_node_t*) opj_realloc(p_tree->nodes, l_node_size);
182 p_tree->nodes = new_nodes;
183 memset(((char *) p_tree->nodes) + p_tree->nodes_size, 0 , l_node_size - p_tree->nodes_size);
186 l_node = p_tree->nodes;
187 l_parent_node = &p_tree->nodes[p_tree->numleafsh * p_tree->numleafsv];
226 if (p_tree->nodes) {
227 opj_free(p_tree->nodes);
228 p_tree->nodes = 00;
241 l_current_node = p_tree->nodes;
253 node = &tree->nodes[leafno];
267 node = &tree->nodes[leafno];
307 node = &tree->nodes[leafno];