Home
last modified time | relevance | path

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

/packages/apps/TV/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleSource.java37 private final SampleExtractor mSampleExtractor; field in MpegTsSampleSource
54 mSampleExtractor = Assertions.checkNotNull(sampleExtractor); in MpegTsSampleSource()
70 if (mSampleExtractor.prepare()) { in prepare()
71 int trackCount = mSampleExtractor.getTrackFormats().size(); in prepare()
93 return mSampleExtractor.getTrackFormats().size(); in getTrackCount()
99 return mSampleExtractor.getTrackFormats().get(track); in getFormat()
107 mSampleExtractor.selectTrack(track); in enable()
115 mSampleExtractor.deselectTrack(track); in disable()
122 return mSampleExtractor.continueBuffering(positionUs); in continueBuffering()
143 mSampleExtractor.getTrackMediaFormat(track, formatHolder); in readData()
[all …]
DMpegTsSampleExtractor.java46 private final SampleExtractor mSampleExtractor; field in MpegTsSampleExtractor
74 mSampleExtractor = new ExoPlayerSampleExtractor(Uri.EMPTY, source, bufferManager, in MpegTsSampleExtractor()
88 mSampleExtractor = new FileSampleExtractor(bufferManager, bufferListener); in MpegTsSampleExtractor()
94 if (mSampleExtractor != null) { in maybeThrowError()
95 mSampleExtractor.maybeThrowError(); in maybeThrowError()
101 if(!mSampleExtractor.prepare()) { in prepare()
104 List<MediaFormat> formats = mSampleExtractor.getTrackFormats(); in prepare()
144 mSampleExtractor.selectTrack(index); in selectTrack()
153 mSampleExtractor.deselectTrack(index); in deselectTrack()
158 return mSampleExtractor.getBufferedPositionUs(); in getBufferedPositionUs()
[all …]