• Home
  • Raw
  • Download

Lines Matching refs:srcPath

50     void setUpSource(const char* srcPath);
72 bool testSimpleEncode(const char* encoder, const char* srcPath);
73 bool testReconfigure(const char* encoder, const char* srcPath);
74 bool testSetForceSyncFrame(const char* encoder, const char* srcPath);
75 bool testAdaptiveBitRate(const char* encoder, const char* srcPath);
125 void CodecEncoderTest::setUpSource(const char* srcPath) { in setUpSource() argument
126 FILE* fp = fopen(srcPath, "rbe"); in setUpSource()
137 ALOGE("unable to open input file %s", srcPath); in setUpSource()
370 bool CodecEncoderTest::testSimpleEncode(const char* encoder, const char* srcPath) { in testSimpleEncode() argument
371 setUpSource(srcPath); in testSimpleEncode()
372 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testSimpleEncode()
417 bool CodecEncoderTest::testReconfigure(const char* encoder, const char* srcPath) { in testReconfigure() argument
418 setUpSource(srcPath); in testReconfigure()
419 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testReconfigure()
425 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, configRef), in testReconfigure()
427 srcPath, encoder, AMediaFormat_toString(format))) in testReconfigure()
432 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, ref), in testReconfigure()
434 srcPath, encoder, AMediaFormat_toString(format))) in testReconfigure()
536 bool CodecEncoderTest::testSetForceSyncFrame(const char* encoder, const char* srcPath) { in testSetForceSyncFrame() argument
537 setUpSource(srcPath); in testSetForceSyncFrame()
538 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testSetForceSyncFrame()
599 bool CodecEncoderTest::testAdaptiveBitRate(const char* encoder, const char* srcPath) { in testAdaptiveBitRate() argument
600 setUpSource(srcPath); in testAdaptiveBitRate()
601 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testAdaptiveBitRate()