Lines Matching refs:stepsize
151 static int jpc_calcssexp(jpc_fix_t stepsize);
152 static int jpc_calcssmant(jpc_fix_t stepsize);
153 void jpc_quantize(jas_matrix_t *data, jpc_fix_t stepsize);
867 static int jpc_calcssmant(jpc_fix_t stepsize) in jpc_calcssmant() argument
873 n = jpc_firstone(stepsize); in jpc_calcssmant()
876 m = (stepsize >> (n - 11)) & 0x7ff; in jpc_calcssmant()
878 m = (stepsize & ((1 << n) - 1)) << (11 - n); in jpc_calcssmant()
883 static int jpc_calcssexp(jpc_fix_t stepsize) in jpc_calcssexp() argument
885 return jpc_firstone(stepsize) - JPC_FIX_FRACBITS; in jpc_calcssexp()
1245 band->stepsize = jpc_abstorelstepsize( in jpc_enc_encodemainbody()
1249 JPC_QCX_GETEXPN(band->stepsize) - 1; in jpc_enc_encodemainbody()
1255 comp->stepsizes[absbandno] = band->stepsize; in jpc_enc_encodemainbody()
1486 void jpc_quantize(jas_matrix_t *data, jpc_fix_t stepsize) in jpc_quantize() argument
1492 if (stepsize == jpc_inttofix(1)) { in jpc_quantize()
1502 t = jpc_fix_neg(jpc_fix_div(jpc_fix_neg(t), stepsize)); in jpc_quantize()
1504 t = jpc_fix_div(t, stepsize); in jpc_quantize()
2289 band->stepsize = 0; in band_create()