Home
last modified time | relevance | path

Searched refs:p_tree (Results 1 – 2 of 2) sorted by relevance

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dtgt.c135 opj_tgt_tree_t *opj_tgt_init(opj_tgt_tree_t * p_tree,OPJ_UINT32 p_num_leafs_h, OPJ_UINT32 p_num_lea… in opj_tgt_init() argument
148 if (! p_tree){ in opj_tgt_init()
152 if ((p_tree->numleafsh != p_num_leafs_h) || (p_tree->numleafsv != p_num_leafs_v)) { in opj_tgt_init()
153 p_tree->numleafsh = p_num_leafs_h; in opj_tgt_init()
154 p_tree->numleafsv = p_num_leafs_v; in opj_tgt_init()
159 p_tree->numnodes = 0; in opj_tgt_init()
165 p_tree->numnodes += n; in opj_tgt_init()
171 if (p_tree->numnodes == 0) { in opj_tgt_init()
172 opj_tgt_destroy(p_tree); in opj_tgt_init()
175 l_node_size = p_tree->numnodes * (OPJ_UINT32)sizeof(opj_tgt_node_t); in opj_tgt_init()
[all …]
Dtgt.h96 opj_tgt_tree_t *opj_tgt_init(opj_tgt_tree_t * p_tree,