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

123

/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp233 int64_t timeUs; local
235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
237 if (minTrackIndex < 0 || timeUs < minTimeUs) {
239 minTimeUs = timeUs;
260 int64_t timeUs; local
261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
262 tsPackets->meta()->setInt64("timeUs", timeUs);
498 int64_t timeUs = ALooper::GetNowUs(); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java230 * @param timeUs The time position where the frame will be retrieved.
233 * When this happens, a frame nearby will be returned. If timeUs is
239 * that has a timestamp earlier than or the same as timeUs. Use
241 * that has a timestamp later than or the same as timeUs. Use
243 * that has a timestamp closest to or the same as timeUs. Use
245 * or may not be a sync frame but is closest to or the same as timeUs.
247 * to the other options if there is no sync frame located at timeUs.
252 public Bitmap getFrameAtTime(long timeUs, int option) { argument
258 return _getFrameAtTime(timeUs, option);
269 * @param timeUs Th
281 getFrameAtTime(long timeUs) argument
303 _getFrameAtTime(long timeUs, int option) argument
[all...]
H A DMediaExtractor.java586 public native void seekTo(long timeUs, @SeekMode int mode); argument
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;
/frameworks/base/media/jni/
H A Dandroid_media_MediaMuxer.cpp78 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) {
124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
76 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);
/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
286 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8);
309 int64_t timeUs; local
310 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
318 timeUs, accessUni
325 parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) argument
339 parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size) argument
429 parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size) argument
504 display(int64_t timeUs) argument
[all...]
H A DRTSPSource.cpp314 msg->setInt64("timeUs", seekTimeUs);
503 CHECK(msg->findInt64("timeUs", &seekTimeUs));
606 int64_t timeUs; local
607 CHECK(msg->findInt64("time", &timeUs));
608 mHandler->continueSeekAfterPause(timeUs);
681 accessUnit->meta()->setInt64("timeUs", nptUs);
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp257 int64_t timeUs; local
258 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
259 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
281 timeUs *= (int64_t)mSampleRate / (int64_t)mOutSampleRate;
282 buffer->meta_data()->setInt64(kKeyTime, timeUs);
300 int64_t timeUs, position, timeNs; local
309 timeUs = timeNs / 1000 -
315 timeUs = systemTime() / 1000ll;
319 timeUs -= mRecord->latency() * 1000LL;
322 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs);
393 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
H A DNuMediaExtractor.cpp439 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) {
442 ssize_t minIndex = fetchTrackSamples(timeUs, mode);
438 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
H A DMPEG2TSWriter.cpp243 out->meta()->setInt64("timeUs", 0ll);
266 int64_t timeUs; local
267 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
268 mBuffer->meta()->setInt64("timeUs", timeUs);
290 int64_t timeUs; local
291 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
293 mBuffer->meta()->setInt64("timeUs", timeUs);
430 int64_t timeUs; local
629 int64_t timeUs = source->lastAccessUnitTimeUs(); local
842 int64_t timeUs; local
[all...]
H A DMediaCodecSource.cpp348 int64_t timeUs; local
349 if (!response->findInt64("time-us", &timeUs)) {
350 timeUs = -1ll;
352 return timeUs;
657 int64_t timeUs = 0ll; local
662 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
674 timeUs += mInputBufferTimeOffsetUs;
678 mDecodingTimeQueue.push_back(timeUs);
682 mFirstSampleTimeUs = timeUs;
687 driftTimeUs = timeUs
852 int64_t timeUs; local
[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.cpp245 int64_t timeUs; local
338 &timeUs,
355 done = (targetTimeUs < 0ll) || (timeUs >= targetTimeUs);
356 ALOGV("Received an output buffer, timeUs=%lld", (long long)timeUs);
380 if (timeUs != thumbNailTime) {
384 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s",
385 (long long)thumbNailTime, (long long)timeUs, mime.c_str());
473 int64_t timeUs, int option) {
475 ALOGV("getFrameAtTime: %" PRId64 " us option: %d", timeUs, optio
472 getFrameAtTime( int64_t timeUs, int option) argument
[all...]
/frameworks/av/media/libstagefright/filters/
H A DMediaFilter.cpp237 info.mData->meta()->setInt64("timeUs", 0);
356 int64_t timeUs; local
357 CHECK(inputInfo->mData->meta()->findInt64("timeUs", &timeUs));
358 outputInfo->mData->meta()->setInt64("timeUs", timeUs);
714 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp142 int64_t timeUs; local
144 CHECK(mLatestDequeuedMeta->findInt64("timeUs", &timeUs));
145 if (timeUs > seg.mMaxDequeTimeUs) {
146 seg.mMaxDequeTimeUs = timeUs;
198 int64_t timeUs; local
199 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
202 if (timeUs > seg.mMaxDequeTimeUs) {
203 seg.mMaxDequeTimeUs = timeUs;
475 int64_t timeUs = 0; local
490 nextBufferTime(int64_t *timeUs) argument
551 int64_t timeUs; local
[all...]
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);
H A DMPEG2TSExtractor.cpp482 int64_t timeUs = mSeekSyncPoints->keyAt(index); local
483 if (timeUs > seekTimeUs) {
602 int64_t timeUs; local
603 while ((err = impl->nextBufferTime(&timeUs)) == OK) {
604 if (timeUs < syncTimeUs) {
/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.cpp533 int64_t timeUs; local
534 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
537 timeUs += copyUs;
538 buffer->meta()->setInt64("timeUs", timeUs);
579 int64_t timeUs; local
580 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
582 partialAudioAU->meta()->setInt64("timeUs", timeU
618 int64_t timeUs = 0ll; local
659 int64_t timeUs; local
689 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);
542 int64_t timeUs; local
543 err = extractor->getSampleTime(&timeUs);
550 timeUs, bufferFlag
[all...]
H A Dstagefright.cpp588 int64_t timeUs; local
589 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
592 seekTimeUs, timeUs, seekTimeUs - timeUs);
/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...]

Completed in 6423 milliseconds

123