Home
last modified time | relevance | path

Searched refs:source_file_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/third_party/webrtc/common_video/libyuv/
Dscaler_unittest.cc39 FILE* source_file_; member in webrtc::TestScaler
51 : source_file_(NULL), in TestScaler()
64 source_file_ = fopen(input_file_name.c_str(), "rb"); in SetUp()
65 ASSERT_TRUE(source_file_ != NULL) << "Cannot read file: "<< in SetUp()
72 if (source_file_ != NULL) { in TearDown()
73 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
75 source_file_ = NULL; in TearDown()
103 EXPECT_GT(fread(orig_buffer.get(), 1, frame_length_, source_file_), 0U); in TEST_F()
125 source_file_, out_name, in TEST_F()
136 avg_psnr = ComputeAvgSequencePSNR(source_file_, out_name, width_, height_); in TEST_F()
[all …]
Dlibyuv_unittest.cc85 FILE* source_file_; member in webrtc::TestLibYuv
96 : source_file_(NULL), in TestLibYuv()
109 source_file_ = fopen(input_file_name.c_str(), "rb"); in SetUp()
110 ASSERT_TRUE(source_file_ != NULL) << "Cannot read file: "<< in SetUp()
113 EXPECT_EQ(fread(orig_buffer_.get(), 1, frame_length_, source_file_), in SetUp()
125 if (source_file_ != NULL) { in TearDown()
126 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
128 source_file_ = NULL; in TearDown()
/external/chromium_org/third_party/webrtc/modules/video_processing/main/test/unit_test/
Dbrightness_detection_test.cc23 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
39 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
47 rewind(source_file_); in TEST_F()
50 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
81 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
88 rewind(source_file_); in TEST_F()
91 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
117 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Ddeflickering_test.cc32 fclose(source_file_); in TEST_F()
35 source_file_ = fopen(input_file.c_str(), "rb"); in TEST_F()
36 ASSERT_TRUE(source_file_ != NULL) << in TEST_F()
55 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
79 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
88 rewind(source_file_); in TEST_F()
Dvideo_processing_unittest.cc34 source_file_(NULL), in VideoProcessingModuleTest()
54 source_file_ = fopen(video_file.c_str(),"rb"); in SetUp()
55 ASSERT_TRUE(source_file_ != NULL) << in SetUp()
60 if (source_file_ != NULL) { in TearDown()
61 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
63 source_file_ = NULL; in TearDown()
92 source_file_)); in TEST_F()
129 source_file_)); in TEST_F()
143 source_file_)); in TEST_F()
159 source_file_)); in TEST_F()
[all …]
Dcolor_enhancement_test.cc29 fclose(source_file_); in TEST_F()
32 source_file_ = fopen(video_file.c_str(), "rb"); in TEST_F()
33 ASSERT_TRUE(source_file_ != NULL) << in TEST_F()
43 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
59 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
112 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Dcontent_metrics_test.cc27 while (fread(video_buffer.get(), 1, frame_length_, source_file_) in TEST_F()
41 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Dvideo_processing_unittest.h35 FILE* source_file_; variable
/external/chromium_org/third_party/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc116 source_file_ = fopen(source.GetFileName().c_str(), "rb"); in SetUp()
117 ASSERT_TRUE(source_file_ != NULL); in SetUp()
120 source_file_), length_source_frame_); in SetUp()
185 FILE* source_file_; member in webrtc::TestVp8Impl
/external/chromium_org/chrome/browser/extensions/
Dcrx_installer.cc180 source_file_ = source_file; in InstallCrx()
202 source_file_ = source_file; in InstallUserScript()
214 source_file_, download_url_, install_directory_, &error); in ConvertUserScriptOnFileThread()
853 if (delete_source_ && !source_file_.value().empty()) { in CleanupTempFiles()
854 file_util::DeleteFile(source_file_, false); in CleanupTempFiles()
855 source_file_ = base::FilePath(); in CleanupTempFiles()
Dcrx_installer.h117 const base::FilePath& source_file() const { return source_file_; } in source_file()
281 base::FilePath source_file_; variable