Searched refs:mExtractor (Results 1 – 4 of 4) sorted by relevance
32 protected MediaExtractor mExtractor; field in MediaExtractorTest38 mExtractor = new MediaExtractor(); in setUp()44 mExtractor.release(); in tearDown()54 mExtractor.setDataSource(ds); in setDataSource()60 mExtractor.setDataSource((MediaDataSource)null); in testNullMediaDataSourceIsRejected()69 mExtractor.release(); in testMediaDataSourceIsClosedOnRelease()77 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceThrows()88 mExtractor.setDataSource(dataSource); in testExtractorFailsIfMediaDataSourceReturnsAnError()100 final int trackCount = mExtractor.getTrackCount(); in testExtractFromAMediaDataSource()103 mExtractor.selectTrack(i); in testExtractFromAMediaDataSource()[all …]
49 private MediaExtractor mExtractor; field in CodecState67 mExtractor = extractor; in CodecState()207 int trackIndex = mExtractor.getSampleTrackIndex(); in feedInputBuffer()211 mExtractor.readSampleData(codecData, 0 /* offset */); in feedInputBuffer()213 long sampleTime = mExtractor.getSampleTime(); in feedInputBuffer()215 int sampleFlags = mExtractor.getSampleFlags(); in feedInputBuffer()241 mExtractor.getSampleCryptoInfo(info); in feedInputBuffer()251 mExtractor.advance(); in feedInputBuffer()
539 private MediaExtractor mExtractor = null; field in MediaSyncTest.Decoder580 mExtractor = MediaUtils.createMediaExtractorForMimeType( in setup()585 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()); in setup()617 if (mExtractor != null) { in release()618 mExtractor.release(); in release()619 mExtractor = null; in release()634 if (mExtractor == null) { in getAudioTrack()640 mExtractor.getTrackFormat(mExtractor.getSampleTrackIndex()); in getAudioTrack()686 if (mExtractor == null || mExtractor.getSampleTrackIndex() == -1 in onInputBufferAvailable()692 int size = mExtractor.readSampleData(buffer, 0); in onInputBufferAvailable()[all …]
171 private MediaExtractor mExtractor; field in VideoEncoderTest.VideoProcessorBase188 mExtractor = new MediaExtractor(); in open()190 mExtractor.setDataSource(mContext, Uri.parse(path), null); in open()192 mExtractor.setDataSource(path); in open()195 for (int i = 0; i < mExtractor.getTrackCount(); i++) { in open()196 MediaFormat fmt = mExtractor.getTrackFormat(i); in open()201 mExtractor.selectTrack(i); in open()271 if (mExtractor != null) { in close()272 mExtractor.release(); in close()273 mExtractor = null; in close()[all …]