Lines Matching refs:CodecEncoderTest
27 class CodecEncoderTest final : public CodecTestBase { class
68 CodecEncoderTest(const char* mediaType, const char* cfgParams, const char* cfgReconfigParams,
70 ~CodecEncoderTest();
79 CodecEncoderTest::CodecEncoderTest(const char* mediaType, const char* cfgParams, in CodecEncoderTest() function in CodecEncoderTest
98 CodecEncoderTest::~CodecEncoderTest() { in ~CodecEncoderTest()
103 void CodecEncoderTest::convertyuv420ptoyuv420sp() { in convertyuv420ptoyuv420sp()
125 void CodecEncoderTest::setUpSource(const char* srcPath) { in setUpSource()
142 void CodecEncoderTest::deleteSource() { in deleteSource()
150 void CodecEncoderTest::deleteParams() { in deleteParams()
155 bool CodecEncoderTest::configureCodec(AMediaFormat* format, bool isAsync, in configureCodec()
161 void CodecEncoderTest::resetContext(bool isAsync, bool signalEOSWithLastFrame) { in resetContext()
170 void CodecEncoderTest::fillByteBuffer(uint8_t* inputBuffer) { in fillByteBuffer()
211 bool CodecEncoderTest::enqueueInput(size_t bufferIndex) { in enqueueInput()
269 bool CodecEncoderTest::dequeueOutput(size_t bufferIndex, AMediaCodecBufferInfo* info) { in dequeueOutput()
299 bool CodecEncoderTest::doWork(int frameLimit) { in doWork()
304 bool CodecEncoderTest::isTestStateValid() { in isTestStateValid()
324 bool CodecEncoderTest::initFormat(AMediaFormat* format) { in initFormat()
356 bool CodecEncoderTest::encodeToMemory(const char* file, const char* encoder, int32_t frameLimit, in encodeToMemory()
378 void CodecEncoderTest::forceSyncFrame(AMediaFormat* format) { in forceSyncFrame()
384 void CodecEncoderTest::updateBitrate(AMediaFormat* format, int bitrate) { in updateBitrate()
390 bool CodecEncoderTest::testSimpleEncode(const char* encoder, const char* srcPath) { in testSimpleEncode()
437 bool CodecEncoderTest::testReconfigure(const char* encoder, const char* srcPath) { in testReconfigure()
523 bool CodecEncoderTest::testOnlyEos(const char* encoder) { in testOnlyEos()
556 bool CodecEncoderTest::testSetForceSyncFrame(const char* encoder, const char* srcPath) { in testSetForceSyncFrame()
619 bool CodecEncoderTest::testAdaptiveBitRate(const char* encoder, const char* srcPath) { in testAdaptiveBitRate()
683 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestSimpleEncode()
713 new CodecEncoderTest(cMediaType, cCfgParams, cReconfigCfgParams, cSeparator); in nativeTestReconfigure()
741 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestSetForceSyncFrame()
765 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestAdaptiveBitRate()
787 auto codecEncoderTest = new CodecEncoderTest(cMediaType, cCfgParams, nullptr, cSeparator); in nativeTestOnlyEos()