Home
last modified time | relevance | path

Searched refs:mqenc (Results 1 – 5 of 5) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djpc_mqenc.c180 static void jpc_mqenc_setbits(jpc_mqenc_t *mqenc);
190 jpc_mqenc_t *mqenc; in jpc_mqenc_create() local
193 if (!(mqenc = jas_malloc(sizeof(jpc_mqenc_t)))) { in jpc_mqenc_create()
196 mqenc->out = out; in jpc_mqenc_create()
197 mqenc->maxctxs = maxctxs; in jpc_mqenc_create()
200 if (!(mqenc->ctxs = jas_alloc2(mqenc->maxctxs, sizeof(jpc_mqstate_t *)))) { in jpc_mqenc_create()
205 mqenc->curctx = mqenc->ctxs; in jpc_mqenc_create()
207 jpc_mqenc_init(mqenc); in jpc_mqenc_create()
210 jpc_mqenc_setctxs(mqenc, 0, 0); in jpc_mqenc_create()
212 return mqenc; in jpc_mqenc_create()
[all …]
Djpc_t1enc.c88 static int jpc_encsigpass(jpc_mqenc_t *mqenc, int bitpos, int orient, int,
91 static int jpc_encrefpass(jpc_mqenc_t *mqenc, int bitpos, int, jas_matrix_t *flags,
94 static int jpc_encclnpass(jpc_mqenc_t *mqenc, int bitpos, int orient, int,
216 cblk->mqenc = jpc_mqenc_create(JPC_NUMCTXS, cblk->stream); in jpc_enc_enccblk()
217 assert(cblk->mqenc); in jpc_enc_enccblk()
218 jpc_mqenc_setctxs(cblk->mqenc, JPC_NUMCTXS, jpc_mqctxs); in jpc_enc_enccblk()
280 ret = (pass->type == JPC_SEG_MQ) ? jpc_encsigpass(cblk->mqenc, in jpc_enc_enccblk()
287 ret = (pass->type == JPC_SEG_MQ) ? jpc_encrefpass(cblk->mqenc, in jpc_enc_enccblk()
295 ret = jpc_encclnpass(cblk->mqenc, bitpos, band->orient, in jpc_enc_enccblk()
306 jpc_mqenc_init(cblk->mqenc); in jpc_enc_enccblk()
[all …]
Djpc_mqenc.h211 int jpc_mqenc_dump(jpc_mqenc_t *mqenc, FILE *out);
Djpc_enc.h319 jpc_mqenc_t *mqenc; member
Djpc_enc.c2432 cblk->mqenc = 0; in prc_create()
2516 cblk->mqenc = 0; in cblk_create()
2562 if (cblk->mqenc) { in cblk_destroy()
2563 jpc_mqenc_destroy(cblk->mqenc); in cblk_destroy()