• Home
  • Raw
  • Download

Lines Matching refs:srcPath

54     void setUpSource(const char* srcPath);
74 bool testSimpleEncode(const char* encoder, const char* srcPath);
75 bool testFlush(const char* encoder, const char* srcPath);
76 bool testReconfigure(const char* encoder, const char* srcPath);
77 bool testSetForceSyncFrame(const char* encoder, const char* srcPath);
78 bool testAdaptiveBitRate(const char* encoder, const char* srcPath);
129 void CodecEncoderTest::setUpSource(const char* srcPath) { in setUpSource() argument
130 FILE* fp = fopen(srcPath, "rbe"); in setUpSource()
141 ALOGE("unable to open input file %s", srcPath); in setUpSource()
393 bool CodecEncoderTest::testSimpleEncode(const char* encoder, const char* srcPath) { in testSimpleEncode() argument
395 setUpSource(srcPath); in testSimpleEncode()
415 AMediaFormat_toString(format), encoder, srcPath, in testSimpleEncode()
468 bool CodecEncoderTest::testFlush(const char* encoder, const char* srcPath) { in testFlush() argument
470 setUpSource(srcPath); in testFlush()
482 encoder, srcPath, (isAsync ? "async" : "sync")); in testFlush()
551 bool CodecEncoderTest::testReconfigure(const char* encoder, const char* srcPath) { in testReconfigure() argument
553 setUpSource(srcPath); in testReconfigure()
559 if (!encodeToMemory(srcPath, encoder, INT32_MAX, format, configRef)) { in testReconfigure()
560 ALOGE("encodeToMemory failed for file: %s codec: %s \n format: %s", srcPath, encoder, in testReconfigure()
572 if (!encodeToMemory(srcPath, encoder, INT32_MAX, format, ref)) { in testReconfigure()
573 ALOGE("encodeToMemory failed for file: %s codec: %s \n format: %s", srcPath, encoder, in testReconfigure()
591 encoder, srcPath, (isAsync ? "async" : "sync")); in testReconfigure()
716 bool CodecEncoderTest::testSetForceSyncFrame(const char* encoder, const char* srcPath) { in testSetForceSyncFrame() argument
718 setUpSource(srcPath); in testSetForceSyncFrame()
739 encoder, srcPath, (isAsync ? "async" : "sync")); in testSetForceSyncFrame()
793 bool CodecEncoderTest::testAdaptiveBitRate(const char* encoder, const char* srcPath) { in testAdaptiveBitRate() argument
795 setUpSource(srcPath); in testAdaptiveBitRate()
818 encoder, srcPath, (isAsync ? "async" : "sync")); in testAdaptiveBitRate()