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()
390 bool CodecEncoderTest::testSimpleEncode(const char* encoder, const char* srcPath) { in testSimpleEncode() argument
391 setUpSource(srcPath); in testSimpleEncode()
392 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testSimpleEncode()
437 bool CodecEncoderTest::testReconfigure(const char* encoder, const char* srcPath) { in testReconfigure() argument
438 setUpSource(srcPath); in testReconfigure()
439 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testReconfigure()
445 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, configRef), in testReconfigure()
447 srcPath, encoder, AMediaFormat_toString(format))) in testReconfigure()
452 RETURN_IF_FALSE(encodeToMemory(srcPath, encoder, INT32_MAX, format, ref), in testReconfigure()
454 srcPath, encoder, AMediaFormat_toString(format))) in testReconfigure()
556 bool CodecEncoderTest::testSetForceSyncFrame(const char* encoder, const char* srcPath) { in testSetForceSyncFrame() argument
557 setUpSource(srcPath); in testSetForceSyncFrame()
558 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testSetForceSyncFrame()
619 bool CodecEncoderTest::testAdaptiveBitRate(const char* encoder, const char* srcPath) { in testAdaptiveBitRate() argument
620 setUpSource(srcPath); in testAdaptiveBitRate()
621 RETURN_IF_NULL(mInputData, StringFormat("unable to open input file %s", srcPath)) in testAdaptiveBitRate()