Searched refs:src_frames (Results 1 – 6 of 6) sorted by relevance
/external/webrtc/webrtc/common_audio/ |
D | audio_converter.cc | 28 CopyConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in CopyConverter() argument 30 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in CopyConverter() 45 UpmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in UpmixConverter() argument 47 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) {} in UpmixConverter() 63 DownmixConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in DownmixConverter() argument 65 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in DownmixConverter() 73 for (size_t i = 0; i < src_frames(); ++i) { in Convert() 84 ResampleConverter(size_t src_channels, size_t src_frames, size_t dst_channels, in ResampleConverter() argument 86 : AudioConverter(src_channels, src_frames, dst_channels, dst_frames) { in ResampleConverter() 89 resamplers_.push_back(new PushSincResampler(src_frames, dst_frames)); in ResampleConverter() [all …]
|
D | audio_converter.h | 30 size_t src_frames, 43 size_t src_frames() const { return src_frames_; } in src_frames() function 49 AudioConverter(size_t src_channels, size_t src_frames, size_t dst_channels,
|
D | audio_converter_unittest.cc | 100 const size_t src_frames = static_cast<size_t>(src_sample_rate_hz / 100); in RunAudioConverterTest() local 106 ScopedBuffer src_buffer = CreateBuffer(src_data, src_frames); in RunAudioConverterTest() 136 src_channels, src_frames, dst_channels, dst_frames); in RunAudioConverterTest()
|
/external/adhd/cras/src/server/ |
D | linear_resampler.c | 112 unsigned int *src_frames, in linear_resampler_resample() argument 124 if (dst_frames == 0 || *src_frames == 0) { in linear_resampler_resample() 125 *src_frames = 0; in linear_resampler_resample() 137 if (src_pos > *src_frames - 1 || dst_idx >= dst_frames) { in linear_resampler_resample() 138 if (src_pos > *src_frames - 1) in linear_resampler_resample() 139 src_idx = *src_frames - 1; in linear_resampler_resample() 150 if (src_idx == *src_frames - 1) { in linear_resampler_resample() 162 *src_frames = src_idx + 1; in linear_resampler_resample() 164 lr->src_offset += *src_frames; in linear_resampler_resample()
|
D | linear_resampler.h | 54 unsigned int *src_frames,
|
/external/adhd/cras/src/tests/ |
D | fmt_conv_unittest.cc | 1574 unsigned int *src_frames, in linear_resampler_resample() argument 1578 unsigned int resampled_fr = *src_frames * linear_resampler_ratio; in linear_resampler_resample() 1582 *src_frames = dst_frames / linear_resampler_ratio; in linear_resampler_resample()
|