Lines Matching refs:maxabs
86 opus_int32 maxabs, absval, idx=0, sc_Q16;
132 maxabs = 0;
135 if( absval > maxabs ) {
136 maxabs = absval;
140 maxabs = silk_RSHIFT_ROUND( maxabs, QA + 1 - 12 ); /* QA+1 -> Q12 */
142 if( maxabs > silk_int16_MAX ) {
144 maxabs = silk_min( maxabs, 163838 ); /* ( silk_int32_MAX >> 14 ) + silk_int16_MAX = 163838 */
145 sc_Q16 = SILK_FIX_CONST( 0.999, 16 ) - silk_DIV32( silk_LSHIFT( maxabs - silk_int16_MAX, 14 ),
146 silk_RSHIFT32( silk_MUL( maxabs, idx + 1), 2 ) );