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

1234

/frameworks/av/media/libstagefright/include/
H A DMP3Seeker.h31 // Given a request seek time in "*timeUs", find the byte offset closest
32 // to that position and return it in "*pos". Update "*timeUs" to reflect
34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos) = 0;
H A DVBRISeeker.h34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
H A DXINGSeeker.h32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
H A DStagefrightMetadataRetriever.h41 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp113 int64_t timeUs; local
114 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
118 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs);
144 int64_t timeUs; local
145 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
146 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", timeUs, timeUs /
217 int64_t timeUs; local
235 nextBufferTime(int64_t *timeUs) argument
[all...]
H A DESQueue.cpp124 const void *data, size_t size, int64_t timeUs) {
286 info.mTimestampUs = timeUs;
291 ALOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6);
310 accessUnit->meta()->setInt64("timeUs", info.mTimestampUs);
377 int64_t timeUs = fetchTimestamp(payloadSize + 4); local
378 CHECK_GE(timeUs, 0ll);
379 accessUnit->meta()->setInt64("timeUs", timeUs);
397 int64_t timeUs; local
123 appendData( const void *data, size_t size, int64_t timeUs) argument
485 int64_t timeUs = -1; local
610 int64_t timeUs = fetchTimestamp(nextScan); local
666 int64_t timeUs = fetchTimestamp(frameSize); local
823 int64_t timeUs = fetchTimestamp(offset); local
982 int64_t timeUs = fetchTimestamp(offset); local
[all...]
/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
H A DIMediaMetadataRetriever.h40 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
/frameworks/av/media/libstagefright/
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 DVBRISeeker.cpp148 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
163 ALOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos);
165 *timeUs = nowUs;
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp416 int64_t timeUs; local
417 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
420 timeUs += copyUs;
421 buffer->meta()->setInt64("timeUs", timeUs);
462 int64_t timeUs; local
463 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
465 partialAudioAU->meta()->setInt64("timeUs", timeU
501 int64_t timeUs = 0ll; local
555 int64_t timeUs; local
[all...]
H A DMediaPuller.cpp144 int64_t timeUs; local
145 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
153 accessUnit->meta()->setInt64("timeUs", timeUs);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextPlayer.h44 void seekToAsync(int64_t timeUs);
75 void postTextEvent(const sp<ParcelEvent>& parcel = NULL, int64_t timeUs = -1);
H A DTimedTextSRTSource.h71 int64_t timeUs, const AString &text, Parcel *parcel);
73 // Compares the time range of the subtitle at index to the given timeUs.
74 // The time range of the subtitle to match with given timeUs is extended to
78 // called with seek options. Note that timeUs within gap ranges, such as
87 // returns 0, if timeUs is in [200, 400)
88 // returns -1, if timeUs >= 400,
89 // returns 1, if timeUs < 200.
90 int compareExtendedRangeAndTime(size_t index, int64_t timeUs);
H A DTimedText3GPPSource.h50 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel);
H A DTimedTextSRTSource.cpp271 int64_t timeUs, const AString &text, Parcel *parcel) {
279 (const uint8_t *)data, size, flag, timeUs / 1000, parcel);
284 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument
289 if (timeUs >= startTimeUs && timeUs < endTimeUs) {
291 } else if (endTimeUs <= timeUs) {
270 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
H A DTimedTextPlayer.cpp69 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument
71 msg->setInt64("seekTimeUs", timeUs);
259 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument
260 int64_t delayUs = delayUsFromCurrentTime(timeUs);
266 msg->setInt64("fireTimeUs", timeUs);
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
/frameworks/base/media/java/android/media/
H A DMediaMetadataRetriever.java215 * @param timeUs The time position where the frame will be retrieved.
218 * When this happens, a frame nearby will be returned. If timeUs is
224 * that has a timestamp earlier than or the same as timeUs. Use
226 * that has a timestamp later than or the same as timeUs. Use
228 * that has a timestamp closest to or the same as timeUs. Use
230 * or may not be a sync frame but is closest to or the same as timeUs.
232 * to the other options if there is no sync frame located at timeUs.
237 public Bitmap getFrameAtTime(long timeUs, int option) { argument
243 return _getFrameAtTime(timeUs, option);
254 * @param timeUs Th
266 getFrameAtTime(long timeUs) argument
288 _getFrameAtTime(long timeUs, int option) argument
[all...]
/frameworks/av/include/media/stagefright/
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);
/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/nuplayer/
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/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/libvideoeditor/lvpp/
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...]

Completed in 238 milliseconds

1234