/external/webrtc/webrtc/test/testsupport/ |
D | frame_reader.cc | 24 input_file_(NULL) { in FrameReaderImpl() 37 input_file_ = fopen(input_filename_.c_str(), "rb"); in Init() 38 if (input_file_ == NULL) { in Init() 55 if (input_file_ != NULL) { in Close() 56 fclose(input_file_); in Close() 57 input_file_ = NULL; in Close() 63 if (input_file_ == NULL) { in ReadFrame() 68 input_file_); in ReadFrame() 70 ferror(input_file_)) { in ReadFrame() 75 if (feof(input_file_) != 0) { in ReadFrame()
|
D | frame_reader.h | 68 FILE* input_file_; variable
|
/external/libvpx/libvpx/test/ |
D | ivf_video_source.h | 33 input_file_(NULL), in IVFVideoSource() 43 if (input_file_) in ~IVFVideoSource() 44 fclose(input_file_); in ~IVFVideoSource() 55 input_file_ = OpenTestDataFile(file_name_); in Begin() 56 ASSERT_TRUE(input_file_ != NULL) << "Input file open failed. Filename: " in Begin() 61 ASSERT_EQ(kIvfFileHdrSize, fread(file_hdr, 1, kIvfFileHdrSize, input_file_)) in Begin() 76 ASSERT_TRUE(input_file_ != NULL); in FillFrame() 79 if (fread(frame_hdr, 1, kIvfFrameHdrSize, input_file_) in FillFrame() 89 fread(compressed_frame_buf_, 1, frame_sz_, input_file_)) in FillFrame() 102 FILE *input_file_; variable
|
D | y4m_video_source.h | 27 input_file_(NULL), in Y4mVideoSource() 44 input_file_ = OpenTestDataFile(file_name_); in OpenSource() 45 ASSERT_TRUE(input_file_ != NULL) << "Input file open failed. Filename: " in OpenSource() 50 ASSERT_TRUE(input_file_ != NULL); in ReadSourceToStart() 51 ASSERT_FALSE(y4m_input_open(&y4m_, input_file_, NULL, 0, 0)); in ReadSourceToStart() 90 ASSERT_TRUE(input_file_ != NULL); in FillFrame() 92 y4m_input_fetch_frame(&y4m_, input_file_, img_.get()); in FillFrame() 111 if (input_file_ != NULL) { in CloseSource() 112 fclose(input_file_); in CloseSource() 113 input_file_ = NULL; in CloseSource() [all …]
|
D | yuv_video_source.h | 32 input_file_(NULL), in YUVVideoSource() 48 if (input_file_) in ~YUVVideoSource() 49 fclose(input_file_); in ~YUVVideoSource() 53 if (input_file_) in Begin() 54 fclose(input_file_); in Begin() 55 input_file_ = OpenTestDataFile(file_name_); in Begin() 56 ASSERT_TRUE(input_file_ != NULL) << "Input file open failed. Filename: " in Begin() 59 fseek(input_file_, static_cast<unsigned>(raw_size_) * start_, SEEK_SET); in Begin() 127 ASSERT_TRUE(input_file_ != NULL); in FillFrame() 129 if (fread(img_->img_data, raw_size_, 1, input_file_) == 0) { in FillFrame() [all …]
|
D | y4m_test.cc | 94 ASSERT_TRUE(input_file_ != NULL); in HeaderChecks() 120 ASSERT_TRUE(input_file_ != NULL); in Md5Check() 147 input_file_ = NULL; in ~Y4mVideoWriteTest() 153 input_file_ = input_file; in ReplaceInputFile() 154 rewind(input_file_); in ReplaceInputFile() 160 ASSERT_TRUE(input_file_ != NULL); in WriteY4mAndReadBack()
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | expand_unittest.cc | 71 : input_file_(test::ResourcePath("audio_coding/testfile32kHz", "pcm"), in ExpandTest() 85 input_file_.set_output_rate_hz(test_sample_rate_hz_); in ExpandTest() 93 ASSERT_TRUE(input_file_.Seek(speech_start_samples)); in SetUp() 97 input_file_.Read(sync_buffer_.Size(), &sync_buffer_.Channel(0)[0])); in SetUp() 101 test::ResampleInputAudioFile input_file_; member in webrtc::ExpandTest
|
D | time_stretch_unittest.cc | 62 : input_file_(new test::InputAudioFile( in TimeStretchTest() 72 RTC_CHECK(input_file_->Read(block_size_, audio_.get())); in Next30Ms() 103 rtc::scoped_ptr<test::InputAudioFile> input_file_; member in webrtc::TimeStretchTest
|
D | neteq_external_decoder_unittest.cc | 49 input_file_.reset(new test::InputAudioFile(file_name)); in NetEqExternalDecoderUnitTest() 70 if (!input_file_->Read(frame_size_samples_, input_)) { in GetNewPacket() 157 rtc::scoped_ptr<test::InputAudioFile> input_file_; member in webrtc::NetEqExternalDecoderUnitTest
|
D | neteq_stereo_unittest.cc | 88 input_file_.reset(new test::InputAudioFile(file_name)); in SetUp() 139 if (!input_file_->Read(frame_size_samples_, input_)) { in GetNewPackets() 264 rtc::scoped_ptr<test::InputAudioFile> input_file_; member in webrtc::NetEqStereoTest
|