Searched refs:mediaExtractor (Results 1 – 2 of 2) sorted by relevance
603 final MediaExtractor mediaExtractor = getMediaExtractorForMimeType( in testAsyncReset() local605 MediaFormat mediaFormat = mediaExtractor.getTrackFormat( in testAsyncReset()606 mediaExtractor.getSampleTrackIndex()); in testAsyncReset()622 assertTrue(runDecodeTillFirstOutput(mediaCodec, mediaExtractor)); in testAsyncReset()666 if (mediaExtractor != null) { in testAsyncReset()667 mediaExtractor.release(); in testAsyncReset()1048 MediaExtractor mediaExtractor = null; in testDecodeAfterFlush()1055 … mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE_ID, mimeTypePrefix); in testDecodeAfterFlush()1057 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in testDecodeAfterFlush()1068 if (!runDecodeTillFirstOutput(mediaCodec, mediaExtractor)) { in testDecodeAfterFlush()[all …]
507 MediaExtractor mediaExtractor = null; in extractDecodeEditEncodeMux() local509 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()