Lines Matching refs:mCodec

380             mCodec = MediaCodec.createByCodecName(mCodecName);  in testSimpleDecode()
381 assertEquals("codec name act/got: " + mCodec.getName() + '/' + mCodecName, in testSimpleDecode()
382 mCodecName, mCodec.getName()); in testSimpleDecode()
384 mCodec.getCanonicalName() != null && !mCodec.getCanonicalName().isEmpty()); in testSimpleDecode()
394 MediaFormat defFormat = mCodec.getOutputFormat(); in testSimpleDecode()
401 mCodec.start(); in testSimpleDecode()
406 endCodecSession(mCodec); in testSimpleDecode()
417 mCodec.release(); in testSimpleDecode()
490 mCodec = MediaCodec.createByCodecName(mCodecName); in testFlush()
495 MediaFormat defFormat = mCodec.getOutputFormat(); in testFlush()
503 mCodec.start(); in testFlush()
507 if (mIsCodecInAsyncMode) mCodec.start(); in testFlush()
512 if (mIsCodecInAsyncMode) mCodec.start(); in testFlush()
528 if (mIsCodecInAsyncMode) mCodec.start(); in testFlush()
542 if (mIsCodecInAsyncMode) mCodec.start(); in testFlush()
548 endCodecSession(mCodec); in testFlush()
558 mCodec.release(); in testFlush()
638 mCodec = MediaCodec.createByCodecName(mCodecName); in testReconfigure()
644 MediaFormat defFormat = mCodec.getOutputFormat(); in testReconfigure()
655 mCodec.start(); in testReconfigure()
659 mCodec.start(); in testReconfigure()
671 mCodec.start(); in testReconfigure()
678 endCodecSession(mCodec); in testReconfigure()
689 mCodec.start(); in testReconfigure()
695 endCodecSession(mCodec); in testReconfigure()
715 mCodec.start(); in testReconfigure()
722 endCodecSession(mCodec); in testReconfigure()
733 mCodec.release(); in testReconfigure()
752 mCodec = MediaCodec.createByCodecName(mCodecName); in testOnlyEos()
758 mCodec.start(); in testOnlyEos()
761 endCodecSession(mCodec); in testOnlyEos()
768 mCodec.release(); in testOnlyEos()
823 mCodec = MediaCodec.createByCodecName(mCodecName); in testSimpleDecodeQueueCSD()
834 MediaFormat defFormat = mCodec.getOutputFormat(); in testSimpleDecodeQueueCSD()
842 mCodec.start(); in testSimpleDecodeQueueCSD()
848 endCodecSession(mCodec); in testSimpleDecodeQueueCSD()
860 mCodec.release(); in testSimpleDecodeQueueCSD()
907 mCodec = MediaCodec.createByCodecName(mCodecName); in testDecodePartialFrame()
916 mCodec.start(); in testDecodePartialFrame()
924 endCodecSession(mCodec); in testDecodePartialFrame()
932 mCodec.release(); in testDecodePartialFrame()
955 mCodec = MediaCodec.createByCodecName(mCodecName); in testDefaultOutputColorFormat()
958 mCodec.start(); in testDefaultOutputColorFormat()
962 MediaFormat outputFormat = mCodec.getOutputFormat(); in testDefaultOutputColorFormat()
963 endCodecSession(mCodec); in testDefaultOutputColorFormat()
964 mCodec.release(); in testDefaultOutputColorFormat()