Home
last modified time | relevance | path

Searched refs:FLOAT2INT16 (Results 1 – 9 of 9) sorted by relevance

/external/libopus/src/
Dmapping_matrix.c112 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()
Dopus_multistream_decoder.c358 short_dst[i*dst_stride+dst_channel] = FLOAT2INT16(src[i*src_stride]); in opus_copy_channel_out_short()
Dopus_encoder.c559 #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()
Dopus_decoder.c817 pcm[i] = FLOAT2INT16(out[i]); in opus_decode()
Dopus_multistream_encoder.c1031 dst[i*dst_stride] = FLOAT2INT16(float_src[i*src_stride+src_channel]); in opus_copy_channel_in_float()
/external/libopus/celt/
Dfloat_cast.h137 static OPUS_INLINE opus_int16 FLOAT2INT16(float x) in FLOAT2INT16() function
Dcelt_encoder.c2362 in[j] = FLOAT2INT16(pcm[j]); in opus_custom_encode_float()
2394 ((opus_int16*)pcm)[j] = FLOAT2INT16(in[j]); in opus_custom_encode()
Dcelt_decoder.c1238 pcm[j] = FLOAT2INT16 (out[j]);
/external/libopus/tests/
Dtest_opus_projection.c64 opus_int16 val = FLOAT2INT16(a[i]); in assert_is_equal()