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.java880 MediaExtractor mediaExtractor = null; in testDecodeAfterFlush()
887mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE_ID, mimeTypePrefix); in testDecodeAfterFlush()
889 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in testDecodeAfterFlush()
900 if (!runDecodeTillFirstOutput(mediaCodec, mediaExtractor)) { in testDecodeAfterFlush()
905 mediaExtractor.seekTo(0, MediaExtractor.SEEK_TO_CLOSEST_SYNC); in testDecodeAfterFlush()
908 completed.set(runDecodeTillFirstOutput(mediaCodec, mediaExtractor)); in testDecodeAfterFlush()
916 if (mediaExtractor != null) { in testDecodeAfterFlush()
917 mediaExtractor.release(); in testDecodeAfterFlush()
937 MediaCodec mediaCodec, MediaExtractor mediaExtractor) { in runDecodeTillFirstOutput() argument
941 mediaExtractor.getSampleTrackIndex() != -1); in runDecodeTillFirstOutput()
[all …]
DExtractDecodeEditEncodeMuxTest.java505 MediaExtractor mediaExtractor = null; in extractDecodeEditEncodeMux() local
507 mediaExtractor = new MediaExtractor(); in extractDecodeEditEncodeMux()
508 mediaExtractor.setDataSource(mOutputFile); in extractDecodeEditEncodeMux()
511 mediaExtractor.getTrackCount()); in extractDecodeEditEncodeMux()
514 for (int i = 0; i < mediaExtractor.getTrackCount(); i++) { in extractDecodeEditEncodeMux()
515 MediaFormat trackFormat = mediaExtractor.getTrackFormat(i); in extractDecodeEditEncodeMux()
535 if (mediaExtractor != null) { in extractDecodeEditEncodeMux()
536 mediaExtractor.release(); in extractDecodeEditEncodeMux()