/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/tools/ |
neteq_performance_test.cc | 111 int samples_per_channel; local 112 int error = neteq->GetAudio(kOutDataLen, out_data, &samples_per_channel, 117 assert(samples_per_channel == kSampRateHz * 10 / 1000);
|
neteq_rtpplay.cc | 275 int samples_per_channel; local 276 int error = neteq->GetAudio(kOutDataLen, out_data, &samples_per_channel, 283 sample_rate_hz = 1000 * samples_per_channel / kOutputBlockSizeMs; 288 size_t write_len = samples_per_channel * num_channels;
|
/external/webrtc/src/modules/audio_processing/ |
audio_buffer.cc | 25 int16_t* out, int samples_per_channel) { 27 for (int i = 0; i < samples_per_channel; i++) { 65 int samples_per_channel) 71 samples_per_channel_(samples_per_channel), 72 samples_per_split_channel_(samples_per_channel), 181 int AudioBuffer::samples_per_channel() const { function in class:webrtc::AudioBuffer
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/neteq/ |
neteq_external_decoder_unittest.cc | 161 int samples_per_channel; local 165 &samples_per_channel, &num_channels, 168 EXPECT_EQ(output_size_samples_, samples_per_channel); 172 &samples_per_channel, &num_channels, 175 EXPECT_EQ(output_size_samples_, samples_per_channel);
|
neteq_impl_unittest.cc | 463 int samples_per_channel; local 469 kMaxOutputSize, output, &samples_per_channel, &num_channels, &type)); 470 ASSERT_EQ(kMaxOutputSize, samples_per_channel); 482 EXPECT_EQ(rtp_header.header.timestamp + output[samples_per_channel - 1], 494 EXPECT_EQ(kPayloadLengthSamples - output[samples_per_channel - 1],
|
neteq_stereo_unittest.cc | 215 int samples_per_channel; local 219 &samples_per_channel, &num_channels, 222 EXPECT_EQ(output_size_samples_, samples_per_channel); 227 &samples_per_channel, &num_channels, 230 EXPECT_EQ(output_size_samples_, samples_per_channel);
|
neteq_unittest.cc | 465 int samples_per_channel = 0; local 470 samples_per_channel = 0; 473 ASSERT_EQ(0, neteq_->GetAudio(kBlockSize32kHz, output, &samples_per_channel, 476 ASSERT_EQ(expected_samples_per_channel, samples_per_channel); 486 samples_per_channel = 0; 491 ASSERT_EQ(0, neteq_->GetAudio(kBlockSize32kHz, output, &samples_per_channel, 494 ASSERT_EQ(expected_samples_per_channel, samples_per_channel); 506 samples_per_channel = 0; 508 ASSERT_EQ(0, neteq_->GetAudio(kBlockSize32kHz, output, &samples_per_channel, 511 ASSERT_EQ(expected_samples_per_channel, samples_per_channel); 948 int samples_per_channel; local 981 int samples_per_channel; local 1112 int samples_per_channel; local 1190 int samples_per_channel; local 1259 int samples_per_channel; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
audio_buffer.cc | 56 int samples_per_channel) { 57 for (int i = 0; i < samples_per_channel; ++i) { 63 int samples_per_channel) { 64 for (int i = 0; i < samples_per_channel; ++i) { 78 IFChannelBuffer(int samples_per_channel, int num_channels) 80 ibuf_(samples_per_channel, num_channels), 82 fbuf_(samples_per_channel, num_channels) {} 212 int samples_per_channel, 214 assert(samples_per_channel == input_samples_per_channel_); 250 void AudioBuffer::CopyTo(int samples_per_channel, 377 int AudioBuffer::samples_per_channel() const { function in class:webrtc::AudioBuffer [all...] |
audio_processing_impl.h | 56 int samples_per_channel() const { return samples_per_channel_; } function in class:webrtc::AudioRate 111 int samples_per_channel, 119 int samples_per_channel,
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_receiver.cc | 357 int samples_per_channel; local 400 &samples_per_channel, 421 current_sample_rate_hz_ = samples_per_channel * 100; 430 samples_per_channel = 437 if (samples_per_channel < 0) { 443 memcpy(audio_frame->data_, audio_buffer_, samples_per_channel * 450 samples_per_channel = 457 if (samples_per_channel < 0) { 461 memcpy(audio_frame->data_, audio_buffer_, samples_per_channel * 467 audio_frame->samples_per_channel_ = samples_per_channel; [all...] |
/external/webrtc/src/modules/audio_processing/test/ |
process_test.cc | 162 int samples_per_channel = sample_rate_hz / 100; local 199 samples_per_channel = sample_rate_hz / 100; 548 samples_per_channel = msg.sample_rate() / 100; 550 far_frame._payloadDataLengthInSamples = samples_per_channel; 553 near_frame._payloadDataLengthInSamples = samples_per_channel; 571 ASSERT_EQ(sizeof(int16_t) * samples_per_channel * 603 ASSERT_EQ(sizeof(int16_t) * samples_per_channel * 662 size_t size = samples_per_channel * near_frame._audioChannel; 704 far_frame._payloadDataLengthInSamples = samples_per_channel; 707 near_frame._payloadDataLengthInSamples = samples_per_channel; [all...] |
unit_test.cc | 145 int samples_per_channel) { 146 for (int i = 0; i < samples_per_channel; i++) { 1071 const int samples_per_channel = test->sample_rate() \/ 100; local [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/ |
process_test.cc | 164 int samples_per_channel = sample_rate_hz / 100; local 201 samples_per_channel = sample_rate_hz / 100; 604 samples_per_channel = msg.sample_rate() / 100; 606 far_frame.samples_per_channel_ = samples_per_channel; 609 near_frame.samples_per_channel_ = samples_per_channel; 611 reverse_cb.reset(new ChannelBuffer<float>(samples_per_channel, 613 primary_cb.reset(new ChannelBuffer<float>(samples_per_channel, 635 ASSERT_EQ(sizeof(int16_t) * samples_per_channel * 682 ASSERT_EQ(sizeof(int16_t) * samples_per_channel * 770 size_t num_samples = samples_per_channel * apm->num_output_channels() [all...] |
audio_processing_unittest.cc | 69 ChannelBuffer<int16_t> cb_int(cb->samples_per_channel(), 72 cb->samples_per_channel(), 76 cb->samples_per_channel() * cb->num_channels(), 104 int samples_per_channel) { 105 for (int i = 0; i < samples_per_channel; ++i) { 111 int samples_per_channel) { 112 for (int i = 0; i < samples_per_channel; i++) 116 void CopyLeftToRightChannel(int16_t* stereo, int samples_per_channel) { 117 for (int i = 0; i < samples_per_channel; i++) { 122 void VerifyChannelsAreEqual(int16_t* stereo, int samples_per_channel) { 1675 const int samples_per_channel = test->sample_rate() * local [all...] |