Searched refs:ROUND_MULL (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavcodec/ |
D | opus_silk.c | 188 int x = av_sat_sub32(prevrow[j], ROUND_MULL(prevrow[k - j - 1], rc, 31)); in silk_is_lpc_stable() 189 int64_t tmp = ROUND_MULL(x, gain, fbits); in silk_is_lpc_stable() 209 pol[i + 1] = pol[i - 1] * 2 - ROUND_MULL(lsp[2 * i], pol[i], 16); in silk_lsp2poly() 211 pol[j] += pol[j - 2] - ROUND_MULL(lsp[2 * i], pol[j - 1], 16); in silk_lsp2poly() 269 lpc32[k] = ROUND_MULL(lpc32[k], chirp, 16); in silk_lsf2lpc() 294 lpc32[k] = ROUND_MULL(lpc32[k], chirp, 16); in silk_lsf2lpc()
|
D | opus.h | 51 #define ROUND_MULL(a,b,s) (((MUL64(a, b) >> ((s) - 1)) + 1) >> 1) macro
|