/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ac3/ |
Ac3Decoder.java | 29 void decodeDone(ByteBuffer resultBuffer, long presentationTimeUs); 42 public abstract void decode(ByteBuffer inputBuffer, long presentationTimeUs);
|
Ac3PassthroughDecoder.java | 37 public void decode(ByteBuffer inputBuffer, long presentationTimeUs) { 38 mListener.decodeDone(inputBuffer, presentationTimeUs);
|
AudioTrackWrapper.java | 137 public int handleBuffer(ByteBuffer buffer, int offset, int size, long presentationTimeUs) 142 return mAudioTrack.handleBuffer(buffer, offset, size, presentationTimeUs);
|
Ac3TrackRenderer.java | 466 public void decodeDone(ByteBuffer outputBuffer, long presentationTimeUs) { 470 if (presentationTimeUs < 0) { 471 Log.e(TAG, "decodeDone - invalid presentationTimeUs"); 476 UsbTunerDebug.setAudioPtsUs(presentationTimeUs); 483 mMonitor.addPts(presentationTimeUs, mOutputBuffer.position(), 485 if (presentationTimeUs == mPresentationTimeUs) { 489 mPresentationTimeUs = presentationTimeUs;
|
/developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/developers/build/prebuilts/gradle/BasicRenderScript/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/developers/samples/android/common/src/java/com/example/android/common/media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/development/samples/browseable/BasicMediaDecoder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/development/samples/browseable/BasicRenderScript/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/development/samples/browseable/MediaRecorder/src/com.example.android.common.media/ |
MediaCodecWrapper.java | 178 * @param presentationTimeUs The time, relative to the beginning of the media stream, 188 final long presentationTimeUs, 210 // Submit the buffer to the codec for decoding. The presentationTimeUs 213 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 215 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags); 234 * @param presentationTimeUs The time, relative to the beginning of the media stream, 244 final long presentationTimeUs, 259 // Submit the buffer to the codec for decoding. The presentationTimeUs 262 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags); 265 mDecoder.queueSecureInputBuffer(index, 0, cryptoInfo, presentationTimeUs, flags) [all...] |
/packages/apps/TV/usbtuner/src/com/android/usbtuner/exoplayer/ |
MpegTsSampleSourceExtractor.java | 218 abstract void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs); 220 protected void parseClosedCaption(ByteBuffer buffer, int offset, long presentationTimeUs) { 235 mCea708PresentationTimeUs = presentationTimeUs; 241 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { 256 parseClosedCaption(buffer, pos + 9, presentationTimeUs); 268 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) { 284 parseClosedCaption(buffer, pos + 14, presentationTimeUs);
|
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/ |
TrackDecoder.java | 111 long presentationTimeUs = 0; 127 presentationTimeUs = mediaExtractor.getSampleTime(); 132 presentationTimeUs,
|
AudioTrackDecoder.java | 86 mAudioPresentationTimeUs = info.presentationTimeUs;
|
/frameworks/base/media/jni/ |
android_media_MediaSync.h | 41 status_t updateQueuedAudioData(int sizeInBytes, int64_t presentationTimeUs);
|
/frameworks/base/media/java/android/media/ |
MediaSync.java | 178 long presentationTimeUs) { 181 mPresentationTimeUs = presentationTimeUs; 502 * @param presentationTimeUs the presentation timestamp in microseconds for the first frame 508 @NonNull ByteBuffer audioData, int bufferId, long presentationTimeUs) { 515 mAudioBuffers.add(new AudioBuffer(audioData, bufferId, presentationTimeUs)); 575 int sizeInBytes, long presentationTimeUs);
|
MediaMuxer.java | 109 int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags); 460 || bufferInfo.presentationTimeUs < 0) { 475 bufferInfo.presentationTimeUs, bufferInfo.flags);
|
MediaCodec.java | 611 BufferInfo#presentationTimeUs presentation timestamp} of the buffer (converted to nanoseconds). [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
CodecState.java | 335 mMediaTimeProvider.getRealTimeUsForMediaTime(info.presentationTimeUs); 348 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000); 352 mPresentationTimeUs = info.presentationTimeUs; 369 mPresentationTimeUs = info.presentationTimeUs;
|
AdaptivePlaybackTest.java | [all...] |
/frameworks/av/cmds/stagefright/ |
codec.cpp | 254 int64_t presentationTimeUs; 257 &index, &offset, &size, &presentationTimeUs, &flags, 262 index, (long long)presentationTimeUs); 274 - (presentationTimeUs * 1000); 276 presentationTimeUs = 277 (presentationTimeUs * 1000) + startTimeRender; 279 index, presentationTimeUs);
|
mediafilter.cpp | 145 int64_t presentationTimeUs; 259 int64_t presentationTimeUs; 262 &index, &offset, &size, &presentationTimeUs, &flags, 281 + 33000000 - (presentationTimeUs * 1000); 283 presentationTimeUs = 284 (presentationTimeUs * 1000) + *startTimeRender; 286 index, presentationTimeUs); 596 &frame.presentationTimeUs, &frame.flags, kTimeout); 600 frame.index, (long long)frame.presentationTimeUs);
|
/frameworks/av/media/ndk/ |
NdkMediaMuxer.cpp | 102 muxer->mImpl->writeSampleData(buf, trackIdx, info->presentationTimeUs, info->flags));
|
/development/ndk/platforms/android-21/samples/native-codec/jni/ |
native-codec-jni.cpp | 102 int64_t presentationTimeUs = AMediaExtractor_getSampleTime(d->ex); 104 AMediaCodec_queueInputBuffer(d->codec, bufidx, 0, sampleSize, presentationTimeUs, 118 int64_t presentationNano = info.presentationTimeUs * 1000;
|
/development/ndk/platforms/android-21/include/media/ |
NdkMediaCodec.h | 47 int64_t presentationTimeUs;
|