Searched refs:testFile_ (Results 1 – 6 of 6) sorted by relevance
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/src/ |
D | ADecEncNdkSample.cpp | 186 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/ |
D | VDecEncNdkSample.cpp | 133 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/ |
D | decoder_demo.cpp | 126 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()
|
D | decoder_demo.h | 82 std::unique_ptr<std::ifstream> testFile_; variable
|
/test/xts/acts/multimedia/media/media_cpp_standard/videoDecEncNdk/include/ |
D | VDecEncNdkSample.h | 123 std::unique_ptr<std::ifstream> testFile_; variable
|
/test/xts/acts/multimedia/media/media_cpp_standard/audioDecEncNdk/include/ |
D | ADecEncNdkSample.h | 121 std::unique_ptr<std::ifstream> testFile_; variable
|