Searched refs:frac_Q7 (Results 1 – 3 of 3) sorted by relevance
/external/libopus/silk/ |
D | log2lin.c | 40 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()
|
D | lin2log.c | 39 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()
|
D | Inlines.h | 59 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()
|