Searched refs:jpc_firstone (Results 1 – 5 of 5) sorted by relevance
108 int jpc_firstone(int x) in jpc_firstone() function
93 int jpc_firstone(int x);
297 t1 = jpc_firstone(datalen) + 1; in jpc_enc_encpkt()318 assert(jpc_firstone(datalen) < cblk->numlenbits + jpc_floorlog2(passcount)); in jpc_enc_encpkt()
179 p = jpc_firstone(absdelta) - JPC_FIX_FRACBITS; in jpc_abstorelstepsize()180 n = 11 - jpc_firstone(absdelta); in jpc_abstorelstepsize()873 n = jpc_firstone(stepsize); in jpc_calcssmant()885 return jpc_firstone(stepsize) - JPC_FIX_FRACBITS; in jpc_calcssexp()1226 actualnumbps = jpc_firstone(mxmag) + 1; in jpc_enc_encodemainbody()1228 actualnumbps = jpc_firstone(mxmag) + 1 - JPC_FIX_FRACBITS; in jpc_enc_encodemainbody()
160 cblk->numbps = JAS_MAX(jpc_firstone(mx) + 1 - JPC_NUMEXTRABITS, 0); in jpc_enc_enccblks()