Home
last modified time | relevance | path

Searched refs:presentationTimeUs (Results 1 – 6 of 6) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DMediaCodecAudioDecoder.java163 long presentationTimeUs = sampleHolder.timeUs; in decode() local
165 mDecodeOnlyPresentationTimestamps.add(presentationTimeUs); in decode()
167 mCodec.queueInputBuffer(mInputIndex, 0, sampleHolder.data.limit(), presentationTimeUs, 0); in decode()
172 private int getDecodeOnlyIndex(long presentationTimeUs) { in getDecodeOnlyIndex() argument
175 if (mDecodeOnlyPresentationTimestamps.get(i).longValue() == presentationTimeUs) { in getDecodeOnlyIndex()
200 int decodeOnlyIndex = getDecodeOnlyIndex(mOutputBufferInfo.presentationTimeUs); in maybeDecodeOnlyIndex()
224 return mOutputBufferInfo.presentationTimeUs; in getDecodedTimeUs()
DMpegTsDefaultAudioTrackRenderer.java503 long presentationTimeUs = mAudioDecoder.getDecodedTimeUs(); in feedInputBuffer() local
504 decodeDone(outputBuffer, presentationTimeUs); in feedInputBuffer()
617 private void decodeDone(ByteBuffer outputBuffer, long presentationTimeUs) { in decodeDone() argument
621 if (presentationTimeUs < 0) { in decodeDone()
627 TunerDebug.setAudioPtsUs(presentationTimeUs); in decodeDone()
634 if (presentationTimeUs == mPresentationTimeUs) { in decodeDone()
638 mPresentationTimeUs = presentationTimeUs; in decodeDone()
DAudioTrackWrapper.java150 public int handleBuffer(ByteBuffer buffer, int offset, int size, long presentationTimeUs) in handleBuffer() argument
155 return mAudioTrack.handleBuffer(buffer, offset, size, presentationTimeUs); in handleBuffer()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsSampleExtractor.java261 abstract void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs); in mayParseClosedCaption() argument
263 protected int parseClosedCaption(ByteBuffer buffer, int offset, long presentationTimeUs) { in parseClosedCaption() argument
279 holder.timeUs = presentationTimeUs; in parseClosedCaption()
289 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { in mayParseClosedCaption() argument
315 presentationTimeUs) in mayParseClosedCaption()
333 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { in mayParseClosedCaption() argument
360 presentationTimeUs) in mayParseClosedCaption()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsSampleExtractor.java273 abstract void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs); in mayParseClosedCaption() argument
275 int parseClosedCaption(ByteBuffer buffer, int offset, long presentationTimeUs) { in parseClosedCaption() argument
291 holder.timeUs = presentationTimeUs; in parseClosedCaption()
301 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { in mayParseClosedCaption() argument
327 presentationTimeUs) in mayParseClosedCaption()
345 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { in mayParseClosedCaption() argument
372 presentationTimeUs) in mayParseClosedCaption()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DVideoUtils.java205 bufferInfo.presentationTimeUs = extractor.getSampleTime(); in genVideoUsingMuxer()
206 if (endMs > 0 && bufferInfo.presentationTimeUs > (endMs * 1000)) { in genVideoUsingMuxer()