Home
last modified time | relevance | path

Searched refs:resampler (Results 1 – 25 of 29) 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
61 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
645 conv->resampler = linear_resampler_create( in cras_fmt_conv_create()
650 if (conv->resampler == NULL) { in cras_fmt_conv_create()
684 if (conv->resampler) in cras_fmt_conv_destroy()
685 linear_resampler_destroy(conv->resampler); in cras_fmt_conv_destroy()
764 conv->resampler, in cras_fmt_conv_in_frames_to_out()
771 conv->resampler, in cras_fmt_conv_in_frames_to_out()
783 conv->resampler, in cras_fmt_conv_out_frames_to_in()
790 conv->resampler, in cras_fmt_conv_out_frames_to_in()
799 linear_resampler_set_rates(conv->resampler, from, to); in cras_fmt_conv_set_linear_resample_rates()
[all …]
/external/tensorflow/tensorflow/contrib/resampler/xla/
Dresampler_ops_xla_test.py24 from tensorflow.contrib import resampler
25 from tensorflow.contrib.resampler.ops import gen_resampler_ops
36 resampled = resampler.resampler(input_image, warp, name='resampler')
/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/
DBUILD117 "//tensorflow/contrib/resampler:resampler_ops",
118 "//tensorflow/contrib/resampler:resampler_py",
D__init__.py23 from tensorflow.contrib.resampler.python.ops.resampler_ops import *
/external/tensorflow/tensorflow/contrib/cmake/
Dtf_core_kernels.cmake94 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/resampler_ops.cc"
95 "${tensorflow_source_dir}/tensorflow/contrib/resampler/ops/resampler_ops.cc"
157 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/resampler_ops.cc"
189 "${tensorflow_source_dir}/tensorflow/contrib/resampler/kernels/*.cu.cc"
Dtf_core_ops.cmake107 GENERATE_CONTRIB_OP_LIBRARY(resampler "${tensorflow_source_dir}/tensorflow/contrib/resampler/ops/re…
Dpython_modules.txt361 tensorflow/contrib/resampler
362 tensorflow/contrib/resampler/kernels
363 tensorflow/contrib/resampler/ops
364 tensorflow/contrib/resampler/python
365 tensorflow/contrib/resampler/python/ops
/external/speex/
DTODO18 --enable-{aec,preprocessor,jitter,resampler}
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/
DBUILD200 # A separate cc_library for resampler_ops is needed because resampler is in
201 # contrib/, and thus the declaration of resampler cannot be pulled into the deps
203 # corresponding tf_kernel_library is defined in contrib/resampler/BUILD.
/external/tensorflow/tensorflow/contrib/
D__init__.py74 from tensorflow.contrib import resampler
DBUILD88 "//tensorflow/contrib/resampler:resampler_py",
/external/libopus/
Dsilk_sources.mk63 silk/resampler.c \

12