Home
last modified time | relevance | path

Searched refs:input_frame_ (Results 1 – 5 of 5) sorted by relevance

/external/webrtc/modules/video_coding/utility/
Dsimulcast_test_fixture_impl.cc293 input_frame_ = std::make_unique<webrtc::VideoFrame>( in SetUpCodec()
322 input_frame_->set_timestamp(input_frame_->timestamp() + 3000); in RunActiveStreamsTest()
323 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest()
326 input_frame_->set_timestamp(input_frame_->timestamp() + 3000); in RunActiveStreamsTest()
327 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in RunActiveStreamsTest()
419 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
422 input_frame_->set_timestamp(input_frame_->timestamp() + 3000); in TestKeyFrameRequestsOnAllStreams()
423 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
427 input_frame_->set_timestamp(input_frame_->timestamp() + 3000); in TestKeyFrameRequestsOnAllStreams()
428 EXPECT_EQ(0, encoder_->Encode(*input_frame_, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
[all …]
Dsimulcast_test_fixture_impl.h84 std::unique_ptr<VideoFrame> input_frame_; variable
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc51 input_frame_.sample_rate_hz_ = source_rate_hz_;
52 input_frame_.num_channels_ = 1;
53 input_frame_.samples_per_channel_ = input_block_size_samples_;
54 assert(input_block_size_samples_ * input_frame_.num_channels_ <=
83 input_frame_.num_channels_ = num_channels; in RegisterCodec()
84 assert(input_block_size_samples_ * input_frame_.num_channels_ <= in RegisterCodec()
91 input_frame_.num_channels_ = external_speech_encoder->NumChannels(); in RegisterExternalCodec()
93 assert(input_block_size_samples_ * input_frame_.num_channels_ <= in RegisterExternalCodec()
110 input_block_size_samples_ * input_frame_.num_channels_, in NextPacket()
111 input_frame_.mutable_data())); in NextPacket()
[all …]
Daudio_coding_module_unittest.cc184 input_frame_.sample_rate_hz_ = kSampleRateHz; in SetUp()
185 input_frame_.num_channels_ = 1; in SetUp()
186 input_frame_.samples_per_channel_ = kSampleRateHz * 10 / 1000; // 10 ms. in SetUp()
189 input_frame_.Mute(); in SetUp()
228 ASSERT_GE(acm_->Add10MsData(input_frame_), 0); in InsertAudio()
229 input_frame_.timestamp_ += kNumSamples10ms; in InsertAudio()
247 AudioFrame input_frame_; member in webrtc::AudioCodingModuleTestOldApi
309 uint32_t expected_ts = input_frame_.timestamp_; in TEST_F()
647 memcpy(input_frame_.mutable_data(), audio_loop_.GetNextBlock().data(), in InsertAudio()
1658 input_frame_.sample_rate_hz_ = kSampleRateHz; in TEST_F()
[all …]
Dacm_send_test.h74 AudioFrame input_frame_; variable