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

1234

/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 , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
H A Dandroid_media_MediaMetadataRetriever.cpp247 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument
249 ALOGV("getFrameAtTime: %lld us option: %d", (long long)timeUs, option);
258 sp<IMemory> frameMemory = retriever->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.h73 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
139 void updateQueuedTime(bool isAudio, int64_t timeUs);
258 status_t doSelectTrack(size_t trackIndex, bool select, int64_t timeUs);
H A DStreamingSource.cpp259 int64_t timeUs; local
260 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
261 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
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 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 DNuPlayerDecoder.h103 int64_t timeUs,
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2TSExtractor.cpp324 int64_t timeUs = mSeekSyncPoints->keyAt(index); local
325 if (timeUs > seekTimeUs) {
444 int64_t timeUs; local
445 while ((err = impl->nextBufferTime(&timeUs)) == OK) {
446 if (timeUs < syncTimeUs) {
H A DATSParser.h70 int64_t timeUs);
H A DATSParser.cpp211 int64_t timeUs) {
215 mTimeUs = timeUs;
570 int64_t timeUs = (PTS * 100) / 9; local
573 timeUs += mParser->mAbsoluteTimeAnchorUs;
577 timeUs += mParser->mTimeOffsetUs;
580 return timeUs;
1062 int64_t timeUs = 0ll; // no presentation timestamp available. local
1064 timeUs = mProgram->convertPTSToTimestamp(PTS);
1067 status_t err = mQueue->appendData(data, size, timeUs);
1110 int64_t timeUs; local
210 init(off64_t offset, const sp<MediaSource> &source, int64_t timeUs) argument
1201 int64_t timeUs; local
[all...]
/frameworks/av/media/libstagefright/
H A DStagefrightMetadataRetriever.cpp238 int64_t timeUs; local
322 &timeUs,
359 if (timeUs != thumbNailTime) {
363 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s",
364 (long long)thumbNailTime, (long long)timeUs, mime.c_str());
436 int64_t timeUs, int option) {
438 ALOGV("getFrameAtTime: %" PRId64 " us option: %d", timeUs, option);
507 extractVideoFrame(componentName, trackMeta, source, timeUs, option);
435 getFrameAtTime( int64_t timeUs, int option) argument
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 DMPEG4Writer.cpp329 void trackProgressStatus(int64_t timeUs, status_t err = OK);
1442 void MPEG4Writer::setStartTimestampUs(int64_t timeUs) { argument
1443 ALOGI("setStartTimestampUs: %" PRId64, timeUs);
1444 CHECK_GE(timeUs, 0ll);
1446 if (mStartTimestampUs < 0 || mStartTimestampUs > timeUs) {
1447 mStartTimestampUs = timeUs;
1643 int64_t timeUs; local
1644 if (params && params->findInt64(kKeyTrackTimeStatus, &timeUs)) {
1645 ALOGV("Receive request to track progress status for every %" PRId64 " us", timeUs);
1646 mTrackEveryTimeDurationUs = timeUs;
2278 int64_t timeUs = (driftTimeUs + prevDriftTimeUs) >> 1; local
2769 trackProgressStatus(int64_t timeUs, status_t err) argument
2780 trackProgressStatus( size_t trackId, int64_t timeUs, status_t err) argument
[all...]
H A DMidiExtractor.cpp240 int64_t timeUs = 1000ll * timeMs; local
241 buffer->meta_data()->setInt64(kKeyTime, timeUs);
/frameworks/av/include/media/stagefright/
H A DNuMediaExtractor.h72 int64_t timeUs,
/frameworks/av/media/libstagefright/include/
H A DAVIExtractor.h106 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode,
/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));
H A DMyHandler.h221 void seek(int64_t timeUs) { argument
223 msg->setInt64("time", timeUs);
228 void continueSeekAfterPause(int64_t timeUs) { argument
230 msg->setInt64("time", timeUs);
1219 int64_t timeUs; local
1220 CHECK(msg->findInt64("time", &timeUs));
1230 reply->setInt64("time", timeUs);
1258 int64_t timeUs; local
1259 CHECK(msg->findInt64("time", &timeUs));
1264 notify->setInt64("time", timeUs);
1292 int64_t timeUs; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/rtp/
H A DRTPSender.h103 bool timeValid = false, int64_t timeUs = -1ll);
/frameworks/av/media/libstagefright/httplive/
H A DPlaylistFetcher.h234 bool isStartTimeReached(int64_t timeUs);
248 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));
859 int64_t timeUs; local
860 CHECK_EQ((status_t)OK, mExtractor->getSampleTime(&timeUs));
863 "timeUs", mFirstSampleTimeRealUs + timeUs - mFirstSampleTimeUs);
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp182 int64_t timeUs; local
183 err = extractor->getSampleTime(&timeUs);
192 timeUs,
218 0ll /* timeUs */,

Completed in 393 milliseconds

1234