Home
last modified time | relevance | path

Searched refs:resampler (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/common_audio/resampler/
Dsinc_resampler_unittest.cc60 SincResampler resampler(kSampleRateRatio, SincResampler::kDefaultRequestSize, in TEST() local
64 size_t max_chunk_size = resampler.ChunkSize() * kChunks; in TEST()
70 resampler.Resample(resampler.ChunkSize(), resampled_destination.get()); in TEST()
76 resampler.Resample(max_chunk_size, resampled_destination.get()); in TEST()
82 SincResampler resampler(kSampleRateRatio, SincResampler::kDefaultRequestSize, in TEST() local
85 new float[resampler.ChunkSize()]); in TEST()
90 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST()
94 resampler.Flush(); in TEST()
98 resampler.Resample(resampler.ChunkSize() / 2, resampled_destination.get()); in TEST()
99 for (size_t i = 0; i < resampler.ChunkSize() / 2; ++i) in TEST()
[all …]
Dpush_resampler_unittest.cc19 PushResampler<int16_t> resampler; in TEST() local
20 EXPECT_EQ(-1, resampler.InitializeIfNeeded(-1, 16000, 1)); in TEST()
21 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, -1, 1)); in TEST()
22 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 0)); in TEST()
23 EXPECT_EQ(-1, resampler.InitializeIfNeeded(16000, 16000, 3)); in TEST()
24 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 1)); in TEST()
25 EXPECT_EQ(0, resampler.InitializeIfNeeded(16000, 16000, 2)); in TEST()
Dpush_sinc_resampler_unittest.cc97 PushSincResampler resampler(input_samples, output_samples); in ResampleBenchmarkTest() local
102 resampler.Resample(source_int.get(), in ResampleBenchmarkTest()
110 resampler.Resample(source.get(), in ResampleBenchmarkTest()
152 PushSincResampler resampler(input_block_size, output_block_size); in ResampleTest() local
169 resampler.get_resampler_for_testing()->ChunkSize(); in ResampleTest()
180 resampler.Resample(source_int.get(), in ResampleTest()
191 resampler.Resample(&source[i * input_block_size], in ResampleTest()
DAndroid.bp24 "resampler.cc",
/external/webrtc/webrtc/common_audio/
Dcommon_audio.gyp21 'resampler/include',
26 'resampler/include',
54 'resampler/include/push_resampler.h',
55 'resampler/include/resampler.h',
56 'resampler/push_resampler.cc',
57 'resampler/push_sinc_resampler.cc',
58 'resampler/push_sinc_resampler.h',
59 'resampler/resampler.cc',
60 'resampler/sinc_resampler.cc',
61 'resampler/sinc_resampler.h',
[all …]
DBUILD.gn14 "resampler/include",
44 "resampler/include/push_resampler.h",
45 "resampler/include/resampler.h",
46 "resampler/push_resampler.cc",
47 "resampler/push_sinc_resampler.cc",
48 "resampler/push_sinc_resampler.h",
49 "resampler/resampler.cc",
50 "resampler/sinc_resampler.cc",
51 "resampler/sinc_resampler.h",
197 "resampler/sinc_resampler_sse.cc",
[all …]
/external/tensorflow/tensorflow/contrib/resampler/python/ops/
Dresampler_ops_test.py25 from tensorflow.contrib import resampler
143 outputs = resampler.resampler(data=data_ph, warp=warp_ph)
175 output_tensor = resampler.resampler(data=data_tensor, warp=warp_tensor)
188 output_tensor_64 = resampler.resampler(data=data_tensor_64,
219 outputs = resampler.resampler(constant_op.constant(data),
233 outputs = resampler.resampler(constant_op.constant(data),
246 outputs = resampler.resampler(constant_op.constant(data),
260 outputs = resampler.resampler(constant_op.constant(data),
Dresampler_ops.py23 from tensorflow.contrib.resampler.ops import gen_resampler_ops
32 def resampler(data, warp, name="resampler"): function
59 return gen_resampler_ops.resampler(data_tensor, warp_tensor)
/external/webrtc/webrtc/voice_engine/
Dutility.cc25 PushResampler<int16_t>* resampler, in RemixAndResample() argument
29 resampler, dst_frame); in RemixAndResample()
39 PushResampler<int16_t>* resampler, in RemixAndResample() argument
53 if (resampler->InitializeIfNeeded(sample_rate_hz, dst_frame->sample_rate_hz_, in RemixAndResample()
63 int out_length = resampler->Resample(audio_ptr, src_length, dst_frame->data_, in RemixAndResample()
Dutility.h35 PushResampler<int16_t>* resampler,
45 PushResampler<int16_t>* resampler,
Dutility_unittest.cc130 PushResampler<int16_t> resampler; // Create a new one with every test. in RunResampleTest() local
166 RemixAndResample(src_frame_, &resampler, &dst_frame_); in RunResampleTest()
/external/adhd/cras/src/server/
Dcras_fmt_conv.c40 struct linear_resampler *resampler; member
569 conv->resampler = linear_resampler_create( in cras_fmt_conv_create()
574 if (conv->resampler == NULL) { in cras_fmt_conv_create()
606 if (conv->resampler) in cras_fmt_conv_destroy()
607 linear_resampler_destroy(conv->resampler); in cras_fmt_conv_destroy()
685 conv->resampler, in cras_fmt_conv_in_frames_to_out()
692 conv->resampler, in cras_fmt_conv_in_frames_to_out()
704 conv->resampler, in cras_fmt_conv_out_frames_to_in()
711 conv->resampler, in cras_fmt_conv_out_frames_to_in()
720 linear_resampler_set_rates(conv->resampler, from, to); in cras_fmt_conv_set_linear_resample_rates()
[all …]
/external/webrtc/webrtc/modules/audio_processing/aec/
Decho_cancellation.c133 aecpc->resampler = WebRtcAec_CreateResampler(); in WebRtcAec_Create()
134 if (!aecpc->resampler) { in WebRtcAec_Create()
182 WebRtcAec_FreeResampler(aecpc->resampler); in WebRtcAec_Free()
208 if (WebRtcAec_InitResampler(aecpc->resampler, aecpc->scSampFreq) == -1) { in WebRtcAec_Init()
304 WebRtcAec_ResampleLinear(aecpc->resampler, in WebRtcAec_BufferFarend()
596 retVal = WebRtcAec_GetSkew(aecpc->resampler, skew, &aecpc->skew); in ProcessNormal()
Decho_cancellation_internal.h51 void* resampler; member
/external/tensorflow/tensorflow/contrib/resampler/
D__init__.py23 from tensorflow.contrib.resampler.python.ops.resampler_ops import *
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_core_kernels.cmake101 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/resampler_ops.cc"
102 "${tensorflow_source_dir}/tensorflow/contrib/resampler/ops/resampler_ops.cc"
165 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/resampler_ops.cc"
187 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/*.cu.cc"
Dtf_core_ops.cmake101 GENERATE_CONTRIB_OP_LIBRARY(resampler "${tensorflow_source_dir}/tensorflow/contrib/resampler/ops/re…
Dpython_modules.txt369 tensorflow/contrib/resampler
370 tensorflow/contrib/resampler/kernels
371 tensorflow/contrib/resampler/ops
372 tensorflow/contrib/resampler/python
373 tensorflow/contrib/resampler/python/ops
Dtf_python.cmake399 …DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/tf_python/tensorflow/contrib/resampler/ops/gen_resampler_o…
/external/tensorflow/tensorflow/contrib/
D__init__.py66 from tensorflow.contrib import resampler
DBUILD86 "//tensorflow/contrib/resampler:resampler_py",
/external/libopus/
Dsilk_sources.mk63 silk/resampler.c \
DAndroid.bp101 "silk/resampler.c",
/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_processing_unittest.cc2574 PushResampler<float> resampler; in TEST_P() local
2575 resampler.InitializeIfNeeded(out_rate, ref_rate, out_num); in TEST_P()
2606 static_cast<size_t>(resampler.Resample( in TEST_P()
/external/tensorflow/tensorflow/
DBUILD561 "//tensorflow/contrib/resampler:all_files",

12