Lines Matching refs:LAPLACE_MINP
38 #define LAPLACE_MINP (1<<LAPLACE_LOG_MINP) macro
47 ft = 32768 - LAPLACE_MINP*(2*LAPLACE_NMIN) - fs0; in ec_laplace_get_freq1()
68 fl += fs+2*LAPLACE_MINP; in ec_laplace_encode()
76 ndi_max = (32768-fl+LAPLACE_MINP-1)>>LAPLACE_LOG_MINP; in ec_laplace_encode()
79 fl += (2*di+1+s)*LAPLACE_MINP; in ec_laplace_encode()
80 fs = IMIN(LAPLACE_MINP, 32768-fl); in ec_laplace_encode()
85 fs += LAPLACE_MINP; in ec_laplace_encode()
105 fs = ec_laplace_get_freq1(fs, decay)+LAPLACE_MINP; in ec_laplace_decode()
107 while(fs > LAPLACE_MINP && fm >= fl+2*fs) in ec_laplace_decode()
111 fs = ((fs-2*LAPLACE_MINP)*(opus_int32)decay)>>15; in ec_laplace_decode()
112 fs += LAPLACE_MINP; in ec_laplace_decode()
116 if (fs <= LAPLACE_MINP) in ec_laplace_decode()
121 fl += 2*di*LAPLACE_MINP; in ec_laplace_decode()