Searched defs:timeUs (Results 1 - 25 of 73) sorted by path

123

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp494 int64_t timeUs; local
495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
501 timeUs,
H A Dcodec.cpp184 int64_t timeUs; local
185 err = extractor->getSampleTime(&timeUs);
194 timeUs,
220 0ll /* timeUs */,
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 Dmuxer.cpp179 int64_t timeUs; local
180 err = extractor->getSampleTime(&timeUs);
194 if (enableTrim && timeUs > trimStartTimeUs &&
195 timeUs <= trimEndTimeUs) {
197 trimOffsetTimeUs = timeUs;
203 if (enableTrim && timeUs > trimEndTimeUs) {
210 timeUs - trimOffsetTimeUs, sampleFlags);
H A Dstagefright.cpp588 int64_t timeUs; local
589 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
592 seekTimeUs, timeUs, seekTimeUs - timeUs);
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h127 void setStartTimestampUs(int64_t timeUs);
141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument
142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp139 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument
141 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option);
144 data.writeInt64(timeUs);
267 int64_t timeUs = data.readInt64(); local
269 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option);
273 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
H A Dmediametadataretriever.cpp144 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument
146 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d)", timeUs, option);
152 return mRetriever->getFrameAtTime(timeUs, option);
/frameworks/av/media/libmedia/omx/1.0/
H A DWGraphicBufferSource.cpp42 bool suspend, int64_t timeUs) {
43 return toBinderStatus(mBase->setSuspend(suspend, timeUs));
41 setSuspend( bool suspend, int64_t timeUs) argument
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp196 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument
198 ALOGV("getFrameAtTime: time(%lld us) option(%d)", (long long)timeUs, option);
206 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
H A DStagefrightRecorder.cpp545 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
546 ALOGV("setParamMaxFileDurationUs: %lld us", (long long)timeUs);
549 if (timeUs <= 0) {
551 (long long)timeUs);
552 timeUs = 0; // Disable the duration limit for zero or negative values.
553 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
554 ALOGE("Max file duration is too short: %lld us", (long long)timeUs);
558 if (timeUs <= 15 * 1000000LL) {
559 ALOGW("Target duration (%lld us) too short to be respected", (long long)timeUs);
561 mMaxFileDurationUs = timeUs;
1941 int64_t timeUs = source->getFirstSampleSystemTimeUs(); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp624 int64_t timeUs, actualTimeUs; local
627 timeUs = mAudioLastDequeueTimeUs;
629 timeUs = mVideoLastDequeueTimeUs;
631 readBuffer(trackType, timeUs, MediaPlayerSeekMode::SEEK_PREVIOUS_SYNC /* mode */,
635 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs);
729 int64_t timeUs; local
730 CHECK(msg->findInt64("timeUs", &timeUs));
733 readBuffer(type, timeUs, MediaPlayerSeekMod
897 int64_t timeUs; local
1067 selectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1085 int64_t timeUs; local
1099 doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1304 int64_t timeUs; local
1450 int64_t timeUs; local
1627 updateQueuedTime(bool isAudio, int64_t timeUs) argument
[all...]
H A DHTTPLiveSource.cpp218 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) {
286 int64_t timeUs, baseUs, delayUs; local
288 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
289 delayUs = baseUs + timeUs - ALooper::GetNowUs();
H A DNuPlayer.cpp677 int64_t timeUs; local
680 CHECK(msg->findInt64("timeUs", &timeUs));
694 err = mSource->selectTrack(trackIndex, select, timeUs);
2063 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { argument
2067 msg->setInt64("timeUs", timeUs);
2527 int64_t timeUs, posUs; local
2530 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
2602 int64_t timeUs, durationUs; local
2619 int64_t timeUs; local
2634 int64_t timeUs; local
[all...]
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 DNuPlayerDecoder.cpp162 int64_t timeUs; local
168 CHECK(msg->findInt64("timeUs", &timeUs));
171 handleAnOutputBuffer(index, offset, size, timeUs, flags);
698 int64_t timeUs,
719 buffer->meta()->setInt64("timeUs", timeUs);
734 if (timeUs < mSkipRenderingUntilMediaTimeUs) {
736 mComponentName.c_str(), (long long)timeUs);
936 CHECK(accessUnit->meta()->findInt64("timeUs",
694 handleAnOutputBuffer( size_t index, size_t offset, size_t size, int64_t timeUs, int32_t flags) argument
1000 int64_t timeUs = 0; local
1096 int64_t timeUs; local
[all...]
H A DNuPlayerDecoderPassThrough.cpp178 int64_t timeUs; local
180 bool smallTimestampValid = accessUnit->meta()->findInt64("timeUs", &timeUs);
181 bool bigTimestampValid = mAggregateBuffer->meta()->findInt64("timeUs", &dummy);
197 mAggregateBuffer->meta()->setInt64("timeUs", timeUs);
272 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs));
321 int64_t timeUs = 0; local
322 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
[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);
H A DStreamingSource.cpp279 int64_t timeUs; local
280 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
281 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
/frameworks/av/media/libstagefright/
H A DACodec.cpp280 int64_t timeUs,
5540 int64_t timeUs; local
5545 CHECK(msg->findInt64("timestamp", &timeUs));
5552 timeUs,
5726 int64_t timeUs; local
5727 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
5777 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5780 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5788 mCodec->mBufferStats.add(timeUs, stat
5928 onOMXFillBufferDone( IOMX::buffer_id bufferID, size_t rangeOffset, size_t rangeLength, OMX_U32 flags, int64_t timeUs, int fenceFd) argument
[all...]
H A DAVIExtractor.cpp175 int64_t timeUs; local
177 mTrackIndex, mSampleIndex, &offset, &size, &isKey, &timeUs);
196 out->meta_data()->setInt64(kKeyTime, timeUs);
353 int64_t timeUs = mBaseTimeUs + (mNumSamplesRead * 1000000ll) / sampleRate; local
356 mbuf->meta_data()->setInt64(kKeyTime, timeUs);
848 int64_t timeUs; local
849 status_t err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs);
853 err = getSampleInfo(0, 0, &offset, &size, &isKey, &timeUs);
1005 int64_t timeUs; local
1007 getSampleInfo(trackIndex, 0, &offset, &size, &isKey, &timeUs);
1053 int64_t timeUs; local
1172 getSampleIndexAtTime( size_t trackIndex, int64_t timeUs, MediaSource::ReadOptions::SeekMode mode, size_t *sampleIndex) const argument
[all...]
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 DCameraSource.cpp1152 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1153 mFrameTimes.push_back(timeUs);
1155 mStartTimeUs, timeUs);
1218 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1219 mFrameTimes.push_back(timeUs);
1220 ALOGV("initial delay: %" PRId64 ", current time stamp: %" PRId64, mStartTimeUs, timeUs);
1266 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1267 mFrameTimes.push_back(timeUs);
1268 ALOGV("initial delay: %" PRId64 ", current time stamp: %" PRId64, mStartTimeUs, timeUs);
1360 int64_t timeUs local
[all...]
H A DFLACExtractor.cpp702 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
703 buffer->meta_data()->setInt64(kKeyTime, timeUs);
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...]

Completed in 295 milliseconds

123