Home
last modified time | relevance | path

Searched refs:video_file_ (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/webrtc/test/testsupport/metrics/
Dvideo_metrics_unittest.cc30 video_file_ = webrtc::test::ResourcePath("foreman_cif_short", "yuv"); in VideoMetricsTest()
51 std::string video_file_; member in webrtc::VideoMetricsTest
56 EXPECT_EQ(0, I420PSNRFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
62 EXPECT_EQ(0, I420SSIMFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
68 EXPECT_EQ(0, I420MetricsFromFiles(video_file_.c_str(), video_file_.c_str(), in TEST_F()
79 video_file_.c_str(), kWidth, kHeight, in TEST_F()
86 video_file_.c_str(), kWidth, kHeight, in TEST_F()
93 video_file_.c_str(), kWidth, kHeight, in TEST_F()
100 I420PSNRFromFiles(video_file_.c_str(), non_existing_file_.c_str(), in TEST_F()
106 I420SSIMFromFiles(video_file_.c_str(), non_existing_file_.c_str(), in TEST_F()
[all …]
/external/webrtc/talk/media/devices/
Dfilevideocapturer.cc46 if (!video_file_.Open(filename, "wb", &err)) { in Start()
54 video_file_.Close(); in Stop()
58 if (rtc::SS_CLOSED == video_file_.GetState()) { in RecordFrame()
84 if (rtc::SR_SUCCESS != video_file_.Write(buffer.Data(), in RecordFrame()
93 if (rtc::SR_SUCCESS != video_file_.Write(frame.data, in RecordFrame()
188 if (!video_file_.Open(filename, "rb", &err)) { in Init()
196 video_file_.Close(); in Init()
200 if (!video_file_.SetPosition(0)) { in Init()
202 video_file_.Close(); in Init()
236 if (rtc::SS_CLOSED == video_file_.GetState()) { in Start()
[all …]
Dfilevideocapturer.h71 rtc::FileStream video_file_;
146 rtc::FileStream video_file_; variable