Home
last modified time | relevance | path

Searched refs:testFile_ (Results 1 – 6 of 6) sorted by relevance

/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/
DADecEncNdkSample.cpp186 if (testFile_ == nullptr) { in StartDec()
187 testFile_ = std::make_unique<std::ifstream>(); in StartDec()
188 NDK_CHECK_AND_RETURN_RET_LOG(testFile_ != nullptr, AV_ERR_UNKNOWN, "Fatal: No memory"); in StartDec()
189 testFile_->open(INP_FILE, std::ios::in | std::ios::binary); in StartDec()
386 … NDK_CHECK_AND_RETURN_LOG(testFile_ != nullptr && testFile_->is_open(), "Fatal: open file fail"); in InputFuncDec()
392 (void)testFile_->read(fileBuffer, bufferSize); in InputFuncDec()
393 if (testFile_->eof()) { in InputFuncDec()
753 if (testFile_ != nullptr) { in ReRead()
754 testFile_->close(); in ReRead()
758 testFile_->open(INP_FILE, std::ios::in | std::ios::binary); in ReRead()
[all …]
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/src/
DVDecEncNdkSample.cpp133 if (testFile_ == nullptr) { in SetReadPath()
134 testFile_ = std::make_unique<std::ifstream>(); in SetReadPath()
136 testFile_->open(inFile_, std::ios::in | std::ios::binary); in SetReadPath()
151 if (testFile_ != nullptr) { in ReRead()
152 testFile_->close(); in ReRead()
156 testFile_->open(inFile_, std::ios::in | std::ios::binary); in ReRead()
157 if (testFile_ != nullptr) { in ReRead()
423 … NDK_CHECK_AND_RETURN_LOG(testFile_ != nullptr && testFile_->is_open(), "Fatal: open file fail"); in InputFuncDec()
429 (void)testFile_->read(fileBuffer, bufferSize); in InputFuncDec()
430 if (testFile_->eof()) { in InputFuncDec()
/test/xts/dcts/distributedhardware/distributedscreentest/
Ddecoder_demo.cpp126 testFile_ = std::make_unique<std::ifstream>(); in Start()
127 testFile_->open("/data/media/video.es", std::ios::in | std::ios::binary); in Start()
253 (void)testFile_->read(fileBuffer, *frameLen); in InputFunc()
Ddecoder_demo.h82 std::unique_ptr<std::ifstream> testFile_; variable
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/
DVDecEncNdkSample.h123 std::unique_ptr<std::ifstream> testFile_; variable
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/include/
DADecEncNdkSample.h121 std::unique_ptr<std::ifstream> testFile_; variable