Home
last modified time | relevance | path

Searched refs:videoExtractor (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderRenderTest.java129 MediaExtractor videoExtractor = createMediaExtractor(fileName); in onFrameRendered_indicatesAllFramesRendered() local
130 int videoTrackIndex = getFirstVideoTrack(videoExtractor); in onFrameRendered_indicatesAllFramesRendered()
131 videoExtractor.selectTrack(videoTrackIndex); in onFrameRendered_indicatesAllFramesRendered()
132 MediaFormat videoFormat = videoExtractor.getTrackFormat(videoTrackIndex); in onFrameRendered_indicatesAllFramesRendered()
137 VideoDecoderCallback videoDecoderCallback = new VideoDecoderCallback(videoExtractor); in onFrameRendered_indicatesAllFramesRendered()
266 MediaExtractor videoExtractor = createMediaExtractor(fileName); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered() local
267 int videoTrackIndex = getFirstVideoTrack(videoExtractor); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
268 videoExtractor.selectTrack(videoTrackIndex); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
269 MediaFormat videoFormat = videoExtractor.getTrackFormat(videoTrackIndex); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
274 VideoDecoderCallback videoDecoderCallback = new VideoDecoderCallback(videoExtractor); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
[all …]
DDecodeOnlyTest.java227 MediaExtractor videoExtractor = createMediaExtractor(fileName); in testNonTunneledTrickPlay() local
230 int videoTrackIndex = getFirstTrackWithMimePrefix(MIME_VIDEO_PREFIX, videoExtractor); in testNonTunneledTrickPlay()
231 videoExtractor.selectTrack(videoTrackIndex); in testNonTunneledTrickPlay()
234 MediaFormat videoFormat = videoExtractor.getTrackFormat(videoTrackIndex); in testNonTunneledTrickPlay()
256 int sampleSize = videoExtractor.readSampleData(inputBuffer, 0); in testNonTunneledTrickPlay()
257 long presentationTime = videoExtractor.getSampleTime(); in testNonTunneledTrickPlay()
270 videoExtractor.advance(); in testNonTunneledTrickPlay()
326 MediaExtractor videoExtractor = createMediaExtractor(fileName); in testTunneledTrickPlay() local
329 int videoTrackIndex = getFirstTrackWithMimePrefix(MIME_VIDEO_PREFIX, videoExtractor); in testTunneledTrickPlay()
330 videoExtractor.selectTrack(videoTrackIndex); in testTunneledTrickPlay()
[all …]
DVideoDecoderCallback.java37 VideoDecoderCallback(MediaExtractor videoExtractor) { in VideoDecoderCallback() argument
38 mVideoExtractor = videoExtractor; in VideoDecoderCallback()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DExtractDecodeEditEncodeMuxTest.java401 MediaExtractor videoExtractor = null; in extractDecodeEditEncodeMux() local
414 videoExtractor = createExtractor(); in extractDecodeEditEncodeMux()
415 int videoInputTrack = getAndSelectVideoTrackIndex(videoExtractor); in extractDecodeEditEncodeMux()
417 MediaFormat inputFormat = videoExtractor.getTrackFormat(videoInputTrack); in extractDecodeEditEncodeMux()
449 videoExtractor, in extractDecodeEditEncodeMux()
466 if (videoExtractor != null) { in extractDecodeEditEncodeMux()
467 videoExtractor.release(); in extractDecodeEditEncodeMux()
768 MediaExtractor videoExtractor, in doExtractDecodeEditEncodeMux() argument
879 int size = videoExtractor.readSampleData(decoderInputBuffer, 0); in doExtractDecodeEditEncodeMux()
880 long presentationTime = videoExtractor.getSampleTime(); in doExtractDecodeEditEncodeMux()
[all …]
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp500 AMediaExtractor* videoExtractor = aMediaObjects.getVideoExtractor(); in playContent() local
515 addTracks(videoExtractor, crypto, window, &videoCodec); in playContent()
529 fillDecoder(videoCodec, videoExtractor, in playContent()