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

123

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp491 int64_t timeUs; local
492 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
498 timeUs,
H A Dcodec.cpp182 int64_t timeUs; local
183 err = extractor->getSampleTime(&timeUs);
192 timeUs,
218 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);
540 int64_t timeUs; local
541 err = extractor->getSampleTime(&timeUs);
548 timeUs, bufferFlag
[all...]
H A Dmuxer.cpp180 int64_t timeUs; local
181 err = extractor->getSampleTime(&timeUs);
195 if (enableTrim && timeUs > trimStartTimeUs &&
196 timeUs <= trimEndTimeUs) {
198 trimOffsetTimeUs = timeUs;
204 if (enableTrim && timeUs > trimEndTimeUs) {
211 timeUs - trimOffsetTimeUs, sampleFlags);
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/include/media/
H A DMediaMetadataRetrieverInterface.h45 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
57 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h111 void setStartTimestampUs(int64_t timeUs);
125 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument
126 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
195 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/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.cpp417 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
418 ALOGV("setParamMaxFileDurationUs: %lld us", (long long)timeUs);
421 if (timeUs <= 0) {
423 (long long)timeUs);
424 timeUs = 0; // Disable the duration limit for zero or negative values.
425 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
426 ALOGE("Max file duration is too short: %lld us", (long long)timeUs);
430 if (timeUs <= 15 * 1000000LL) {
431 ALOGW("Target duration (%lld us) too short to be respected", (long long)timeUs);
433 mMaxFileDurationUs = timeUs;
584 int64_t timeUs = (int64_t) (1000000.0 / fps + 0.5f); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp661 int64_t timeUs, actualTimeUs; local
664 timeUs = mAudioLastDequeueTimeUs;
666 timeUs = mVideoLastDequeueTimeUs;
668 readBuffer(trackType, timeUs, &actualTimeUs, formatChange);
670 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs);
758 int64_t timeUs; local
759 CHECK(msg->findInt64("timeUs", &timeUs));
762 readBuffer(type, timeUs,
924 int64_t timeUs; local
1066 selectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1084 int64_t timeUs; local
1098 doSelectTrack(size_t trackIndex, bool select, int64_t timeUs) argument
1287 int64_t timeUs; local
1443 int64_t timeUs; local
1567 updateQueuedTime(bool isAudio, int64_t timeUs) argument
[all...]
H A DHTTPLiveSource.cpp162 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) {
226 int64_t timeUs, baseUs, delayUs; local
228 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
229 delayUs = baseUs + timeUs - ALooper::GetNowUs();
H A DNuPlayer.cpp581 int64_t timeUs; local
584 CHECK(msg->findInt64("timeUs", &timeUs));
598 err = mSource->selectTrack(trackIndex, select, timeUs);
1852 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { argument
1856 msg->setInt64("timeUs", timeUs);
2277 int64_t timeUs, posUs; local
2280 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
2352 int64_t timeUs, durationUs; local
2369 int64_t timeUs; local
2384 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
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 DNuPlayerDecoderPassThrough.cpp182 int64_t timeUs; local
184 bool smallTimestampValid = accessUnit->meta()->findInt64("timeUs", &timeUs);
185 bool bigTimestampValid = mAggregateBuffer->meta()->findInt64("timeUs", &dummy);
201 mAggregateBuffer->meta()->setInt64("timeUs", timeUs);
276 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs));
323 int64_t timeUs = 0; local
324 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
[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);
H A DStreamingSource.cpp259 int64_t timeUs; local
260 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
261 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
/frameworks/av/media/libstagefright/
H A DACodec.cpp257 int64_t timeUs,
5517 int64_t timeUs; local
5522 CHECK(msg->findInt64("timestamp", &timeUs));
5529 timeUs,
5724 int64_t timeUs; local
5725 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
5772 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5775 mCodec->mComponentName.c_str(), bufferID, (long long)timeUs);
5783 mCodec->mBufferStats.add(timeUs, stat
5931 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.cpp256 int64_t timeUs; local
257 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
258 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
281 mFirstSampleTimeUs = timeUs;
283 timeUs = mFirstSampleTimeUs + (timeUs - mFirstSampleTimeUs)
285 buffer->meta_data()->setInt64(kKeyTime, timeUs);
303 int64_t timeUs = systemTime() / 1000ll; local
307 timeUs -= mRecord->latency() * 1000LL;
309 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs);
379 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
H A DCameraSource.cpp1106 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1107 mFrameTimes.push_back(timeUs);
1109 mStartTimeUs, timeUs);
1154 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1155 mFrameTimes.push_back(timeUs);
1156 ALOGV("initial delay: %" PRId64 ", current time stamp: %" PRId64, mStartTimeUs, timeUs);
1240 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
1241 mFrameTimes.push_back(timeUs);
1243 mStartTimeUs, timeUs);
H A DFLACExtractor.cpp699 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
700 buffer->meta_data()->setInt64(kKeyTime, timeUs);

Completed in 1705 milliseconds

123