Home
last modified time | relevance | path

Searched refs:mediaExtractor (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTest.java590 final MediaExtractor mediaExtractor = getMediaExtractorForMimeType( in testAsyncReset() local
592 MediaFormat mediaFormat = mediaExtractor.getTrackFormat( in testAsyncReset()
593 mediaExtractor.getSampleTrackIndex()); in testAsyncReset()
609 assertTrue(runDecodeTillFirstOutput(mediaCodec, mediaExtractor)); in testAsyncReset()
653 if (mediaExtractor != null) { in testAsyncReset()
654 mediaExtractor.release(); in testAsyncReset()
1032 MediaExtractor mediaExtractor = null; in testDecodeAfterFlush()
1039mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE_ID, mimeTypePrefix); in testDecodeAfterFlush()
1041 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in testDecodeAfterFlush()
1052 if (!runDecodeTillFirstOutput(mediaCodec, mediaExtractor)) { in testDecodeAfterFlush()
[all …]
DExtractDecodeEditEncodeMuxTest.java507 MediaExtractor mediaExtractor = null; in extractDecodeEditEncodeMux() local
509 mediaExtractor = new MediaExtractor(); in extractDecodeEditEncodeMux()
510 mediaExtractor.setDataSource(mOutputFile); in extractDecodeEditEncodeMux()
513 mediaExtractor.getTrackCount()); in extractDecodeEditEncodeMux()
516 for (int i = 0; i < mediaExtractor.getTrackCount(); i++) { in extractDecodeEditEncodeMux()
517 MediaFormat trackFormat = mediaExtractor.getTrackFormat(i); in extractDecodeEditEncodeMux()
537 if (mediaExtractor != null) { in extractDecodeEditEncodeMux()
538 mediaExtractor.release(); in extractDecodeEditEncodeMux()