Searched refs:FLOAT2INT16 (Results 1 – 9 of 9) sorted by relevance
112 output[output_rows * i] = FLOAT2INT16((1/32768.f)*tmp); in mapping_matrix_multiply_channel_in_float()219 input_sample = (opus_int32)FLOAT2INT16(input[input_rows * i]); in mapping_matrix_multiply_channel_out_short()
358 short_dst[i*dst_stride+dst_channel] = FLOAT2INT16(src[i*src_stride]); in opus_copy_channel_out_short()
559 #define PCM2VAL(x) FLOAT2INT16(x)1832 pcm_silk[i] = FLOAT2INT16(st->delay_buffer[i]); in opus_encode_native()1843 pcm_silk[i] = FLOAT2INT16(pcm_buf[total_buffer*st->channels + i]); in opus_encode_native()2215 in[i] = FLOAT2INT16(pcm[i]); in opus_encode_float()
817 pcm[i] = FLOAT2INT16(out[i]); in opus_decode()
1031 dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]); in opus_copy_channel_in_float()
137 static OPUS_INLINE opus_int16 FLOAT2INT16(float x) in FLOAT2INT16() function
2362 in[j] = FLOAT2INT16(pcm[j]); in opus_custom_encode_float()2394 ((opus_int16*)pcm)[j] = FLOAT2INT16(in[j]); in opus_custom_encode()
1238 pcm[j] = FLOAT2INT16 (out[j]);
64 opus_int16 val = FLOAT2INT16(a[i]); in assert_is_equal()