Home
last modified time | relevance | path

Searched refs:JAS_MIN (Results 1 – 15 of 15) sorted by relevance

/external/opencv3/3rdparty/libjasper/
Djpc_t1cod.c211 ret = JAS_MIN(ret, numpasses - passno); in JPC_SEGPASSCNT()
382 …hc = JAS_MIN(((f & (JPC_ESIG | JPC_ESGN)) == JPC_ESIG) + ((f & (JPC_WSIG | JPC_WSGN)) == JPC_WSIG)… in jpc_getspb()
383JAS_MIN(((f & (JPC_ESIG | JPC_ESGN)) == (JPC_ESIG | JPC_ESGN)) + ((f & (JPC_WSIG | JPC_WSGN)) == (… in jpc_getspb()
384 …vc = JAS_MIN(((f & (JPC_NSIG | JPC_NSGN)) == JPC_NSIG) + ((f & (JPC_SSIG | JPC_SSGN)) == JPC_SSIG)… in jpc_getspb()
385JAS_MIN(((f & (JPC_NSIG | JPC_NSGN)) == (JPC_NSIG | JPC_NSGN)) + ((f & (JPC_SSIG | JPC_SSGN)) == (… in jpc_getspb()
403 …hc = JAS_MIN(((f & (JPC_ESIG | JPC_ESGN)) == JPC_ESIG) + ((f & (JPC_WSIG | JPC_WSGN)) == JPC_WSIG), in jpc_getscctxno()
404 1) - JAS_MIN(((f & (JPC_ESIG | JPC_ESGN)) == (JPC_ESIG | JPC_ESGN)) + in jpc_getscctxno()
406 …vc = JAS_MIN(((f & (JPC_NSIG | JPC_NSGN)) == JPC_NSIG) + ((f & (JPC_SSIG | JPC_SSGN)) == JPC_SSIG), in jpc_getscctxno()
407 1) - JAS_MIN(((f & (JPC_NSIG | JPC_NSGN)) == (JPC_NSIG | JPC_NSGN)) + in jpc_getscctxno()
Djpc_t2cod.c256 pi->xstep = (!pi->xstep) ? xstep : JAS_MIN(pi->xstep, xstep); in jpc_pi_nextrpcl()
257 pi->ystep = (!pi->ystep) ? ystep : JAS_MIN(pi->ystep, ystep); in jpc_pi_nextrpcl()
351 JAS_MIN(pi->xstep, xstep); in jpc_pi_nextpcrl()
353 JAS_MIN(pi->ystep, ystep); in jpc_pi_nextpcrl()
441 pi->xstep = JAS_MIN(pi->xstep, pi->picomp->hsamp * (1 << in jpc_pi_nextcprl()
444 pi->ystep = JAS_MIN(pi->ystep, pi->picomp->vsamp * (1 << in jpc_pi_nextcprl()
Djas_getopt.c113 jas_optind = JAS_MIN(1, argc); in jas_getopt()
Djpc_t1dec.c404 vscanlen = JAS_MIN(i, 4); in dec_sigpass()
510 vscanlen = JAS_MIN(i, 4); in dec_rawsigpass()
613 vscanlen = JAS_MIN(i, 4); in dec_refpass()
711 vscanlen = JAS_MIN(i, 4); in dec_rawrefpass()
824 vscanlen = JAS_MIN(4, height - i); in dec_clnpass()
Djpc_t1enc.c466 vscanlen = JAS_MIN(i, 4); in jpc_encsigpass()
565 vscanlen = JAS_MIN(i, 4); in jpc_encrawsigpass()
668 vscanlen = JAS_MIN(i, 4); in jpc_encrefpass()
760 vscanlen = JAS_MIN(i, 4); in jpc_encrawrefpass()
868 vscanlen = JAS_MIN(i, 4); in jpc_encclnpass()
Djas_stream.c934 m = JAS_MIN(n - i, 16); in jas_stream_display()
993 cnt = JAS_MIN(n, cnt); in mem_read()
1034 n = JAS_MIN(m->pos_, m->bufsize_) - m->len_; in mem_write()
1045 ret = JAS_MIN(n, cnt); in mem_write()
Djpc_dec.c761 rlvl->cblkwidthexpn = JAS_MIN(ccp->cblkwidthexpn, in jpc_dec_tileinit()
763 rlvl->cblkheightexpn = JAS_MIN(ccp->cblkheightexpn, in jpc_dec_tileinit()
813 prc->xend = JAS_MIN(cbgxend, JAS_CAST(uint_fast32_t, jas_seq2d_xend(band->data))); in jpc_dec_tileinit()
814 prc->yend = JAS_MIN(cbgyend, JAS_CAST(uint_fast32_t, jas_seq2d_yend(band->data))); in jpc_dec_tileinit()
848 tmpxend = JAS_MIN(cblkxend, prc->xend); in jpc_dec_tileinit()
849 tmpyend = JAS_MIN(cblkyend, prc->yend); in jpc_dec_tileinit()
1221 tile->xend = JAS_MIN(dec->tilexoff + (htileno + 1) * in jpc_dec_process_siz()
1223 tile->yend = JAS_MIN(dec->tileyoff + (vtileno + 1) * in jpc_dec_process_siz()
2247 n = JAS_MIN(tpcnt, datacnt); in jpc_ppmstabtostreams()
Djpc_mqdec.c195 n = JAS_MIN(mqdec->maxctxs, numctxs); in jpc_mqdec_setctxs()
Djpc_enc.c1946 tile->brx = JAS_MIN(cp->tilegrdoffx + (htileno + 1) * cp->tilewidth, in jpc_enc_tile_create()
1948 tile->bry = JAS_MIN(cp->tilegrdoffy + (vtileno + 1) * cp->tileheight, in jpc_enc_tile_create()
2204 rlvl->cblkwidthexpn = JAS_MIN(cp->tccp.cblkwidthexpn, rlvl->cbgwidthexpn); in rlvl_create()
2205 rlvl->cblkheightexpn = JAS_MIN(cp->tccp.cblkheightexpn, rlvl->cbgheightexpn); in rlvl_create()
2390 prc->brx = JAS_MIN(jas_seq2d_xend(band->data), cbgtlx + in prc_create()
2392 prc->bry = JAS_MIN(jas_seq2d_yend(band->data), cbgtly + in prc_create()
2530 cblkbrx = JAS_MIN(tlcblktlx + ((cblkxind + 1) << rlvl->cblkwidthexpn), in cblk_create()
2532 cblkbry = JAS_MIN(tlcblktly + ((cblkyind + 1) << rlvl->cblkheightexpn), in cblk_create()
Djpc_mqenc.c255 n = JAS_MIN(mqenc->maxctxs, numctxs); in jpc_mqenc_setctxs()
Djp2_dec.c84 #define JP2_VALIDATELEN (JAS_MIN(JP2_JP_LEN + 16, JAS_STREAM_MAXPUTBACK))
Djpc_t2dec.c311 n = JAS_MIN(numnewpasses, maxpasses); in jpc_dec_decodepkt()
Djas_cm.c526 m = JAS_MIN(total - n, bufmax); in jas_cmxform_apply()
Djas_image.c827 n = JAS_MIN(16, width); in jas_image_dump()
/external/opencv3/3rdparty/libjasper/jasper/
Djas_math.h96 #define JAS_MIN(x, y) \ macro