Home
last modified time | relevance | path

Searched refs:in_length (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Bluetooth/system/audio/asrc/
Dasrc_resampler_test.cc41 void Resample(double ratio, const T* in, size_t in_length, size_t* in_count, in Resample() argument
48 r.Resample(round(ldexp(ratio, 26)), in, channels, in_length / channels, in Resample()
55 const int16_t* in, size_t in_length, int16_t* out, in resample_i16() argument
60 .Resample<int16_t>(ratio, in, in_length, &in_count, out, out_length, in resample_i16()
64 fprintf(stderr, "wrong output size: %zu:%zu %zu:%zu\n", in_length, in_count, in resample_i16()
71 const int32_t* in, size_t in_length, int32_t* out, in resample_i32() argument
76 .Resample<int32_t>(ratio, in, in_length, &in_count, out, out_length, in resample_i32()
80 fprintf(stderr, "wrong output size: %zu:%zu %zu:%zu\n", in_length, in_count, in resample_i32()
Dasrc_resampler.cc515 auto in_length = in_size / channels; in Resample() local
520 while (in_length > 0) { in Resample()
521 auto in_data = (const T*)in.data() + (in_size - in_length * channels); in Resample()
535 r.Resample<T>(ratio_q26, in_data++, channels, in_length, &in_count, in Resample()
538 in_length -= in_count; in Resample()