Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching full:stepsize

121 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_stepsize);
375 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_stepsize) {
377 p = opj_int_floorlog2(stepsize) - 13;
378 n = 11 - opj_int_floorlog2(stepsize);
379 bandno_stepsize->mant = (n < 0 ? stepsize >> -n : stepsize << n) & 0x7ff;
531 OPJ_FLOAT64 stepsize;
539 stepsize = 1.0;
542 stepsize = (1 << (gain)) / norm;
544 opj_dwt_encode_stepsize((OPJ_INT32) floor(stepsize * 8192.0), (OPJ_INT32)(prec + gain), &tccp->stepsizes[bandno]);