Home
last modified time | relevance | path

Searched refs:extractor (Results 1 – 2 of 2) sorted by relevance

/platform_testing/libraries/device-collectors/src/main/java/android/device/stressmodes/
DIOContentionStressTestMode.java80 MediaExtractor extractor = null; in doCopyFile() local
84 extractor = new MediaExtractor(); in doCopyFile()
85 extractor.setDataSource( in doCopyFile()
88 int trackCount = extractor.getTrackCount(); in doCopyFile()
98 extractor.selectTrack(i); in doCopyFile()
99 MediaFormat format = extractor.getTrackFormat(i); in doCopyFile()
116 bufferInfo.size = extractor.readSampleData(dstBuf, offset); in doCopyFile()
122 bufferInfo.presentationTimeUs = extractor.getSampleTime(); in doCopyFile()
123 bufferInfo.flags = extractor.getSampleFlags(); in doCopyFile()
124 int trackIndex = extractor.getSampleTrackIndex(); in doCopyFile()
[all …]
/platform_testing/libraries/media-helper/src/android/test/mediahelper/
DMediaValidationHelper.java54 MediaExtractor extractor = new MediaExtractor(); in validateVideo() local
55 extractor.setDataSource(fileDescriptor); in validateVideo()
56 int numTracks = extractor.getTrackCount(); in validateVideo()
62 MediaFormat format = extractor.getTrackFormat(i); in validateVideo()