Searched defs:timeUs (Results 26 - 50 of 70) sorted by relevance

123

/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) {
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
73 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
H A Dandroid_media_MediaMetadataRetriever.cpp247 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument
249 ALOGV("getFrameAtTime: %lld us option: %d", (long long)timeUs, option);
258 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
H A Dandroid_media_MediaExtractor.cpp127 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
128 return mImpl->seekTo(timeUs, mode);
368 JNIEnv *env, jobject thiz, jlong timeUs, jint mode) {
382 extractor->seekTo(timeUs, (MediaSource::ReadOptions::SeekMode)mode);
126 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
367 android_media_MediaExtractor_seekTo( JNIEnv *env, jobject thiz, jlong timeUs, jint mode) argument
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.cpp216 int64_t timeUs; local
217 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
225 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize);
232 bool NuPlayer::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { argument
280 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8);
303 int64_t timeUs; local
304 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
312 timeUs, accessUni
319 parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) argument
333 parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size) argument
423 parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size) argument
498 display(int64_t timeUs) argument
[all...]
H A DNuPlayerDecoder.cpp138 int64_t timeUs; local
144 CHECK(msg->findInt64("timeUs", &timeUs));
147 handleAnOutputBuffer(index, offset, size, timeUs, flags);
557 int64_t timeUs,
573 buffer->meta()->setInt64("timeUs", timeUs);
588 if (timeUs < mSkipRenderingUntilMediaTimeUs) {
590 mComponentName.c_str(), (long long)timeUs);
758 CHECK(accessUnit->meta()->findInt64("timeUs",
553 handleAnOutputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, int32_t flags) argument
854 int64_t timeUs = 0; local
909 int64_t timeUs; local
[all...]
H A DRTSPSource.cpp290 msg->setInt64("timeUs", seekTimeUs);
398 CHECK(msg->findInt64("timeUs", &seekTimeUs));
466 int64_t timeUs; local
467 CHECK(msg->findInt64("time", &timeUs));
468 mHandler->continueSeekAfterPause(timeUs);
547 accessUnit->meta()->setInt64("timeUs", nptUs);
/frameworks/av/media/libstagefright/
H A DNuMediaExtractor.cpp440 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
443 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
439 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DMPEG2TSWriter.cpp244 out->meta()->setInt64("timeUs", 0ll);
264 int64_t timeUs; local
265 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
266 copy->meta()->setInt64("timeUs", timeUs);
295 int64_t timeUs; local
296 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
298 mAACBuffer->meta()->setInt64("timeUs", timeUs);
453 int64_t timeUs; local
657 int64_t timeUs = source->lastAccessUnitTimeUs(); local
871 int64_t timeUs; local
[all...]
H A DMediaCodecSource.cpp643 int64_t timeUs = 0ll; local
648 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
649 timeUs += mInputBufferTimeOffsetUs;
653 mDecodingTimeQueue.push_back(timeUs);
657 mFirstSampleTimeUs = timeUs;
663 driftTimeUs = timeUs - mFirstSampleTimeUs - driftTimeUs;
693 bufferIndex, 0, size, timeUs, flags);
803 int64_t timeUs; local
809 CHECK(msg->findInt64("timeUs", &timeUs));
[all...]
H A DMediaSync.cpp280 double timeUs = numPendingFrames * 1000000.0 local
282 if (timeUs > (double)INT64_MAX) {
288 *outTimeUs = (int64_t)timeUs;
H A DStagefrightMetadataRetriever.cpp238 int64_t timeUs; local
322 &timeUs,
359 if (timeUs != thumbNailTime) {
363 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s",
364 (long long)thumbNailTime, (long long)timeUs, mime.c_str());
436 int64_t timeUs, int option) {
438 ALOGV("getFrameAtTime: %" PRId64 " us option: %d", timeUs, option);
507 extractVideoFrame(componentName, trackMeta, source, timeUs, option);
435 getFrameAtTime( int64_t timeUs, int option) argument
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp254 info.mData->meta()->setInt64("timeUs", 0);
415 int64_t timeUs; local
416 CHECK(inputInfo->mData->meta()->findInt64("timeUs", &timeUs));
417 outputInfo->mData->meta()->setInt64("timeUs", timeUs);
780 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp141 int64_t timeUs; local
143 CHECK(mLatestDequeuedMeta->findInt64("timeUs", &timeUs));
144 if (timeUs > seg.mMaxDequeTimeUs) {
145 seg.mMaxDequeTimeUs = timeUs;
197 int64_t timeUs; local
198 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
201 if (timeUs > seg.mMaxDequeTimeUs) {
202 seg.mMaxDequeTimeUs = timeUs;
434 nextBufferTime(int64_t *timeUs) argument
495 int64_t timeUs; local
[all...]
H A DMPEG2TSExtractor.cpp324 int64_t timeUs = mSeekSyncPoints->keyAt(index); local
325 if (timeUs > seekTimeUs) {
444 int64_t timeUs; local
445 while ((err = impl->nextBufferTime(&timeUs)) == OK) {
446 if (timeUs < syncTimeUs) {
H A DMPEG2PSExtractor.cpp691 int64_t timeUs; local
693 timeUs = (PTS * 100) / 9;
695 timeUs = 0;
698 status_t err = mQueue->appendData(data, size, timeUs);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp574 int64_t timeUs; local
575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
669 int64_t timeUs; local
670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
754 int64_t timeUs; local
755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
H A DMyTransmitter.h641 int64_t timeUs; local
642 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
644 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp532 int64_t timeUs; local
533 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
536 timeUs += copyUs;
537 buffer->meta()->setInt64("timeUs", timeUs);
578 int64_t timeUs; local
579 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
581 partialAudioAU->meta()->setInt64("timeUs", timeU
617 int64_t timeUs = 0ll; local
658 int64_t timeUs; local
688 int64_t timeUs; local
[all...]
H A DTSPacketizer.cpp462 int64_t timeUs; local
463 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
873 uint64_t PTS = (timeUs * 9ll) / 100ll;
1044 int64_t timeUs; local
1045 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
1049 accessUnit2->meta()->setInt64("timeUs", timeUs);
/frameworks/av/cmds/stagefright/
H A Dmediafilter.cpp219 int64_t timeUs; local
220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs));
221 destBuffer->meta()->setInt64("timeUs", timeUs);
232 timeUs, frame.flags);
243 timeUs, frame.flags);
540 int64_t timeUs; local
541 err = extractor->getSampleTime(&timeUs);
548 timeUs, bufferFlag
[all...]
H A Dsf2.cpp455 outBuffer->meta()->setInt64("timeUs", 0);
505 int64_t timeUs; local
506 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
508 outBuffer->meta()->setInt64("timeUs", timeUs);
H A Dstagefright.cpp585 int64_t timeUs; local
586 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
589 seekTimeUs, timeUs, seekTimeUs - timeUs);
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp635 int64_t timeUs = item.mTimestamp / 1000; local
636 if (mFrameDropper != NULL && mFrameDropper->shouldDrop(timeUs)) {
637 ALOGV("skipping frame (%lld) to meet max framerate", static_cast<long long>(timeUs));
776 int64_t timeUs = item.mTimestamp / 1000; local
782 mPrevCaptureUs = timeUs;
783 mPrevFrameUs = timeUs;
786 int64_t nFrames = (timeUs + mTimePerCaptureUs / 2 - mPrevCaptureUs)
790 ALOGV("skipping frame, timeUs %lld", static_cast<long long>(timeUs));
797 ALOGV("timeUs
838 int64_t timeUs = getTimestamp(item); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.cpp212 int64_t timeUs; local
213 CHECK(packet->meta()->findInt64("timeUs", &timeUs));
227 uint32_t rtpTime = (timeUs * 9) / 100ll;
252 int64_t timeUs; local
253 CHECK(tsPackets->meta()->findInt64("timeUs", &timeUs));
299 timeUs);
311 int64_t timeUs; local
312 CHECK(accessUnit->meta()->findInt64("timeUs",
459 sendRTPPacket( const sp<ABuffer> &buffer, bool storeInHistory, bool timeValid, int64_t timeUs) argument
[all...]
/frameworks/base/media/java/android/media/
H A DSubtitleTrack.java227 public void onTimedEvent(long timeUs) { argument
228 if (DEBUG) Log.d(TAG, "onTimedEvent " + timeUs);
230 long timeMs = timeUs / 1000;
242 public void onSeek(long timeUs) { argument
243 if (DEBUG) Log.d(TAG, "onSeek " + timeUs);
245 long timeMs = timeUs / 1000;

Completed in 4172 milliseconds

123