Searched defs:timeUs (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/av/include/media/
H A DMediaMetadataRetrieverInterface.h43 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
55 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
/frameworks/base/media/java/android/media/
H A DMediaTimeProvider.java29 * registers the listener to get seek and stop notifications. If timeUs is
33 * is larger than or equal to timeUs.
35 * @param timeUs presentation time to get timed event callback at (or
38 public void notifyAt(long timeUs, OnMediaTimeListener listener); argument
72 * @param timeUs current media time
74 void onTimedEvent(long timeUs); argument
79 * @param timeUs current media time
81 void onSeek(long timeUs); argument
/frameworks/av/media/libstagefright/rtsp/
H A Drtp_test.cpp213 int64_t timeUs; local
214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
217 buffer->range_length(), timeUs / 1E6);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DStreamingSource.cpp176 int64_t timeUs; local
177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
H A DHTTPLiveSource.cpp186 int64_t timeUs, baseUs, durationUs, delayUs; local
188 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
190 delayUs = baseUs + timeUs - ALooper::GetNowUs();
/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 DVBRISeeker.cpp151 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
161 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
166 ALOGV("getOffsetForTime %" PRId64 " us => 0x%016llx", *timeUs, *pos);
168 *timeUs = nowUs;
H A DXINGSeeker.cpp46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
51 float percent = (float)(*timeUs) * 100 / mDurationUs;
H A DAudioSource.cpp236 int64_t timeUs; local
237 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
238 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
274 int64_t timeUs = systemTime() / 1000ll; local
276 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs);
284 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
286 ALOGV("Drop audio data at %" PRId64 "/%" PRId64 " us", timeUs, mStartTimeUs);
291 mInitialReadTimeUs = timeUs;
294 mStartTimeUs = timeUs - mStartTimeUs;
329 queueInputBuffer_l(lostAudioBuffer, timeUs);
346 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
/frameworks/av/media/libstagefright/timedtext/
H A DTimedText3GPPSource.cpp66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) {
82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
H A DTimedTextDriver.cpp166 status_t TimedTextDriver::seekToAsync(int64_t timeUs) { argument
173 mPlayer->seekToAsync(timeUs);
178 mPlayer->seekToAsync(timeUs);
182 mPlayer->seekToAsync(timeUs);
H A DTimedTextPlayer.cpp70 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument
72 msg->setInt64("seekTimeUs", timeUs);
260 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument
261 int64_t delayUs = delayUsFromCurrentTime(timeUs);
267 msg->setInt64("fireTimeUs", timeUs);
H A DTimedTextSRTSource.cpp270 int64_t timeUs, const AString &text, Parcel *parcel) {
278 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
283 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument
288 if (timeUs >= startTimeUs && timeUs < endTimeUs) {
290 } else if (endTimeUs <= timeUs) {
269 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
/frameworks/av/media/libstagefright/wifi-display/source/
H A DMediaPuller.cpp165 int64_t timeUs; local
166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
174 accessUnit->meta()->setInt64("timeUs", timeUs);
/frameworks/av/media/libmedia/
H A Dmediametadataretriever.cpp132 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument
134 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d)", timeUs, option);
140 return mRetriever->getFrameAtTime(timeUs, option);
H A DIMediaMetadataRetriever.cpp128 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument
130 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option);
133 data.writeInt64(timeUs);
240 int64_t timeUs = data.readInt64(); local
242 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option);
246 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
/frameworks/av/media/libmediaplayerservice/
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);
/frameworks/av/cmds/stagefright/
H A DSimplePlayer.cpp494 int64_t timeUs; local
495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK);
501 timeUs,
H A Dcodec.cpp178 int64_t timeUs; local
179 err = extractor->getSampleTime(&timeUs);
188 timeUs,
214 0ll /* timeUs */,
H A Dmuxer.cpp160 int64_t timeUs; local
161 err = extractor->getSampleTime(&timeUs);
175 if (enableTrim && timeUs > trimStartTimeUs &&
176 timeUs <= trimEndTimeUs) {
178 trimOffsetTimeUs = timeUs;
184 if (enableTrim && timeUs > trimEndTimeUs) {
191 timeUs - trimOffsetTimeUs, sampleFlags);
/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/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp260 int64_t timeUs; local
261 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) {
262 wallClockTimeUs = timeUs;
264 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) {
265 mAnchorTimeUs = timeUs;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp172 int64_t timeUs; local
173 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
177 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs);
207 CHECK(buffer->meta()->findInt64("timeUs", &lastQueuedTimeUs));
209 ALOGV("queueAccessUnit timeUs=%" PRIi64 " us (%.2f secs)", mLastQueuedTimeUs, mLastQueuedTimeUs / 1E6);
224 CHECK(mLatestEnqueuedMeta->findInt64("timeUs", &latestTimeUs));
316 int64_t timeUs; local
317 if (buffer->meta()->findInt64("timeUs", &timeUs)) {
378 nextBufferTime(int64_t *timeUs) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp583 int64_t timeUs = item.mTimestamp / 1000; local
589 mPrevCaptureUs = timeUs;
590 mPrevFrameUs = timeUs;
593 int64_t nFrames = (timeUs + mTimePerCaptureUs / 2 - mPrevCaptureUs)
597 ALOGV("skipping frame, timeUs %lld", static_cast<long long>(timeUs));
604 ALOGV("timeUs %lld, captureUs %lld, frameUs %lld",
605 static_cast<long long>(timeUs),
619 int64_t originalTimeUs = timeUs;
628 timeUs
646 int64_t timeUs = getTimestamp(item); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/
H A DMediaSender.cpp233 int64_t timeUs; local
235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
237 if (minTrackIndex < 0 || timeUs < minTimeUs) {
239 minTimeUs = timeUs;
260 int64_t timeUs; local
261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
262 tsPackets->meta()->setInt64("timeUs", timeUs);
496 int64_t timeUs = ALooper::GetNowUs(); local
[all...]

Completed in 312 milliseconds

123