Searched refs:mSampleHolder (Results 1 – 3 of 3) sorted by relevance
111 private SampleHolder mSampleHolder; field in MpegTsDefaultAudioTrackRenderer371 mSource.readData(mTrackIndex, mCurrentPositionUs, mFormatHolder, mSampleHolder); in readFormat()384 mSampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_DISABLED); in onInputFormatChanged()391 mSampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_DIRECT); in onInputFormatChanged()392 mSampleHolder.ensureSpaceForWrite(DEFAULT_INPUT_BUFFER_SIZE); in onInputFormatChanged()434 mSampleHolder.data = mAudioDecoder.getInputBuffer(); in feedInputBuffer()435 if (mSampleHolder.data != null) { in feedInputBuffer()436 mSampleHolder.clearData(); in feedInputBuffer()442 mSampleHolder.data.clear(); in feedInputBuffer()443 mSampleHolder.size = 0; in feedInputBuffer()[all …]
45 private final SampleHolder mSampleHolder; field in Cea708TextTrackRenderer67 mSampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_DIRECT); in Cea708TextTrackRenderer()68 mSampleHolder.ensureSpaceForWrite(DEFAULT_INPUT_BUFFER_SIZE); in Cea708TextTrackRenderer()186 mSampleHolder.data.clear(); in feedInputBuffer()187 mSampleHolder.size = 0; in feedInputBuffer()189 mSource.readData(mTrackIndex, mPresentationTimeUs, mFormatHolder, mSampleHolder); in feedInputBuffer()212 mSampleHolder.data.flip(); in feedInputBuffer()214 mCea708Parser.parseClosedCaption(mSampleHolder.data, mSampleHolder.timeUs); in feedInputBuffer()
189 private SampleHolder mSampleHolder; field in ExoPlayerSampleExtractor.SourceReaderWorker202 mSampleHolder = new SampleHolder(SampleHolder.BUFFER_REPLACEMENT_MODE_NORMAL); in SourceReaderWorker()418 mSampleHolder.flags = in queueSample()457 mSampleHolder.clearData(); in queueSample()458 mSampleHolder.flags = in queueSample()465 mSampleHolder.timeUs = mDecoderInputBuffer.timeUs; in queueSample()466 mSampleHolder.size = mDecoderInputBuffer.data.position(); in queueSample()467 mSampleHolder.ensureSpaceForWrite(mSampleHolder.size); in queueSample()469 mSampleHolder.data.position(0); in queueSample()470 mSampleHolder.data.put(mDecoderInputBuffer.data); in queueSample()[all …]