Home | History | Annotate | Download | only in libopenjpeg20

Lines Matching refs:stepsize

123 static void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_stepsize);
370 void opj_dwt_encode_stepsize(OPJ_INT32 stepsize, OPJ_INT32 numbps, opj_stepsize_t *bandno_stepsize) {
372 p = opj_int_floorlog2(stepsize) - 13;
373 n = 11 - opj_int_floorlog2(stepsize);
374 bandno_stepsize->mant = (n < 0 ? stepsize >> -n : stepsize << n) & 0x7ff;
524 OPJ_FLOAT64 stepsize;
532 stepsize = 1.0;
535 stepsize = (1 << (gain)) / norm;
537 opj_dwt_encode_stepsize((OPJ_INT32) floor(stepsize * 8192.0), (OPJ_INT32)(prec + gain), &tccp->stepsizes[bandno]);