parent
28fa2e7c98
commit
7fb9e57f30
@ -96,9 +96,6 @@ TEST_P (DecodeEncodeTest, CompareOutput) {
|
||||
#if defined(ANDROID_NDK)
|
||||
std::string filename = std::string ("/sdcard/") + p.fileName;
|
||||
ASSERT_TRUE (Open (filename.c_str()));
|
||||
#elif defined(_WIN32)
|
||||
std::string filename = std::string ("../../../../../") + p.fileName;
|
||||
ASSERT_TRUE (Open (filename.c_str()));
|
||||
#else
|
||||
ASSERT_TRUE (Open (p.fileName));
|
||||
#endif
|
||||
|
@ -56,9 +56,6 @@ TEST_P (DecoderOutputTest, CompareOutput) {
|
||||
#if defined(ANDROID_NDK)
|
||||
std::string filename = std::string ("/sdcard/") + p.fileName;
|
||||
DecodeFile (filename.c_str(), this);
|
||||
#elif defined(_WIN32)
|
||||
std::string filename = std::string ("../../../../../") + p.fileName;
|
||||
DecodeFile (filename.c_str(), this);
|
||||
#else
|
||||
DecodeFile (p.fileName, this);
|
||||
#endif
|
||||
|
@ -80,9 +80,6 @@ TEST_F (EncodeDecodeTestVclNal, DecoderVclNal) {
|
||||
#if defined(ANDROID_NDK)
|
||||
std::string filename = std::string ("/sdcard/") + p.fileName;
|
||||
ASSERT_TRUE (fileStream.Open (filename.c_str()));
|
||||
#elif defined(_WIN32)
|
||||
std::string filename = std::string ("../../../../../") + p.fileName;
|
||||
ASSERT_TRUE (fileStream.Open (filename.c_str()));
|
||||
#else
|
||||
ASSERT_TRUE (fileStream.Open (p.fileName));
|
||||
#endif
|
||||
|
@ -60,9 +60,6 @@ TEST_P (EncoderOutputTest, CompareOutput) {
|
||||
#if defined(ANDROID_NDK)
|
||||
std::string filename = std::string ("/sdcard/") + p.fileName;
|
||||
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
|
||||
#elif defined(_WIN32)
|
||||
std::string filename = std::string ("../../../../../") + p.fileName;
|
||||
EncodeFile (filename.c_str(), p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
|
||||
#else
|
||||
EncodeFile (p.fileName, p.usageType , p.width, p.height, p.frameRate, p.slices, p.denoise, p.layers, this);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user