Searched refs:stepsize (Results 1 - 8 of 8) sorted by relevance
/haiku-fatelf/src/add-ons/translators/icns/openjpeg/ |
H A D | dwt.c | 117 static void dwt_encode_stepsize(int stepsize, int numbps, opj_stepsize_t *bandno_stepsize); 309 static void dwt_encode_stepsize(int stepsize, int numbps, opj_stepsize_t *bandno_stepsize) { argument 311 p = int_floorlog2(stepsize) - 13; 312 n = 11 - int_floorlog2(stepsize); 313 bandno_stepsize->mant = (n < 0 ? stepsize >> -n : stepsize << n) & 0x7ff; 481 double stepsize; local 489 stepsize = 1.0; 492 stepsize = (1 << (gain)) / norm; 494 dwt_encode_stepsize((int) floor(stepsize * 8192. [all...] |
H A D | tcd.h | 124 float stepsize; member in struct:opj_tcd_band
|
H A D | t1.c | 229 double stepsize, 240 @param stepsize 253 double stepsize, 1090 double stepsize, 1102 wmsedec = w1 * w2 * stepsize * (1 << bpno); 1153 double stepsize, 1207 tempwmsedec = t1_getwmsedec(nmsedec, compno, level, orient, bpno, qmfbid, stepsize, numcomps, mct); 1418 int bandconst = 8192 * 8192 / ((int) floor(band->stepsize * 8192)); 1481 band->stepsize, 1568 float tmp = *datap * band->stepsize; 1083 t1_getwmsedec( int nmsedec, int compno, int level, int orient, int bpno, int qmfbid, double stepsize, int numcomps, int mct) argument 1146 t1_encode_cblk( opj_t1_t *t1, opj_tcd_cblk_enc_t* cblk, int orient, int compno, int level, int qmfbid, double stepsize, int cblksty, int numcomps, int mct, opj_tcd_tile_t * tile) argument [all...] |
H A D | tcd.c | 64 " x0=%d, y0=%d, x1=%d, y1=%d, stepsize=%f, numbps=%d\n", 65 band->x0, band->y0, band->x1, band->y1, band->stepsize, band->numbps); 286 band->stepsize = (float)((1.0 + ss->mant / 2048.0) * pow(2.0, numbps - ss->expn)); 546 band->stepsize = (float)((1.0 + ss->mant / 2048.0) * pow(2.0, numbps - ss->expn)); 794 band->stepsize = (float)(((1.0 + ss->mant / 2048.0) * pow(2.0, numbps - ss->expn)) * 0.5);
|
/haiku-fatelf/src/add-ons/translators/jpeg2000/libjasper/ |
H A D | jpc_dec.h | 414 int stepsize; member in struct:__anon2807
|
H A D | jpc_enc.h | 470 int stepsize; member in struct:jpc_enc_band_s
|
H A D | jpc_enc.c | 196 void quantize(jas_matrix_t *data, jpc_fix_t stepsize); 913 int jpc_calcssmant(jpc_fix_t stepsize) argument 919 n = jpc_firstone(stepsize); 922 m = (stepsize >> (n - 11)) & 0x7ff; 924 m = (stepsize & ((1 << n) - 1)) << (11 - n); 929 int jpc_calcssexp(jpc_fix_t stepsize) argument 931 return jpc_firstone(stepsize) - JPC_FIX_FRACBITS; 1291 band->stepsize = jpc_abstorelstepsize( 1295 JPC_QCX_GETEXPN(band->stepsize) - 1; 1301 comp->stepsizes[absbandno] = band->stepsize; 1532 quantize(jas_matrix_t *data, jpc_fix_t stepsize) argument [all...] |
H A D | jpc_dec.c | 229 static jpc_fix_t jpc_calcabsstepsize(int stepsize, int numbits); 821 band->stepsize = ccp->stepsizes[bndno]; 824 band->absstepsize = jpc_calcabsstepsize(band->stepsize, 827 JPC_QCX_GETEXPN(band->stepsize) - 1; 1785 static jpc_fix_t jpc_calcabsstepsize(int stepsize, int numbits) argument 1792 absstepsize |= (n >= 0) ? (JPC_QCX_GETMANT(stepsize) << n) : 1793 (JPC_QCX_GETMANT(stepsize) >> (-n)); 1794 n = numbits - JPC_QCX_GETEXPN(stepsize);
|
Completed in 108 milliseconds