Searched refs:extractor (Results 1 – 2 of 2) sorted by relevance
80 MediaExtractor extractor = null; in doCopyFile() local84 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 …]
54 MediaExtractor extractor = new MediaExtractor(); in validateVideo() local55 extractor.setDataSource(fileDescriptor); in validateVideo()56 int numTracks = extractor.getTrackCount(); in validateVideo()62 MediaFormat format = extractor.getTrackFormat(i); in validateVideo()