Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/video_coding/codecs/vp8/
Dsimulcast_unittest.h311 input_frame_.CreateEmptyFrame(kDefaultWidth, kDefaultHeight, kDefaultWidth, in SetUpCodec()
313 memset(input_frame_.buffer(kYPlane), 0, in SetUpCodec()
314 input_frame_.allocated_size(kYPlane)); in SetUpCodec()
315 memset(input_frame_.buffer(kUPlane), 0, in SetUpCodec()
316 input_frame_.allocated_size(kUPlane)); in SetUpCodec()
317 memset(input_frame_.buffer(kVPlane), 0, in SetUpCodec()
318 input_frame_.allocated_size(kVPlane)); in SetUpCodec()
386 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
389 input_frame_.set_timestamp(input_frame_.timestamp() + 3000); in TestKeyFrameRequestsOnAllStreams()
390 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, &frame_types)); in TestKeyFrameRequestsOnAllStreams()
[all …]
/external/webrtc/webrtc/modules/video_coding/utility/
Dquality_scaler_unittest.cc47 input_frame_.CreateEmptyFrame(kWidth, kHeight, kWidth, kHalfWidth, in QualityScalerTest()
51 qs_.OnEncodeFrame(input_frame_); in QualityScalerTest()
55 qs_.OnEncodeFrame(input_frame_); in TriggerScale()
72 qs_.OnEncodeFrame(input_frame_); in TriggerScale()
81 EXPECT_EQ(&input_frame_, &qs_.GetScaledFrame(input_frame_)) in ExpectOriginalFrame()
86 qs_.OnEncodeFrame(input_frame_); in ExpectScaleUsingReportedResolution()
88 const VideoFrame& scaled_frame = qs_.GetScaledFrame(input_frame_); in ExpectScaleUsingReportedResolution()
112 VideoFrame input_frame_; member in webrtc::QualityScalerTest
120 qs_.OnEncodeFrame(input_frame_); in TEST_F()
122 EXPECT_EQ(input_frame_.width(), res.width); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dacm_send_test_oldapi.cc42 input_frame_.sample_rate_hz_ = source_rate_hz_; in AcmSendTestOldApi()
43 input_frame_.num_channels_ = 1; in AcmSendTestOldApi()
44 input_frame_.samples_per_channel_ = input_block_size_samples_; in AcmSendTestOldApi()
45 assert(input_block_size_samples_ * input_frame_.num_channels_ <= in AcmSendTestOldApi()
61 input_frame_.num_channels_ = channels; in RegisterCodec()
62 assert(input_block_size_samples_ * input_frame_.num_channels_ <= in RegisterCodec()
70 input_frame_.num_channels_ = external_speech_encoder->NumChannels(); in RegisterExternalCodec()
71 assert(input_block_size_samples_ * input_frame_.num_channels_ <= in RegisterExternalCodec()
88 audio_source_->Read(input_block_size_samples_, input_frame_.data_)); in NextPacket()
89 if (input_frame_.num_channels_ > 1) { in NextPacket()
[all …]
Daudio_coding_module_unittest_oldapi.cc170 input_frame_.sample_rate_hz_ = kSampleRateHz; in SetUp()
171 input_frame_.num_channels_ = 1; in SetUp()
172 input_frame_.samples_per_channel_ = kSampleRateHz * 10 / 1000; // 10 ms. in SetUp()
175 memset(input_frame_.data_, in SetUp()
177 input_frame_.samples_per_channel_ * sizeof(input_frame_.data_[0])); in SetUp()
213 ASSERT_GE(acm_->Add10MsData(input_frame_), 0); in InsertAudio()
214 input_frame_.timestamp_ += kNumSamples10ms; in InsertAudio()
233 AudioFrame input_frame_; member in webrtc::AudioCodingModuleTestOldApi
336 uint32_t expected_ts = input_frame_.timestamp_; in TEST_F()
670 memcpy(input_frame_.data_, audio_loop_.GetNextBlock().data(), in InsertAudio()
Dacm_send_test_oldapi.h75 AudioFrame input_frame_; variable
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc140 input_frame_.CreateEmptyFrame(codec_inst_.width, codec_inst_.height, in SetUp()
142 input_frame_.set_timestamp(kTestTimestamp); in SetUp()
146 kVideoRotation_0, &input_frame_)); in SetUp()
188 VideoFrame input_frame_; member in webrtc::TestVp8Impl
230 encoder_->Encode(input_frame_, NULL, NULL); in TEST_F()
239 EXPECT_GT(I420PSNR(&input_frame_, &decoded_frame_), 36); in TEST_F()
251 encoder_->Encode(input_frame_, NULL, NULL); in TEST_F()
266 EXPECT_GT(I420PSNR(&input_frame_, &decoded_frame_), 36); in TEST_F()
271 EXPECT_EQ(0, encoder_->Encode(input_frame_, NULL, NULL)); in TEST_F()