Searched refs:timeUs (Results 51 - 75 of 97) sorted by relevance

1234

/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h49 status_t seekToAsync(int64_t timeUs);
/frameworks/av/media/libmediaplayerservice/
H A DStagefrightRecorder.cpp391 status_t StagefrightRecorder::setParamMaxFileDurationUs(int64_t timeUs) { argument
392 ALOGV("setParamMaxFileDurationUs: %lld us", timeUs);
395 if (timeUs <= 0) {
396 ALOGW("Max file duration is not positive: %lld us. Disabling duration limit.", timeUs);
397 timeUs = 0; // Disable the duration limit for zero or negative values.
398 } else if (timeUs <= 100000LL) { // XXX: 100 milli-seconds
399 ALOGE("Max file duration is too short: %lld us", timeUs);
403 if (timeUs <= 15 * 1000000LL) {
404 ALOGW("Target duration (%lld us) too short to be respected", timeUs);
406 mMaxFileDurationUs = timeUs;
554 setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs) argument
[all...]
H A DMetadataRetrieverClient.cpp181 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument
183 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
190 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
H A DStagefrightRecorder.h157 status_t setParamTimeBetweenTimeLapseFrameCapture(int64_t timeUs);
168 status_t setParamMaxFileDurationUs(int64_t timeUs);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.h54 status_t nextBufferTime(int64_t *timeUs);
H A DATSParser.cpp470 int64_t timeUs = (PTS * 100) / 9; local
473 timeUs += mParser->mAbsoluteTimeAnchorUs;
477 timeUs += mParser->mTimeOffsetUs;
480 return timeUs;
898 int64_t timeUs = 0ll; // no presentation timestamp available. local
900 timeUs = mProgram->convertPTSToTimestamp(PTS);
903 status_t err = mQueue->appendData(data, size, timeUs);
996 int64_t timeUs; local
997 CHECK(extra->findInt64("timeUs", &timeUs));
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaExtractor.h55 status_t seekTo(int64_t timeUs, MediaSource::ReadOptions::SeekMode mode);
H A Dandroid_media_MediaMuxer.cpp75 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) {
121 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags);
73 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass clazz, jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
H A Dandroid_media_MediaMetadataRetriever.cpp230 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument
232 ALOGV("getFrameAtTime: %lld us option: %d", timeUs, option);
241 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp150 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) {
198 int64_t timeUs, baseUs, durationUs, delayUs; local
200 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
202 delayUs = baseUs + timeUs - ALooper::GetNowUs();
H A DNuPlayerDecoder.cpp400 int64_t timeUs; local
403 &bufferIx, &offset, &size, &timeUs, &flags);
409 mComponentName.c_str(), (int)bufferIx, timeUs, flags);
476 buffer->meta()->setInt64("timeUs", timeUs);
488 if (timeUs < mSkipRenderingUntilMediaTimeUs) {
490 mComponentName.c_str(), (long long)timeUs);
638 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs));
737 int64_t timeUs = 0; local
739 CHECK(buffer->meta()->findInt64("timeUs",
787 int64_t timeUs; local
[all...]
H A DStreamingSource.cpp249 int64_t timeUs; local
250 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
251 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
H A DNuPlayer.cpp470 int64_t timeUs; local
473 CHECK(msg->findInt64("timeUs", &timeUs));
487 err = mSource->selectTrack(trackIndex, select, timeUs);
1458 status_t NuPlayer::selectTrack(size_t trackIndex, bool select, int64_t timeUs) { argument
1462 msg->setInt64("timeUs", timeUs);
1842 int64_t timeUs, posUs; local
1845 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
1917 int64_t timeUs, durationUs; local
1936 int64_t timeUs; local
[all...]
H A DGenericSource.h70 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
176 status_t doSelectTrack(size_t trackIndex, bool select, int64_t timeUs);
/frameworks/av/media/libstagefright/
H A DMediaMuxer.cpp165 int64_t timeUs, uint32_t flags) {
189 sampleMetaData->setInt64(kKeyTime, timeUs);
191 sampleMetaData->setInt64(kKeyDecodingTime, timeUs);
164 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
H A DAwesomePlayer.cpp112 int64_t timeUs; local
113 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
116 buffer->range_length(), timeUs * 1000);
147 int64_t timeUs; local
148 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
149 native_window_set_buffers_timestamp(mNativeWindow.get(), timeUs * 1000);
1439 status_t AwesomePlayer::seekTo(int64_t timeUs) { argument
1444 return seekTo_l(timeUs);
1450 status_t AwesomePlayer::seekTo_l(int64_t timeUs) { argument
1466 mSeekTimeUs = timeUs;
1861 int64_t timeUs; local
[all...]
H A DMPEG4Writer.cpp293 void trackProgressStatus(int64_t timeUs, status_t err = OK);
1328 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument
1329 ALOGI("setStartTimestampUs: %" PRId64, timeUs);
1330 CHECK_GE(timeUs, 0ll);
1332 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) {
1333 mStartTimestampUs = timeUs;
1533 int64_t timeUs; local
1534 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) {
1535 ALOGV("Receive request to track progress status for every %" PRId64 " us", timeUs);
1536 mTrackEveryTimeDurationUs = timeUs;
2072 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local
2545 trackProgressStatus(int64_t timeUs, status_t err) argument
2556 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument
[all...]
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h66 int64_t timeUs,
/frameworks/av/media/libstagefright/include/
H A DAVIExtractor.h105 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.h103 bool timeValid = false, int64_t timeUs = -1ll);
/frameworks/av/media/libstagefright/rtsp/
H A DARTPWriter.cpp574 int64_t timeUs; local
575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
669 int64_t timeUs; local
670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
754 int64_t timeUs; local
755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs));
756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
/frameworks/av/media/libstagefright/httplive/
H A DLiveSession.h71 status_t seekTo(int64_t timeUs);
255 int64_t timeUs, size_t bandwidthIndex, bool pickTrack = false);
H A DPlaylistFetcher.h211 int32_t getSeqNumberForTime(int64_t timeUs) const;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DPlaybackSession.cpp85 bool hasOutputBuffer(int64_t *timeUs) const;
298 int64_t *timeUs) const {
299 *timeUs = 0ll;
307 CHECK(outputBuffer->meta()->findInt64("timeUs", timeUs));
851 int64_t timeUs; local
852 CHECK_EQ((status_t)OK, mExtractor->getSampleTime(&timeUs));
855 "timeUs", mFirstSampleTimeRealUs + timeUs - mFirstSampleTimeUs);
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp178 int64_t timeUs; local
179 err = extractor->getSampleTime(&timeUs);
188 timeUs,
214 0ll /* timeUs */,

Completed in 2059 milliseconds

1234