Home
last modified time | relevance | path

Searched refs:adapted_frame (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/libjingle/source/talk/media/base/
Dvideoadapter_unittest.cc376 rtc::scoped_ptr<VideoFrame> adapted_frame(listener_->CopyAdaptedFrame()); in TEST_F() local
377 EXPECT_NE(16, *adapted_frame->GetYPlane()); in TEST_F()
378 EXPECT_NE(128, *adapted_frame->GetUPlane()); in TEST_F()
379 EXPECT_NE(128, *adapted_frame->GetVPlane()); in TEST_F()
388 adapted_frame.reset(listener_->CopyAdaptedFrame()); in TEST_F()
389 EXPECT_EQ(16, *adapted_frame->GetYPlane()); in TEST_F()
390 EXPECT_EQ(128, *adapted_frame->GetUPlane()); in TEST_F()
391 EXPECT_EQ(128, *adapted_frame->GetVPlane()); in TEST_F()
394 int64 elapsed_time = adapted_frame->GetElapsedTime(); in TEST_F()
395 int64 timestamp = adapted_frame->GetTimeStamp(); in TEST_F()
[all …]
Dvideocapturer.cc525 VideoFrame* adapted_frame = i420_frame.get(); in OnFrameCaptured() local
528 video_adapter_.AdaptFrame(adapted_frame, &out_frame); in OnFrameCaptured()
534 adapted_frame = out_frame; in OnFrameCaptured()
537 if (!muted_ && !ApplyProcessors(adapted_frame)) { in OnFrameCaptured()
544 adapted_frame->SetToBlack(); in OnFrameCaptured()
546 SignalVideoFrame(this, adapted_frame); in OnFrameCaptured()