Home
last modified time | relevance | path

Searched refs:maxctxs (Results 1 – 4 of 4) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djpc_mqdec.c107 jpc_mqdec_t *jpc_mqdec_create(int maxctxs, jas_stream_t *in) in jpc_mqdec_create() argument
112 assert(maxctxs > 0); in jpc_mqdec_create()
119 mqdec->maxctxs = maxctxs; in jpc_mqdec_create()
121 if (!(mqdec->ctxs = jas_alloc2(mqdec->maxctxs, sizeof(jpc_mqstate_t *)))) { in jpc_mqdec_create()
195 n = JAS_MIN(mqdec->maxctxs, numctxs); in jpc_mqdec_setctxs()
201 n = mqdec->maxctxs - numctxs; in jpc_mqdec_setctxs()
Djpc_mqenc.c188 jpc_mqenc_t *jpc_mqenc_create(int maxctxs, jas_stream_t *out) in jpc_mqenc_create() argument
197 mqenc->maxctxs = maxctxs; in jpc_mqenc_create()
200 if (!(mqenc->ctxs = jas_alloc2(mqenc->maxctxs, sizeof(jpc_mqstate_t *)))) { in jpc_mqenc_create()
255 n = JAS_MIN(mqenc->maxctxs, numctxs); in jpc_mqenc_setctxs()
261 n = mqenc->maxctxs - numctxs; in jpc_mqenc_setctxs()
Djpc_mqenc.h111 int maxctxs; member
156 jpc_mqenc_t *jpc_mqenc_create(int maxctxs, jas_stream_t *out);
Djpc_mqdec.h106 int maxctxs; member
124 jpc_mqdec_t *jpc_mqdec_create(int maxctxs, jas_stream_t *in);