Home
last modified time | relevance | path

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

/external/webrtc/webrtc/common_video/libyuv/
Dscaler_unittest.cc38 FILE* source_file_; member in webrtc::TestScaler
50 : source_file_(NULL), in TestScaler()
63 source_file_ = fopen(input_file_name.c_str(), "rb"); in SetUp()
64 ASSERT_TRUE(source_file_ != NULL) << "Cannot read file: "<< in SetUp()
71 if (source_file_ != NULL) { in TearDown()
72 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
74 source_file_ = NULL; in TearDown()
102 EXPECT_GT(fread(orig_buffer.get(), 1, frame_length_, source_file_), 0U); in TEST_F()
129 source_file_, out_name, in TEST_F()
140 avg_psnr = ComputeAvgSequencePSNR(source_file_, out_name, width_, height_); in TEST_F()
[all …]
Dlibyuv_unittest.cc84 FILE* source_file_; member in webrtc::TestLibYuv
95 : source_file_(NULL), in TestLibYuv()
108 source_file_ = fopen(input_file_name.c_str(), "rb"); in SetUp()
109 ASSERT_TRUE(source_file_ != NULL) << "Cannot read file: "<< in SetUp()
113 fread(orig_buffer_.get(), 1, frame_length_, source_file_)); in SetUp()
124 if (source_file_ != NULL) { in TearDown()
125 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
127 source_file_ = NULL; in TearDown()
/external/webrtc/webrtc/modules/video_processing/test/
Dbrightness_detection_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()
49 rewind(source_file_); in TEST_F()
52 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()
86 rewind(source_file_); in TEST_F()
89 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
113 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Ddeflickering_test.cc35 fclose(source_file_); in TEST_F()
38 source_file_ = fopen(input_file.c_str(), "rb"); in TEST_F()
39 ASSERT_TRUE(source_file_ != NULL) << "Cannot read input file: " << input_file in TEST_F()
57 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()
87 rewind(source_file_); in TEST_F()
Dvideo_processing_unittest.cc60 source_file_(NULL), in VideoProcessingTest()
80 source_file_ = fopen(video_file.c_str(), "rb"); in SetUp()
81 ASSERT_TRUE(source_file_ != NULL) in SetUp()
86 if (source_file_ != NULL) { in TearDown()
87 ASSERT_EQ(0, fclose(source_file_)); in TearDown()
89 source_file_ = NULL; in TearDown()
121 fread(video_buffer.get(), 1, frame_length_, source_file_));
140 fread(video_buffer.get(), 1, frame_length_, source_file_));
155 fread(video_buffer.get(), 1, frame_length_, source_file_));
176 fread(video_buffer.get(), 1, frame_length_, source_file_));
[all …]
Dcontent_metrics_test.cc32 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
45 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Ddenoiser_test.cc141 while (fread(video_buffer.get(), 1, frame_length_, source_file_) == in TEST_F()
153 ASSERT_NE(0, feof(source_file_)) << "Error reading source file"; in TEST_F()
Dvideo_processing_unittest.h35 FILE* source_file_; variable
/external/webrtc/webrtc/modules/video_coding/codecs/vp8/test/
Dvp8_impl_unittest.cc123 source_file_ = fopen(test::ResourcePath("paris_qcif", "yuv").c_str(), "rb"); in SetUp()
124 ASSERT_TRUE(source_file_ != NULL); in SetUp()
127 fread(source_buffer_.get(), 1, length_source_frame_, source_file_), in SetUp()
187 FILE* source_file_; member in webrtc::TestVp8Impl
/external/protobuf/src/google/protobuf/
Ddescriptor.pb.h3533 ::google::protobuf::internal::ArenaStringPtr source_file_;
7500 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in clear_source_file()
7505 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in source_file()
7509 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); in set_source_file()
7514source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::strin… in set_source_file()
7519 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), in set_source_file()
7526 return source_file_.MutableNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in mutable_source_file()
7531 return source_file_.ReleaseNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in release_source_file()
7539source_file_.SetAllocatedNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), sou… in set_allocated_source_file()
Ddescriptor.pb.cc547 GOOGLE_PROTOBUF_GENERATED_MESSAGE_FIELD_OFFSET(GeneratedCodeInfo_Annotation, source_file_), in protobuf_AssignDesc_google_2fprotobuf_2fdescriptor_2eproto()
14361 source_file_.UnsafeSetDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in SharedCtor()
14373 source_file_.DestroyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in SharedDtor()
14424source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in Clear()
14697source_file_.AssignWithDefault(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), from. in MergeFrom()
14736 source_file_.Swap(&other->source_file_); in InternalSwap()
15036 source_file_.ClearToEmptyNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in clear_source_file()
15041 return source_file_.GetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited()); in source_file()
15045 source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), value); in set_source_file()
15050source_file_.SetNoArena(&::google::protobuf::internal::GetEmptyStringAlreadyInited(), ::std::strin… in set_source_file()
[all …]