Searched refs:JPC_CEILDIVPOW2 (Results 1 – 5 of 5) sorted by relevance
/external/opencv3/3rdparty/libjasper/ |
D | jpc_tsfb.c | 137 if (jpc_tsfb_analyze2(tsfb, a, JPC_CEILDIVPOW2(xstart, in jpc_tsfb_analyze2() 138 1), JPC_CEILDIVPOW2(ystart, 1), JPC_CEILDIVPOW2( in jpc_tsfb_analyze2() 139 xstart + width, 1) - JPC_CEILDIVPOW2(xstart, 1), in jpc_tsfb_analyze2() 140 JPC_CEILDIVPOW2(ystart + height, 1) - in jpc_tsfb_analyze2() 141 JPC_CEILDIVPOW2(ystart, 1), stride, numlvls - 1)) { in jpc_tsfb_analyze2() 161 if (jpc_tsfb_synthesize2(tsfb, a, JPC_CEILDIVPOW2(xstart, 1), in jpc_tsfb_synthesize2() 162 JPC_CEILDIVPOW2(ystart, 1), JPC_CEILDIVPOW2(xstart + width, in jpc_tsfb_synthesize2() 163 1) - JPC_CEILDIVPOW2(xstart, 1), JPC_CEILDIVPOW2(ystart + in jpc_tsfb_synthesize2() 164 height, 1) - JPC_CEILDIVPOW2(ystart, 1), stride, numlvls - in jpc_tsfb_synthesize2() 214 newxstart = JPC_CEILDIVPOW2(xstart, 1); in jpc_tsfb_getbands2() [all …]
|
D | jpc_math.h | 85 #define JPC_CEILDIVPOW2(x, y) (((x) + (1 << (y)) - 1) >> (y)) macro
|
D | jpc_dec.c | 715 rlvl->xstart = JPC_CEILDIVPOW2(tcomp->xstart, in jpc_dec_tileinit() 717 rlvl->ystart = JPC_CEILDIVPOW2(tcomp->ystart, in jpc_dec_tileinit() 719 rlvl->xend = JPC_CEILDIVPOW2(tcomp->xend, in jpc_dec_tileinit() 721 rlvl->yend = JPC_CEILDIVPOW2(tcomp->yend, in jpc_dec_tileinit() 729 brprcxend = JPC_CEILDIVPOW2(rlvl->xend, in jpc_dec_tileinit() 731 brprcyend = JPC_CEILDIVPOW2(rlvl->yend, in jpc_dec_tileinit() 754 tlcbgxstart = JPC_CEILDIVPOW2(tlprcxstart, 1); in jpc_dec_tileinit() 755 tlcbgystart = JPC_CEILDIVPOW2(tlprcystart, 1); in jpc_dec_tileinit() 756 brcbgxend = JPC_CEILDIVPOW2(brprcxend, 1); in jpc_dec_tileinit() 757 brcbgyend = JPC_CEILDIVPOW2(brprcyend, 1); in jpc_dec_tileinit() [all …]
|
D | jpc_qmfb.c | 308 int bufsize = JPC_CEILDIVPOW2(numcols, 1); in jpc_qmfb_split_row() 376 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_split_col() 444 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_split_colgrp() 533 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_split_colres() 621 int bufsize = JPC_CEILDIVPOW2(numcols, 1); in jpc_qmfb_join_row() 686 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_join_col() 751 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_join_colgrp() 837 int bufsize = JPC_CEILDIVPOW2(numrows, 1); in jpc_qmfb_join_colres()
|
D | jpc_enc.c | 2178 rlvl->tlx = JPC_CEILDIVPOW2(jas_seq2d_xstart(tcmpt->data), tcmpt->numrlvls - in rlvl_create() 2180 rlvl->tly = JPC_CEILDIVPOW2(jas_seq2d_ystart(tcmpt->data), tcmpt->numrlvls - in rlvl_create() 2182 rlvl->brx = JPC_CEILDIVPOW2(jas_seq2d_xend(tcmpt->data), tcmpt->numrlvls - in rlvl_create() 2184 rlvl->bry = JPC_CEILDIVPOW2(jas_seq2d_yend(tcmpt->data), tcmpt->numrlvls - in rlvl_create() 2380 tlcbgtlx = JPC_CEILDIVPOW2(tlprctlx, 1); in prc_create() 2381 tlcbgtly = JPC_CEILDIVPOW2(tlprctly, 1); in prc_create()
|