/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 494 int64_t timeUs; local 495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); 501 timeUs,
|
H A D | codec.cpp | 184 int64_t timeUs; local 185 err = extractor->getSampleTime(&timeUs); 194 timeUs, 220 0ll /* timeUs */,
|
H A D | mediafilter.cpp | 219 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 D | muxer.cpp | 179 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 D | stagefright.cpp | 588 int64_t timeUs; local 589 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 592 seekTimeUs, timeUs, seekTimeUs - timeUs);
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 127 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 D | IMediaMetadataRetriever.cpp | 139 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 D | mediametadataretriever.cpp | 144 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 D | WGraphicBufferSource.cpp | 42 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 D | MetadataRetrieverClient.cpp | 196 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 D | StagefrightRecorder.cpp | 545 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 D | GenericSource.cpp | 624 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 D | HTTPLiveSource.cpp | 218 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 D | NuPlayer.cpp | 677 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 D | NuPlayerCCDecoder.cpp | 216 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 D | NuPlayerDecoder.cpp | 162 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 D | NuPlayerDecoderPassThrough.cpp | 178 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 D | RTSPSource.cpp | 314 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 D | StreamingSource.cpp | 279 int64_t timeUs; local 280 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 281 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
/frameworks/av/media/libstagefright/ |
H A D | ACodec.cpp | 280 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 D | AVIExtractor.cpp | 175 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 D | AudioSource.cpp | 257 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 D | CameraSource.cpp | 1152 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 D | FLACExtractor.cpp | 702 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local 703 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
H A D | MPEG2TSWriter.cpp | 243 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...] |