Searched refs:opj_int_floorlog2 (Results 1 – 5 of 5) sorted by relevance
168 static INLINE OPJ_INT32 opj_int_floorlog2(OPJ_INT32 a) { in opj_int_floorlog2() function
688 … increment = (OPJ_UINT32)opj_int_max((OPJ_INT32)increment, opj_int_floorlog2((OPJ_INT32)len) + 1 in opj_t2_encode_packet()689 … - ((OPJ_INT32)cblk->numlenbits + opj_int_floorlog2((OPJ_INT32)nump))); in opj_t2_encode_packet()708 …opj_bio_write(bio, (OPJ_UINT32)len, cblk->numlenbits + (OPJ_UINT32)opj_int_floorlog2((OPJ_INT32)nu… in opj_t2_encode_packet()
377 p = opj_int_floorlog2(stepsize) - 13; in opj_dwt_encode_stepsize()378 n = 11 - opj_int_floorlog2(stepsize); in opj_dwt_encode_stepsize()
6572 tccp->cblkw = (OPJ_UINT32)opj_int_floorlog2(parameters->cblockw_init); in opj_j2k_setup_encoder()6573 tccp->cblkh = (OPJ_UINT32)opj_int_floorlog2(parameters->cblockh_init); in opj_j2k_setup_encoder()6594 … tccp->prcw[it_res] = (OPJ_UINT32)opj_int_floorlog2(parameters->prcw_init[p]); in opj_j2k_setup_encoder()6600 … tccp->prch[it_res] = (OPJ_UINT32)opj_int_floorlog2(parameters->prch_init[p]); in opj_j2k_setup_encoder()6616 … tccp->prcw[it_res] = (OPJ_UINT32)opj_int_floorlog2(size_prcw); in opj_j2k_setup_encoder()6622 … tccp->prch[it_res] = (OPJ_UINT32)opj_int_floorlog2(size_prch); in opj_j2k_setup_encoder()
1593 cblk->numbps = max ? (OPJ_UINT32)((opj_int_floorlog2(max) + 1) - T1_NMSEDEC_FRACBITS) : 0; in opj_t1_encode_cblk()