Home
last modified time | relevance | path

Searched refs:muxer (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java96 MediaMuxer muxer; in testIllegalStateExceptions() local
99 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testIllegalStateExceptions()
100 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
103 muxer.stop(); in testIllegalStateExceptions()
108 muxer.release(); in testIllegalStateExceptions()
112 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testIllegalStateExceptions()
113 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
116 muxer.addTrack(MediaFormat.createVideoFormat(MediaFormat.MIMETYPE_VIDEO_AVC, 480, 320)); in testIllegalStateExceptions()
121 muxer.release(); in testIllegalStateExceptions()
125 muxer = new MediaMuxer(outputFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testIllegalStateExceptions()
[all …]
DEncoderTest.java279 MediaMuxer muxer = null; in testEncoder() local
288 muxer = new MediaMuxer(outFile, MediaMuxer.OutputFormat.MUXER_OUTPUT_MPEG_4); in testEncoder()
369 if (muxer != null) { in testEncoder()
373 muxidx = muxer.addTrack(trackFormat); in testEncoder()
374 muxer.start(); in testEncoder()
376 muxer.writeSampleData(muxidx, buffer, info); in testEncoder()
411 if (muxer != null) { in testEncoder()
412 muxer.stop(); in testEncoder()
413 muxer.release(); in testEncoder()
414 muxer = null; in testEncoder()
DExtractDecodeEditEncodeMuxTest.java348 MediaMuxer muxer = null; in extractDecodeEditEncodeMux() local
386 muxer = createMuxer(); in extractDecodeEditEncodeMux()
395 muxer, in extractDecodeEditEncodeMux()
480 if (muxer != null) { in extractDecodeEditEncodeMux()
481 muxer.stop(); in extractDecodeEditEncodeMux()
482 muxer.release(); in extractDecodeEditEncodeMux()
703 MediaMuxer muxer, in doExtractDecodeEditEncodeMux() argument
1095 muxer.writeSampleData( in doExtractDecodeEditEncodeMux()
1153 muxer.writeSampleData( in doExtractDecodeEditEncodeMux()
1172 outputVideoTrack = muxer.addTrack(encoderOutputVideoFormat); in doExtractDecodeEditEncodeMux()
[all …]
/cts/tests/tests/media/libmediandkjni/
Dnative-media-jni.cpp462 AMediaMuxer *muxer = AMediaMuxer_new(outfd, in Java_android_media_cts_NativeDecoderTest_testMuxerNative() local
483 ssize_t tidx = AMediaMuxer_addTrack(muxer, format); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()
493 AMediaMuxer_start(muxer); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()
509 AMediaMuxer_writeSampleData(muxer, idx, buf, &info); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()
515 AMediaMuxer_stop(muxer); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()
516 AMediaMuxer_delete(muxer); in Java_android_media_cts_NativeDecoderTest_testMuxerNative()