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

123

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp492 int64_t timeUs; local
493 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
499 timeUs,
H A Dcodec.cpp176 int64_t timeUs; local
177 err = extractor->getSampleTime(&timeUs);
186 timeUs,
212 0ll /* timeUs */,
H A Dmuxer.cpp158 int64_t timeUs; local
159 err = extractor->getSampleTime(&timeUs);
173 if (enableTrim && timeUs > trimStartTimeUs &&
174 timeUs <= trimEndTimeUs) {
176 trimOffsetTimeUs = timeUs;
182 if (enableTrim && timeUs > trimEndTimeUs) {
189 timeUs - trimOffsetTimeUs, sampleFlags);
H A Dsf2.cpp432 outBuffer->meta()->setInt64("timeUs", 0);
482 int64_t timeUs; local
483 CHECK(inBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
485 outBuffer->meta()->setInt64("timeUs", timeUs);
H A Dstagefright.cpp575 int64_t timeUs; local
576 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
578 printf("%lld\t%lld\t%lld\n", seekTimeUs, timeUs, seekTimeUs - timeUs);
/frameworks/av/include/media/
H A DMediaMetadataRetrieverInterface.h39 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
51 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
/frameworks/av/include/media/stagefright/
H A DMPEG4Writer.h106 void setStartTimestampUs(int64_t timeUs);
120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument
121 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
190 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
/frameworks/av/libvideoeditor/lvpp/
H A DNativeWindowRenderer.cpp382 int64_t timeUs; local
383 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
384 native_window_set_buffers_timestamp(anw, timeUs * 1000);
H A DPreviewPlayer.cpp676 status_t PreviewPlayer::seekTo(int64_t timeUs) { argument
679 return seekTo_l(timeUs);
899 int64_t timeUs; local
900 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
901 setPosition_l(timeUs);
904 int64_t playbackTimeRemaining = (mPlayEndTimeMsec * 1000LL) - timeUs;
915 finishSeekIfNecessary(timeUs);
936 mTimeSourceDeltaUs = ts->getRealTimeUs() - timeUs;
947 int64_t latenessUs = nowUs - timeUs;
954 ts->getRealTimeUs(),timeUs);
1536 int64_t timeUs; local
1887 setPosition_l(int64_t timeUs) argument
1891 seekTo_l(int64_t timeUs) argument
[all...]
H A DVideoEditorSRC.cpp170 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs; local
171 to->setInt64(kKeyTime, timeUs);
/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument
121 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
124 data.writeInt64(timeUs);
223 int64_t timeUs = data.readInt64(); local
225 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
229 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
H A Dmediametadataretriever.cpp127 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument
129 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
135 return mRetriever->getFrameAtTime(timeUs, option);
/frameworks/av/media/libmediaplayerservice/
H A DMetadataRetrieverClient.cpp178 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument
180 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
187 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
H A DStagefrightRecorder.cpp382 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
383 ALOGV("setParamMaxFileDurationUs: %lld us", timeUs);
386 if (timeUs <= 0) {
387 ALOGW("Max file duration is not positive: %lld us. Disabling duration limit.", timeUs);
388 timeUs = 0; // Disable the duration limit for zero or negative values.
389 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
390 ALOGE("Max file duration is too short: %lld us", timeUs);
394 if (timeUs <= 15 * 1000000LL) {
395 ALOGW("Target duration (%lld us) too short to be respected", timeUs);
397 mMaxFileDurationUs = timeUs;
545 setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp254 int64_t timeUs; local
255 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
257 buffer->meta()->setInt64("timeUs", timeUs);
260 *actualTimeUs = timeUs;
H A DStreamingSource.cpp176 int64_t timeUs; local
177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
/frameworks/av/media/libstagefright/
H A DACodec.cpp158 int64_t timeUs,
2710 int64_t timeUs; local
2717 CHECK(msg->findInt64("timestamp", &timeUs));
2725 timeUs,
2872 int64_t timeUs; local
2873 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
2905 mCodec->mComponentName.c_str(), bufferID, timeUs);
2908 mCodec->mComponentName.c_str(), bufferID, timeUs);
2916 mCodec->mBufferStats.add(timeUs, stat
3004 onOMXFillBufferDone( IOMX::buffer_id bufferID, size_t rangeOffset, size_t rangeLength, OMX_U32 flags, int64_t timeUs, void *platformPrivate, void *dataPtr) 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.cpp237 int64_t timeUs; local
238 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
239 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
275 int64_t timeUs = systemTime() / 1000ll; local
277 ALOGV("dataCallbackTimestamp: %lld us", timeUs);
285 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
287 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs);
292 mInitialReadTimeUs = timeUs;
295 mStartTimeUs = timeUs - mStartTimeUs;
330 queueInputBuffer_l(lostAudioBuffer, timeUs);
347 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
H A DAwesomePlayer.cpp129 int64_t timeUs; local
130 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
131 native_window_set_buffers_timestamp(mNativeWindow.get(), timeUs * 1000);
1297 status_t AwesomePlayer::seekTo(int64_t timeUs) { argument
1302 return seekTo_l(timeUs);
1308 status_t AwesomePlayer::seekTo_l(int64_t timeUs) { argument
1324 mSeekTimeUs = timeUs;
1682 int64_t timeUs; local
1683 CHECK(mVideoBuffer->meta_data()->findInt64(kKeyTime, &timeUs));
1685 mLastVideoTimeUs = timeUs;
[all...]
H A DCameraSource.cpp855 int64_t timeUs = mStartTimeUs + (timestampUs - mFirstFrameTimeUs); local
856 mFrameTimes.push_back(timeUs);
858 mStartTimeUs, timeUs);
H A DFLACExtractor.cpp674 int64_t timeUs = (1000000LL * sampleNumber) / getSampleRate(); local
675 buffer->meta_data()->setInt64(kKeyTime, timeUs);
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
669 int64_t timeUs = source->lastAccessUnitTimeUs(); local
883 int64_t timeUs; local
[all...]
H A DMPEG4Writer.cpp279 void trackProgressStatus(int64_t timeUs, status_t err = OK);
1311 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument
1312 ALOGI("setStartTimestampUs: %lld", timeUs);
1313 CHECK_GE(timeUs, 0ll);
1315 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) {
1316 mStartTimestampUs = timeUs;
1516 int64_t timeUs; local
1517 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) {
1518 ALOGV("Receive request to track progress status for every %lld us", timeUs);
1519 mTrackEveryTimeDurationUs = timeUs;
2060 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local
2491 trackProgressStatus(int64_t timeUs, status_t err) argument
2502 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument
[all...]
H A DMediaCodec.cpp219 msg->setInt64("timeUs", presentationTimeUs);
250 msg->setInt64("timeUs", presentationTimeUs);
294 CHECK(response->findInt64("timeUs", presentationTimeUs));
467 int64_t timeUs; local
468 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
470 response->setInt64("timeUs", timeUs);
1428 msg->setInt64("timeUs", 0ll);
1526 int64_t timeUs; local
[all...]

Completed in 267 milliseconds

123