HomeSort by relevance Sort by last modified time
    Searched refs:kChannels (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/
sync_buffer_unittest.cc 20 static const size_t kChannels = 2;
21 SyncBuffer sync_buffer(kChannels, kLen);
22 EXPECT_EQ(kChannels, sync_buffer.Channels());
27 for (size_t channel = 0; channel < kChannels; ++channel) {
37 static const size_t kChannels = 2;
38 SyncBuffer sync_buffer(kChannels, kLen);
53 static const size_t kChannels = 2;
54 SyncBuffer sync_buffer(kChannels, kLen);
56 AudioMultiVector new_data(kChannels, kNewLen);
58 for (size_t channel = 0; channel < kChannels; ++channel)
    [all...]
dsp_helper_unittest.cc 50 static const int kChannels = 5;
51 AudioMultiVector input(kChannels, kLen * 3);
54 for (int channel = 0; channel < kChannels; ++channel) {
72 for (int channel = 0; channel < kChannels; ++channel) {
78 for (int channel = 0; channel < kChannels; ++channel) {
84 for (int channel = 0; channel < kChannels; ++channel) {
  /external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/
input_audio_file_unittest.cc 22 static const size_t kChannels = 2;
27 int16_t output[kSamples * kChannels];
28 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, output);
33 for (size_t j = 0; j < kChannels; ++j) {
41 static const size_t kChannels = 5;
42 int16_t input[kSamples * kChannels];
46 InputAudioFile::DuplicateInterleaved(input, kSamples, kChannels, input);
51 for (size_t j = 0; j < kChannels; ++j) {
  /external/chromium_org/remoting/codec/
audio_encoder_opus_unittest.cc 22 const int kChannels = 2;
71 std::vector<int16> data(samples * kChannels);
73 data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0);
74 data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1);
79 samples * kChannels * sizeof(int16));
92 i < received_data.size() / kChannels - 1; i++) {
93 int16 this_sample = received_data[i * kChannels];
94 int16 next_sample = received_data[(i + 1) * kChannels];
113 i < received_data.size() / kChannels; i++) {
114 double d = received_data[i * kChannels]
    [all...]
  /external/chromium_org/media/base/
audio_fifo_unittest.cc 28 static const int kChannels = 6;
30 AudioFifo fifo(kChannels, kMaxFrameCount);
36 static const int kChannels = 2;
38 AudioFifo fifo(kChannels, kMaxFrameCount);
41 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kMaxFrameCount / 2);
49 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kMaxFrameCount);
59 static const int kChannels = 2;
61 AudioFifo fifo(kChannels, kMaxFrameCount);
63 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kMaxFrameCount);
69 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kMaxFrameCount / 2)
    [all...]
audio_pull_fifo_unittest.cc 21 static int kChannels = 2;
30 : pull_fifo_(kChannels, kMaxFramesInFifo, base::Bind(
32 audio_bus_(AudioBus::Create(kChannels, kMaxFramesInFifo)),
52 for (int j = 0; j < kChannels; ++j) {
audio_bus_unittest.cc 16 static const int kChannels = 6;
32 EXPECT_EQ(kChannels, bus->channels());
108 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kFrameCount);
124 data_.reserve(kChannels);
125 for (int i = 0; i < kChannels; ++i) {
169 scoped_ptr<AudioBus> bus1 = AudioBus::Create(kChannels, kFrameCount);
179 data_.reserve(kChannels);
180 for (int i = 0; i < kChannels; ++i) {
203 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kFrameCount);
386 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, kFrameCount)
    [all...]
audio_splicer_unittest.cc 20 static const int kChannels = 1;
41 kChannels,
57 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames);
112 scoped_ptr<AudioBus> bus = AudioBus::Create(kChannels, frames);
  /external/chromium_org/remoting/client/
audio_player.cc 14 const int kChannels = 2;
39 DCHECK_EQ(static_cast<int>(kChannels), packet->channels());
40 DCHECK_EQ(packet->data(0).size() % (kChannels * kSampleSizeBytes), 0u);
70 kMaxQueueLatencyMs * sampling_rate_ * kSampleSizeBytes * kChannels /
99 const size_t bytes_needed = kChannels * kSampleSizeBytes *
  /external/chromium_org/third_party/webrtc/voice_engine/
utility_unittest.cc 226 const int kChannels[] = {1, 2};
227 const int kChannelsSize = sizeof(kChannels) / sizeof(*kChannels);
232 RunResampleTest(kChannels[src_channel], kSampleRates[src_rate],
233 kChannels[dst_channel], kSampleRates[dst_rate],
244 const int kChannels[] = {1, 2};
245 const int kChannelsSize = sizeof(kChannels) / sizeof(*kChannels);
251 RunResampleTest(kChannels[src_channel], kSampleRates[src_rate],
252 kChannels[src_channel], kSampleRates[dst_rate]
    [all...]
  /external/chromium_org/remoting/host/
audio_capturer_win.cc 18 const int kChannels = 2;
123 wave_format_ex_->nChannels = kChannels;
125 wave_format_ex_->nBlockAlign = kChannels * kBytesPerSample;
127 sampling_rate_ * kChannels * kBytesPerSample;
146 wave_format_extensible->Format.nChannels = kChannels;
150 kChannels * kBytesPerSample;
152 sampling_rate_ * kChannels * kBytesPerSample;
193 silence_detector_.Reset(sampling_rate_, kChannels);
247 reinterpret_cast<const int16*>(data), frames * kChannels)) {
audio_capturer_linux.cc 45 AudioPipeReader::kChannels);
74 packet->set_channels(AudioPipeReader::kChannels);
  /external/chromium_org/native_client_sdk/src/examples/api/audio/
audio.cc 26 const uint32_t kChannels = 2u;
72 (sizeof(*buff) * kChannels * instance->sample_frame_count_));
82 for (size_t channel = 0; channel < kChannels; ++channel) {
  /external/chromium_org/media/filters/
audio_renderer_algorithm_unittest.cc 440 const int kChannels = 3;
444 scoped_ptr<AudioBus> a = AudioBus::Create(kChannels, kFrames);
445 scoped_ptr<AudioBus> b = AudioBus::Create(kChannels, kFrames);
447 scoped_ptr<float[]> dot_prod(new float[kChannels]);
473 const int kChannels = 2;
477 scoped_ptr<AudioBus> a = AudioBus::Create(kChannels, kFrames);
478 scoped_ptr<float[]> energies(new float[kChannels * kNumBlocks]);
511 const int kChannels = 2;
519 scoped_ptr<AudioBus> search_region = AudioBus::Create(kChannels,
533 scoped_ptr<AudioBus> target = AudioBus::Create(kChannels,
    [all...]
audio_renderer_impl_unittest.cc 47 static int kChannels = ChannelLayoutToChannelCount(kChannelLayout);
290 AudioBus::Create(kChannels, requested_frames.value);
  /external/chromium_org/third_party/webrtc/common_audio/resampler/
resampler_unittest.cc 120 const int kChannels = 2;
128 int in_length = kChannels * kRates[i] / 100;
134 EXPECT_EQ(kChannels * kRates[j] / 100, out_length);
  /external/webrtc/src/common_audio/resampler/
resampler_unittest.cc 120 const int kChannels = 2;
128 int in_length = kChannels * kRates[i] / 100;
134 EXPECT_EQ(kChannels * kRates[j] / 100, out_length);
  /external/chromium_org/remoting/host/linux/
audio_pipe_reader.h 36 static const AudioPacket_Channels kChannels = AudioPacket::CHANNELS_STEREO;
audio_pipe_reader_unittest.cc 105 AudioPipeReader::kChannels *
audio_pipe_reader.cc 21 AudioPipeReader::kChannels *
194 int incomplete_samples_bytes = pos % (kChannels * kBytesPerSample);
  /external/chromium_org/chrome/browser/media/
cast_transport_host_filter_unittest.cc 105 const int kChannels = 2;
106 audio_frame.data = std::string(kSamples * kBytesPerSample * kChannels, 'q');
  /external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
initial_delay_unittest.cc 70 const int kChannels[2] = { 1, 2 };
73 AudioCodingModule::Codec("L16", &codec, kFsHz[n], kChannels[k]);
  /external/chromium_org/chrome/installer/util/
channel_info.cc 28 const wchar_t* const kChannels[] = {
168 for (const wchar_t* const* scan = &kChannels[0],
169 *const* end = &kChannels[arraysize(kChannels)]; scan != end;
  /external/chromium_org/ppapi/tests/
test_media_stream_audio_track.cc 397 const uint32_t kChannels = 2;
423 ASSERT_EQ(buffer.GetNumberOfChannels(), kChannels);
430 uint32_t bytes_per_frame = kChannels * 2;
431 ASSERT_EQ(num_samples, (kChannels * kBufferSize * sample_rate) / 1000);
  /external/opencv/cxcore/include/
cvwimage.h 264 enum { kChannels = C };
362 enum { kChannels = C };
458 enum { kChannels = C };

Completed in 556 milliseconds

1 2