Searched refs:mediaExtractor (Results 1 – 2 of 2) sorted by relevance
590 final MediaExtractor mediaExtractor = getMediaExtractorForMimeType( in testAsyncReset() local592 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()1039 … mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE_ID, mimeTypePrefix); in testDecodeAfterFlush()1041 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in testDecodeAfterFlush()1052 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()