Home
last modified time | relevance | path

Searched refs:sampleHolder (Results 1 – 14 of 14) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsSampleExtractor.java189 public int readSample(int track, DecoderInputBuffer sampleHolder) { in readSample() argument
193 sampleHolder.ensureSpaceForWrite(CC_BUFFER_SIZE_IN_BYTES); in readSample()
195 sampleHolder.timeUs = holder.timeUs; in readSample()
196 sampleHolder.data.clear(); in readSample()
197 sampleHolder.data.put(holder.data); in readSample()
207 int result = mSampleExtractor.readSample(track, sampleHolder); in readSample()
218 && sampleHolder.data != null) { in readSample()
219 mCcParser.mayParseClosedCaption(sampleHolder.data, sampleHolder.timeUs); in readSample()
DFileSampleExtractor.java271 public int readSample(int track, DecoderInputBuffer sampleHolder) { in readSample() argument
272 return mSampleBuffer.readSample(track, sampleHolder); in readSample()
DSampleExtractor.java114 int readSample(int track, DecoderInputBuffer sampleHolder); in readSample() argument
DExoPlayerSampleExtractor.java487 public int readSample(int track, DecoderInputBuffer sampleHolder) { in readSample() argument
488 return mSampleBuffer.readSample(track, sampleHolder); in readSample()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMediaCodecAudioDecoder.java155 public void decode(SampleHolder sampleHolder) { in decode() argument
157 if (!sampleHolder.isSyncFrame()) { in decode()
158 sampleHolder.clearData(); in decode()
163 long presentationTimeUs = sampleHolder.timeUs; in decode()
164 if (sampleHolder.isDecodeOnly()) { in decode()
167 mCodec.queueInputBuffer(mInputIndex, 0, sampleHolder.data.limit(), presentationTimeUs, 0); in decode()
DAudioDecoder.java32 public abstract void decode(SampleHolder sampleHolder); in decode() argument
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java204 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument
209 sampleHolder.timeUs = holder.timeUs; in readSample()
210 sampleHolder.data.put(holder.data); in readSample()
220 int result = mSampleExtractor.readSample(track, sampleHolder); in readSample()
231 && sampleHolder.data != null) { in readSample()
232 mCcParser.mayParseClosedCaption(sampleHolder.data, sampleHolder.timeUs); in readSample()
DFileSampleExtractor.java150 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument
151 return mSampleBuffer.readSample(track, sampleHolder); in readSample()
DMpegTsSampleSource.java135 int track, long positionUs, MediaFormatHolder formatHolder, SampleHolder sampleHolder) { in readData() argument
148 return mSampleExtractor.readSample(track, sampleHolder); in readData()
DSampleExtractor.java103 int readSample(int track, SampleHolder sampleHolder); in readSample() argument
DExoPlayerSampleExtractor.java543 public int readSample(int track, SampleHolder sampleHolder) { in readSample() argument
544 return mSampleBuffer.readSample(track, sampleHolder); in readSample()
/packages/apps/TV/tuner/tests/robotests/javatests/com/android/tv/tuner/exoplayer/tests/
DSampleSourceExtractorTest.java109 SampleHolder sampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_NORMAL); in testTrickplayDisabled() local
110 sampleHolder.ensureSpaceForWrite(SAMPLE_BUFFER_SIZE); in testTrickplayDisabled()
117 int result = extractor.readSample(j, sampleHolder); in testTrickplayDisabled()
180 SampleHolder sampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_NORMAL); in testDiskTooSlowTrickplayDisabled() local
181 sampleHolder.ensureSpaceForWrite(SAMPLE_BUFFER_SIZE); in testDiskTooSlowTrickplayDisabled()
186 int result = extractor.readSample(j, sampleHolder); in testDiskTooSlowTrickplayDisabled()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/buffer/
DMemorySampleBuffer.java85 public synchronized int readSample(int track, DecoderInputBuffer sampleHolder) { in readSample() argument
88 int result = queue == null ? C.RESULT_NOTHING_READ : queue.dequeueSample(sampleHolder); in readSample()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/buffer/
DSimpleSampleBuffer.java112 public synchronized int readSample(int track, SampleHolder sampleHolder) { in readSample() argument
115 int result = queue == null ? SampleSource.NOTHING_READ : queue.dequeueSample(sampleHolder); in readSample()