HomeSort by relevance Sort by last modified time
    Searched refs:timeUs (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /frameworks/base/media/java/android/media/
MediaTimeProvider.java 29 * 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);
72 * @param timeUs current media time
74 void onTimedEvent(long timeUs);
79 * @param timeUs current media time
81 void onSeek(long timeUs);
MediaMetadataRetriever.java 219 * @param timeUs The time position where the frame will be retrieved.
222 * When this happens, a frame nearby will be returned. If timeUs is
228 * that has a timestamp earlier than or the same as timeUs. Use
230 * that has a timestamp later than or the same as timeUs. Use
232 * that has a timestamp closest to or the same as timeUs. Use
234 * or may not be a sync frame but is closest to or the same as timeUs.
236 * to the other options if there is no sync frame located at timeUs.
241 public Bitmap getFrameAtTime(long timeUs, int option) {
247 return _getFrameAtTime(timeUs, option);
258 * @param timeUs The time position where the frame will be retrieved
    [all...]
  /frameworks/av/include/media/
MediaMetadataRetrieverInterface.h 39 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
51 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; }
IMediaMetadataRetriever.h 40 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
  /frameworks/av/media/libstagefright/include/
MP3Seeker.h 31 // 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;
VBRISeeker.h 34 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
XINGSeeker.h 32 virtual bool getOffsetForTime(int64_t *timeUs, off64_t *pos);
StagefrightMetadataRetriever.h 41 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
  /frameworks/av/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp 124 int64_t timeUs;
125 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
129 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs);
155 CHECK(buffer->meta()->findInt64("timeUs", &mLastQueuedTimeUs));
156 ALOGV("queueAccessUnit timeUs=%lld us (%.2f secs)", mLastQueuedTimeUs, mLastQueuedTimeUs / 1E6);
237 int64_t timeUs;
238 if (buffer->meta()->findInt64("timeUs", &timeUs)) {
240 time1 = timeUs;
    [all...]
ESQueue.cpp 124 const void *data, size_t size, int64_t timeUs) {
287 info.mTimestampUs = timeUs;
292 ALOGI("size = %d, timeUs = %.2f secs", size, timeUs / 1E6);
311 accessUnit->meta()->setInt64("timeUs", info.mTimestampUs);
378 int64_t timeUs = fetchTimestamp(payloadSize + 4);
379 CHECK_GE(timeUs, 0ll);
380 accessUnit->meta()->setInt64("timeUs", timeUs);
482 int64_t timeUs = fetchTimestamp(offset)
    [all...]
  /frameworks/av/media/libstagefright/
AudioSource.cpp 232 int64_t timeUs;
233 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
234 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
270 int64_t timeUs = systemTime() / 1000ll;
272 ALOGV("dataCallbackTimestamp: %lld us", timeUs);
280 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) {
282 ALOGV("Drop audio data at %lld/%lld us", timeUs, mStartTimeUs);
287 mInitialReadTimeUs = timeUs;
290 mStartTimeUs = timeUs - mStartTimeUs;
325 queueInputBuffer_l(lostAudioBuffer, timeUs);
    [all...]
VBRISeeker.cpp 148 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) {
158 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
163 ALOGV("getOffsetForTime %lld us => 0x%08lx", *timeUs, *pos);
165 *timeUs = nowUs;
  /frameworks/av/media/libstagefright/timedtext/
TimedTextPlayer.h 44 void seekToAsync(int64_t timeUs);
75 void postTextEvent(const sp<ParcelEvent>& parcel = NULL, int64_t timeUs = -1);
TimedTextSRTSource.h 71 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);
TimedText3GPPSource.h 50 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel);
TimedTextSRTSource.cpp 270 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) {
288 if (timeUs >= startTimeUs && timeUs < endTimeUs) {
290 } else if (endTimeUs <= timeUs) {
TimedTextPlayer.cpp 69 void TimedTextPlayer::seekToAsync(int64_t timeUs) {
71 msg->setInt64("seekTimeUs", timeUs);
259 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) {
260 int64_t delayUs = delayUsFromCurrentTime(timeUs);
266 msg->setInt64("fireTimeUs", timeUs);
  /frameworks/av/media/libstagefright/wifi-display/source/
Converter.cpp 555 int64_t timeUs;
556 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
559 timeUs += copyUs;
560 buffer->meta()->setInt64("timeUs", timeUs);
601 int64_t timeUs;
602 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
604 partialAudioAU->meta()->setInt64("timeUs", timeUs)
    [all...]
  /frameworks/av/cmds/stagefright/
muxer.cpp 158 int64_t timeUs;
159 err = extractor->getSampleTime(&timeUs);
173 if (enableTrim && timeUs > trimStartTimeUs &&
174 timeUs <= trimEndTimeUs) {
176 trimOffsetTimeUs = timeUs;
182 if (enableTrim && timeUs > trimEndTimeUs) {
189 timeUs - trimOffsetTimeUs, sampleFlags);
  /frameworks/av/include/media/stagefright/
MPEG4Writer.h 106 void setStartTimestampUs(int64_t timeUs);
120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
121 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
190 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
  /frameworks/av/media/libmedia/
IMediaMetadataRetriever.cpp 119 sp<IMemory> getFrameAtTime(int64_t timeUs, int option)
121 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
124 data.writeInt64(timeUs);
223 int64_t timeUs = data.readInt64();
225 ALOGV("getTimeAtTime: time(%lld us) and option(%d)", timeUs, option);
229 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
mediametadataretriever.cpp 127 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option)
129 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option);
135 return mRetriever->getFrameAtTime(timeUs, option);
  /frameworks/av/media/libstagefright/wifi-display/
MediaSender.cpp 233 int64_t timeUs;
235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
237 if (minTrackIndex < 0 || timeUs < minTimeUs) {
239 minTimeUs = timeUs;
260 int64_t timeUs;
261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
262 tsPackets->meta()->setInt64("timeUs", timeUs);
    [all...]
  /frameworks/av/media/libstagefright/httplive/
LiveSession.cpp 127 int64_t timeUs;
128 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
129 ALOGV("[%s] read buffer at time %lld us", streamStr, timeUs);
131 mLastDequeuedTimeUs = timeUs;
132 mRealTimeBaseUs = ALooper::GetNowUs() - timeUs;
184 status_t LiveSession::seekTo(int64_t timeUs) {
186 msg->setInt64("timeUs", timeUs);
456 0ll /* timeUs */, initialBandwidthIndex, true /* pickTrack */)
    [all...]
  /frameworks/av/media/libmediaplayerservice/nuplayer/
StreamingSource.cpp 176 int64_t timeUs;
177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs));
178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);

Completed in 451 milliseconds

1 2 3 4