Searched refs:timeUs (Results 1 - 25 of 81) sorted by path

1234

/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp490 int64_t timeUs; local
491 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
497 timeUs,
H A Dcodec.cpp175 int64_t timeUs; local
176 err = extractor->getSampleTime(&timeUs);
185 timeUs,
211 0ll /* timeUs */,
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 DIMediaMetadataRetriever.h40 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
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
H A Dmediametadataretriever.h75 sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
/frameworks/av/include/media/stagefright/
H A DAudioSource.h99 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
H A DMPEG4Writer.h99 void setStartTimestampUs(int64_t timeUs);
113 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument
114 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
176 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
H A DNuMediaExtractor.h62 int64_t timeUs,
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h46 status_t seekToAsync(int64_t timeUs);
/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 DPreviewPlayer.h48 status_t seekTo(int64_t timeUs);
265 status_t seekTo_l(int64_t timeUs);
289 void setPosition_l(int64_t timeUs);
H A DVideoEditorSRC.cpp170 int64_t timeUs = mInitialTimeStampUs + totalOutDurationUs; local
171 to->setInt64(kKeyTime, timeUs);
/frameworks/av/media/libmedia/
H A DIMediaMetadataRetriever.cpp118 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument
120 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
123 data.writeInt64(timeUs);
208 int64_t timeUs = data.readInt64(); local
210 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
214 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 DMetadataRetrieverClient.h49 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option);
H A DStagefrightRecorder.cpp381 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
382 ALOGV("setParamMaxFileDurationUs: %lld us", timeUs);
385 if (timeUs <= 0) {
386 ALOGW("Max file duration is not positive: %lld us. Disabling duration limit.", timeUs);
387 timeUs = 0; // Disable the duration limit for zero or negative values.
388 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
389 ALOGE("Max file duration is too short: %lld us", timeUs);
393 if (timeUs <= 15 * 1000000LL) {
394 ALOGW("Target duration (%lld us) too short to be respected", timeUs);
396 mMaxFileDurationUs = timeUs;
544 setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs) argument
[all...]
H A DStagefrightRecorder.h162 status_t setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs);
173 status_t setParamMaxFileDurationUs(int64_t timeUs);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp230 int64_t timeUs; local
231 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
233 buffer->meta()->setInt64("timeUs", timeUs);
236 *actualTimeUs = timeUs;
H A DStreamingSource.cpp153 int64_t timeUs; local
154 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
155 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
/frameworks/av/media/libstagefright/
H A DACodec.cpp157 int64_t timeUs,
2458 int64_t timeUs; local
2465 CHECK(msg->findInt64("timestamp", &timeUs));
2473 timeUs,
2620 int64_t timeUs; local
2621 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
2653 mCodec->mComponentName.c_str(), bufferID, timeUs);
2656 mCodec->mComponentName.c_str(), bufferID, timeUs);
2664 mCodec->mBufferStats.add(timeUs, stat
2752 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...]

Completed in 385 milliseconds

1234