Home
last modified time | relevance | path

Searched refs:frac_Q7 (Results 1 – 3 of 3) sorted by relevance

/external/libopus/silk/
Dlog2lin.c40 opus_int32 out, frac_Q7; in silk_log2lin() local
49 frac_Q7 = inLog_Q7 & 0x7F; in silk_log2lin()
52 …= silk_ADD_RSHIFT32( out, silk_MUL( out, silk_SMLAWB( frac_Q7, silk_SMULBB( frac_Q7, 128 - frac_Q7 in silk_log2lin()
55 … = silk_MLA( out, silk_RSHIFT( out, 7 ), silk_SMLAWB( frac_Q7, silk_SMULBB( frac_Q7, 128 - frac_Q7 in silk_log2lin()
Dlin2log.c39 opus_int32 lz, frac_Q7; in silk_lin2log() local
41 silk_CLZ_FRAC( inLin, &lz, &frac_Q7 ); in silk_lin2log()
44 …return silk_ADD_LSHIFT32( silk_SMLAWB( frac_Q7, silk_MUL( frac_Q7, 128 - frac_Q7 ), 179 ), 31 - lz… in silk_lin2log()
DInlines.h59 opus_int32 *frac_Q7 /* O the 7 bits right after the leading one */ in silk_CLZ_FRAC() argument
65 * frac_Q7 = silk_ROR32(in, 24 - lzeros) & 0x7f; in silk_CLZ_FRAC()
73 opus_int32 y, lz, frac_Q7; in silk_SQRT_APPROX() local
79 silk_CLZ_FRAC(x, &lz, &frac_Q7); in silk_SQRT_APPROX()
91 y = silk_SMLAWB(y, y, silk_SMULBB(213, frac_Q7)); in silk_SQRT_APPROX()