Home
last modified time | relevance | path

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

/external/opencv3/3rdparty/libjasper/
Djpc_t2cod.c283 trx0 = JPC_CEILDIV(pi->xstart, pi->picomp->hsamp << r); in jpc_pi_nextrpcl()
284 try0 = JPC_CEILDIV(pi->ystart, pi->picomp->vsamp << r); in jpc_pi_nextrpcl()
289 prchind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->x, pi->picomp->hsamp in jpc_pi_nextrpcl()
292 prcvind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->y, pi->picomp->vsamp in jpc_pi_nextrpcl()
376 trx0 = JPC_CEILDIV(pi->xstart, pi->picomp->hsamp << r); in jpc_pi_nextpcrl()
377 try0 = JPC_CEILDIV(pi->ystart, pi->picomp->vsamp << r); in jpc_pi_nextpcrl()
384 prchind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->x, pi->picomp->hsamp in jpc_pi_nextpcrl()
387 prcvind = JPC_FLOORDIVPOW2(JPC_CEILDIV(pi->y, pi->picomp->vsamp in jpc_pi_nextpcrl()
460 trx0 = JPC_CEILDIV(pi->xstart, pi->picomp->hsamp << r); in jpc_pi_nextcprl()
461 try0 = JPC_CEILDIV(pi->ystart, pi->picomp->vsamp << r); in jpc_pi_nextcprl()
[all …]
Djpc_dec.c699 if (!(tcomp->data = jas_seq2d_create(JPC_CEILDIV(tile->xstart, in jpc_dec_tileinit()
700 cmpt->hstep), JPC_CEILDIV(tile->ystart, cmpt->vstep), in jpc_dec_tileinit()
701 JPC_CEILDIV(tile->xend, cmpt->hstep), JPC_CEILDIV(tile->yend, in jpc_dec_tileinit()
1125 JPC_CEILDIV(dec->xstart, cmpt->hstep), tcomp->ystart - in jpc_dec_tiledecode()
1126 JPC_CEILDIV(dec->ystart, cmpt->vstep), jas_matrix_numcols( in jpc_dec_tiledecode()
1194 cmpt->width = JPC_CEILDIV(dec->xend, cmpt->hstep) - in jpc_dec_process_siz()
1195 JPC_CEILDIV(dec->xstart, cmpt->hstep); in jpc_dec_process_siz()
1196 cmpt->height = JPC_CEILDIV(dec->yend, cmpt->vstep) - in jpc_dec_process_siz()
1197 JPC_CEILDIV(dec->ystart, cmpt->vstep); in jpc_dec_process_siz()
1204 dec->numhtiles = JPC_CEILDIV(dec->xend - dec->tilexoff, dec->tilewidth); in jpc_dec_process_siz()
[all …]
Djpc_math.h79 #define JPC_CEILDIV(x, y) (((x) + (y) - 1) / (y)) macro
Djpc_enc.c651 cp->numhtiles = JPC_CEILDIV(cp->refgrdwidth - cp->tilegrdoffx, in cp_create()
653 cp->numvtiles = JPC_CEILDIV(cp->refgrdheight - cp->tilegrdoffy, in cp_create()
2068 tlx = JPC_CEILDIV(tile->tlx, ccp->sampgrdstepx); in tcmpt_create()
2069 tly = JPC_CEILDIV(tile->tly, ccp->sampgrdstepy); in tcmpt_create()
2070 brx = JPC_CEILDIV(tile->brx, ccp->sampgrdstepx); in tcmpt_create()
2071 bry = JPC_CEILDIV(tile->bry, ccp->sampgrdstepy); in tcmpt_create()
2079 cmpttlx = JPC_CEILDIV(cp->imgareatlx, ccp->sampgrdstepx); in tcmpt_create()
2080 cmpttly = JPC_CEILDIV(cp->imgareatly, ccp->sampgrdstepy); in tcmpt_create()