Searched refs:rdo_offset (Results 1 – 3 of 3) sorted by relevance
/external/libopus/silk/ |
D | NSQ.c | 290 int rdo_offset = Lambda_Q10/2 - 512; in silk_noise_shape_quantizer() local 291 if (q1_Q10 > rdo_offset) { in silk_noise_shape_quantizer() 292 q1_Q0 = silk_RSHIFT( q1_Q10 - rdo_offset, 10 ); in silk_noise_shape_quantizer() 293 } else if (q1_Q10 < -rdo_offset) { in silk_noise_shape_quantizer() 294 q1_Q0 = silk_RSHIFT( q1_Q10 + rdo_offset, 10 ); in silk_noise_shape_quantizer()
|
D | NSQ_del_dec.c | 472 int rdo_offset = Lambda_Q10/2 - 512; in silk_noise_shape_quantizer_del_dec() local 473 if (q1_Q10 > rdo_offset) { in silk_noise_shape_quantizer_del_dec() 474 q1_Q0 = silk_RSHIFT( q1_Q10 - rdo_offset, 10 ); in silk_noise_shape_quantizer_del_dec() 475 } else if (q1_Q10 < -rdo_offset) { in silk_noise_shape_quantizer_del_dec() 476 q1_Q0 = silk_RSHIFT( q1_Q10 + rdo_offset, 10 ); in silk_noise_shape_quantizer_del_dec()
|
/external/libopus/silk/arm/ |
D | NSQ_del_dec_neon_intr.c | 711 const int rdo_offset = Lambda_Q10/2 - 512; in silk_noise_shape_quantizer_del_dec_neon() local 712 … const uint16x4_t greaterThanRdo = vcgt_s16( q1_Q10_s16x4, vdup_n_s16( rdo_offset ) ); in silk_noise_shape_quantizer_del_dec_neon() 713 … const uint16x4_t lessThanMinusRdo = vclt_s16( q1_Q10_s16x4, vdup_n_s16( -rdo_offset ) ); in silk_noise_shape_quantizer_del_dec_neon() 718 …_s16x4 = vbsl_s16( greaterThanRdo, vsub_s16( q1_Q10_s16x4, vdup_n_s16( rdo_offset ) ), q1_Q0_s16x4… in silk_noise_shape_quantizer_del_dec_neon() 719 …16x4 = vbsl_s16( lessThanMinusRdo, vadd_s16( q1_Q10_s16x4, vdup_n_s16( rdo_offset ) ), q1_Q0_s16x4… in silk_noise_shape_quantizer_del_dec_neon()
|