Home
last modified time | relevance | path

Searched refs:LAPLACE_MINP (Results 1 – 2 of 2) sorted by relevance

/external/libopus/celt/
Dlaplace.c38 #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()
[all …]
/external/libopus/celt/tests/
Dtest_unit_laplace.c47 opus_uint32 ft = 32768 - LAPLACE_MINP*(2*LAPLACE_NMIN+1); in ec_laplace_get_start_freq()
49 return fs+LAPLACE_MINP; in ec_laplace_get_start_freq()