Searched refs:mediaExtractor (Results 1 – 5 of 5) sorted by relevance
52 MediaExtractor mediaExtractor = new MediaExtractor(); in testEntryPointSdk() local56 mediaExtractor.setDataSource(fileDescriptor); in testEntryPointSdk()58 mediaExtractor.release(); in testEntryPointSdk()73 MediaExtractor mediaExtractor = new MediaExtractor(); in testLogSessionId() local77 mediaExtractor.setDataSource(fileDescriptor); in testLogSessionId()78 assertThat(mediaExtractor.getLogSessionId()) in testLogSessionId()80 mediaExtractor.setLogSessionId(new LogSessionId("FakeLogSessionId")); in testLogSessionId()81 assertThat(mediaExtractor.getLogSessionId().getStringId()) in testLogSessionId()84 mediaExtractor.release(); in testLogSessionId()
35 AMediaExtractor* mediaExtractor = AMediaExtractor_new(); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor() local36 AMediaExtractor_setDataSourceFd(mediaExtractor, fd, start, length); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor()37 AMediaExtractor_delete(mediaExtractor); in Java_android_media_cts_MediaExtractorDeviceSideTest_extractUsingNdkMediaExtractor()
560 MediaExtractor mediaExtractor, in runDecodeShortVideo() argument571 MediaFormat mediaFormat = mediaExtractor.getTrackFormat( in runDecodeShortVideo()572 mediaExtractor.getSampleTrackIndex()); in runDecodeShortVideo()603 .setExtractor(mediaExtractor) in runDecodeShortVideo()624 if (mediaExtractor != null) { in runDecodeShortVideo()625 mediaExtractor.release(); in runDecodeShortVideo()640 MediaExtractor mediaExtractor = null; in runDecodeShortAudio() local643 mediaExtractor = getMediaExtractorForMimeType(inputResource, "audio/"); in runDecodeShortAudio()645 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in runDecodeShortAudio()662 .setExtractor(mediaExtractor) in runDecodeShortAudio()[all …]
787 final MediaExtractor mediaExtractor = getMediaExtractorForMimeType( in testAsyncReset() local789 MediaFormat mediaFormat = mediaExtractor.getTrackFormat( in testAsyncReset()790 mediaExtractor.getSampleTrackIndex()); in testAsyncReset()806 assertTrue(runDecodeTillFirstOutput(mediaCodec, mediaExtractor)); in testAsyncReset()850 if (mediaExtractor != null) { in testAsyncReset()851 mediaExtractor.release(); in testAsyncReset()1232 MediaExtractor mediaExtractor = null; in testDecodeAfterFlush()1239 mediaExtractor = getMediaExtractorForMimeType(INPUT_RESOURCE, mimeTypePrefix); in testDecodeAfterFlush()1241 mediaExtractor.getTrackFormat(mediaExtractor.getSampleTrackIndex()); in testDecodeAfterFlush()1252 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()