Home
last modified time | relevance | path

Searched refs:mMuxer (Results 1 – 6 of 6) sorted by relevance

/cts/tests/media/src/android/mediav2/cts/
DEncoderColorAspectsTest.java55 private MediaMuxer mMuxer; field in EncoderColorAspectsTest
86 if (mMuxer != null) { in dequeueOutput()
88 mTrackID = mMuxer.addTrack(mCodec.getOutputFormat()); in dequeueOutput()
89 mMuxer.start(); in dequeueOutput()
91 mMuxer.writeSampleData(mTrackID, buf, info); in dequeueOutput()
164 mMuxer = new MediaMuxer(tmpFile.getAbsolutePath(), muxerFormat); in testColorAspects()
171 mMuxer.stop(); in testColorAspects()
174 if (mMuxer != null) { in testColorAspects()
175 mMuxer.release(); in testColorAspects()
176 mMuxer = null; in testColorAspects()
DEncodeDecodeAccuracyTest.java107 private MediaMuxer mMuxer; field in EncodeDecodeAccuracyTest
237 if (mMuxer != null) { in dequeueEncoderOutput()
239 mTrackID = mMuxer.addTrack(mEncoder.getOutputFormat()); in dequeueEncoderOutput()
240 mMuxer.start(); in dequeueEncoderOutput()
242 mMuxer.writeSampleData(mTrackID, buf, info); in dequeueEncoderOutput()
461 mMuxer = new MediaMuxer(tmpPath, muxerFormat); in testEncodeDecodeAccuracyRGB()
473 mMuxer.stop(); in testEncodeDecodeAccuracyRGB()
476 if (mMuxer != null) { in testEncodeDecodeAccuracyRGB()
477 mMuxer.release(); in testEncodeDecodeAccuracyRGB()
478 mMuxer = null; in testEncodeDecodeAccuracyRGB()
DCodecEncoderSurfaceTest.java81 private MediaMuxer mMuxer; field in CodecEncoderSurfaceTest
254 if (mMuxer != null) { in dequeueEncoderOutput()
256 mTrackID = mMuxer.addTrack(mEncoder.getOutputFormat()); in dequeueEncoderOutput()
257 mMuxer.start(); in dequeueEncoderOutput()
259 mMuxer.writeSampleData(mTrackID, buf, info); in dequeueEncoderOutput()
481 mMuxer = new MediaMuxer(tmpPath, muxerFormat); in testSimpleEncodeFromSurface()
491 mMuxer.stop(); in testSimpleEncodeFromSurface()
494 if (mMuxer != null) { in testSimpleEncodeFromSurface()
495 mMuxer.release(); in testSimpleEncodeFromSurface()
496 mMuxer = null; in testSimpleEncodeFromSurface()
DEncoderProfileLevelTest.java57 private MediaMuxer mMuxer; field in EncoderProfileLevelTest
810 mMuxer = new MediaMuxer(tempMuxedFile, muxerFormat); in testValidateProfileLevel()
812 mMuxer.addTrack(outFormat); in testValidateProfileLevel()
813 mMuxer.start(); in testValidateProfileLevel()
815 mMuxer.writeSampleData(0, mBuff, mInfoList.get(i)); in testValidateProfileLevel()
817 mMuxer.stop(); in testValidateProfileLevel()
821 mMuxer.release(); in testValidateProfileLevel()
822 mMuxer = null; in testValidateProfileLevel()
/cts/tests/media/jni/
DNativeCodecEncoderSurfaceTest.cpp36 AMediaMuxer* mMuxer; member in CodecEncoderSurfaceTest
90 mMuxer = nullptr;
110 if (mMuxer) { in ~CodecEncoderSurfaceTest()
111 AMediaMuxer_delete(mMuxer); in ~CodecEncoderSurfaceTest()
112 mMuxer = nullptr; in ~CodecEncoderSurfaceTest()
288 if (mMuxer != nullptr) { in dequeueEncoderOutput()
290 mMuxTrackID = AMediaMuxer_addTrack(mMuxer, AMediaCodec_getOutputFormat(mEncoder)); in dequeueEncoderOutput()
291 CHECK_STATUS(AMediaMuxer_start(mMuxer), "AMediaMuxer_start failed"); in dequeueEncoderOutput()
293 CHECK_STATUS(AMediaMuxer_writeSampleData(mMuxer, mMuxTrackID, buf, info), in dequeueEncoderOutput()
544 mMuxer = AMediaMuxer_new(fileno(ofp), (OutputFormat)muxerFormat); in testSimpleEncode()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DVideoEncoderTest.java219 protected MediaMuxer mMuxer; field in VideoEncoderTest.VideoProcessorBase
321 mMuxer = new MediaMuxer( in initCodecsAndConfigureEncoder()
324 mMuxer = new MediaMuxer( in initCodecsAndConfigureEncoder()
350 if (mMuxer != null) { in close()
351 mMuxer.stop(); in close()
352 mMuxer.release(); in close()
353 mMuxer = null; in close()
399 if (mMuxer != null) { in emptyEncoderOutputBuffer()
403 mMuxer.writeSampleData(mMuxIndex, outputBuffer, info); in emptyEncoderOutputBuffer()
427 if (mMuxer != null) { in saveEncoderFormat()
[all …]