HomeSort by relevance Sort by last modified time
    Searched refs:presentationTimeUs (Results 1 - 25 of 105) sorted by null

1 2 3 4 5

  /developers/build/prebuilts/gradle/BasicMediaDecoder/Application/src/main/java/com/example/android/common/media/
MediaCodecWrapper.java 175 * @param presentationTimeUs The time, relative to the beginning of the media stream,
185 final long presentationTimeUs,
207 // Submit the buffer to the codec for decoding. The presentationTimeUs
210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
231 * @param presentationTimeUs The time, relative to the beginning of the media stream,
241 final long presentationTimeUs,
255 // Submit the buffer to the codec for decoding. The presentationTimeUs
258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, presentationTimeUs, flags)
    [all...]
  /developers/build/prebuilts/gradle/MediaRecorder/Application/src/main/java/com/example/android/common/media/
MediaCodecWrapper.java 175 * @param presentationTimeUs The time, relative to the beginning of the media stream,
185 final long presentationTimeUs,
207 // Submit the buffer to the codec for decoding. The presentationTimeUs
210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
231 * @param presentationTimeUs The time, relative to the beginning of the media stream,
241 final long presentationTimeUs,
255 // Submit the buffer to the codec for decoding. The presentationTimeUs
258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, presentationTimeUs, flags)
    [all...]
  /developers/samples/android/common/src/java/com/example/android/common/media/
MediaCodecWrapper.java 175 * @param presentationTimeUs The time, relative to the beginning of the media stream,
185 final long presentationTimeUs,
207 // Submit the buffer to the codec for decoding. The presentationTimeUs
210 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
212 mDecoder.queueSecureInputBuffer(index, 0, crypto, presentationTimeUs, flags);
231 * @param presentationTimeUs The time, relative to the beginning of the media stream,
241 final long presentationTimeUs,
255 // Submit the buffer to the codec for decoding. The presentationTimeUs
258 mDecoder.queueInputBuffer(index, 0, size, presentationTimeUs, flags);
261 mDecoder.queueSecureInputBuffer(index, 0, sCryptoInfo, 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...]
  /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;
  /cts/tests/tests/media/src/android/media/cts/
MediaCodecWrapper.java 64 long presentationTimeUs,
SdkMediaCodec.java 121 long presentationTimeUs,
123 mCodec.queueInputBuffer(index, offset, size, presentationTimeUs, flags);
CodecState.java 333 mMediaTimeProvider.getRealTimeUsForMediaTime(info.presentationTimeUs);
346 mAudioTrack.write(audioBuffer, info.size, info.presentationTimeUs*1000);
350 mPresentationTimeUs = info.presentationTimeUs;
367 mPresentationTimeUs = info.presentationTimeUs;
NdkMediaCodec.java 74 long presentationTimeUs,
162 info.presentationTimeUs = ret[3];
208 long presentationTimeUs,
211 AMediaCodecQueueInputBuffer(mNdkMediaCodec, index, offset, size, presentationTimeUs, flags);
AdaptivePlaybackTest.java     [all...]
DecoderTestAacDrc.java 355 long presentationTimeUs = 0;
369 presentationTimeUs = extractor.getSampleTime();
375 presentationTimeUs,
387 //Log.d(TAG, "got frame, size " + info.size + "/" + info.presentationTimeUs);
392 timestamps.add(info.presentationTimeUs);
  /frameworks/base/media/jni/
android_media_MediaSync.h 41 status_t updateQueuedAudioData(int sizeInBytes, int64_t presentationTimeUs);
  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/
MpegTsSampleExtractor.java 231 abstract void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs);
233 protected int parseClosedCaption(ByteBuffer buffer, int offset, long presentationTimeUs) {
249 holder.timeUs = presentationTimeUs;
259 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) {
282 presentationTimeUs) - i;
299 public void mayParseClosedCaption(ByteBuffer buffer, long presentationTimeUs) {
323 presentationTimeUs) - i;
  /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 106 metaInfo.presentationTimeUs = currentVideoTrackTimeUs;
291 int offset, int size, long presentationTimeUs, @MediaCodec.BufferFlag int flags);
662 || bufferInfo.presentationTimeUs < 0) {
677 bufferInfo.presentationTimeUs, bufferInfo.flags);
MediaCodec.java 613 BufferInfo#presentationTimeUs presentation timestamp} of the buffer (converted to nanoseconds).
    [all...]
  /cts/tests/tests/media/libmediandkjni/
native_media_utils.cpp 84 return l.presentationTimeUs < r.presentationTimeUs;
97 int64_t duration = (*std::max_element(from, to, comparePTS)).presentationTimeUs
98 - (*std::min_element(from, to, comparePTS)).presentationTimeUs;
122 int64_t duration = mInfos[frameNumTo].presentationTimeUs -
123 mInfos[frameNumFrom].presentationTimeUs;
native-mediadrm-jni.cpp 335 int64_t* presentationTimeUs, bool* eosReached) {
349 *presentationTimeUs = AMediaExtractor_getSampleTime(extractor);
356 *presentationTimeUs,
362 *presentationTimeUs,
369 static bool drainDecoder(AMediaCodec* codec, int64_t presentationTimeUs,
380 *startTimeNano = getSystemNanoTime() - (presentationTimeUs * 1000);
382 int64_t delay = (*startTimeNano + presentationTimeUs * 1000) -
  /packages/apps/TV/src/com/android/tv/tuner/exoplayer/ac3/
AudioTrackWrapper.java 140 public int handleBuffer(ByteBuffer buffer, int offset, int size, long presentationTimeUs)
145 return mAudioTrack.handleBuffer(buffer, offset, size, presentationTimeUs);
Ac3PassthroughTrackRenderer.java 457 private void decodeDone(ByteBuffer outputBuffer, long presentationTimeUs) {
461 if (presentationTimeUs < 0) {
462 Log.e(TAG, "decodeDone - invalid presentationTimeUs");
467 TunerDebug.setAudioPtsUs(presentationTimeUs);
474 mMonitor.addPts(presentationTimeUs, mOutputBuffer.position(),
476 if (presentationTimeUs == mPresentationTimeUs) {
480 mPresentationTimeUs = presentationTimeUs;
  /frameworks/av/cmds/stagefright/
codec.cpp 256 int64_t presentationTimeUs;
259 &index, &offset, &size, &presentationTimeUs, &flags,
264 index, (long long)presentationTimeUs);
276 - (presentationTimeUs * 1000);
278 presentationTimeUs =
279 (presentationTimeUs * 1000) + startTimeRender;
281 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);
598 &frame.presentationTimeUs, &frame.flags, kTimeout);
602 frame.index, (long long)frame.presentationTimeUs);

Completed in 1204 milliseconds

1 2 3 4 5