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

1 2 3 4 5

  /frameworks/av/media/libstagefright/omx/
FrameDropper.cpp 46 bool FrameDropper::shouldDrop(int64_t timeUs) {
52 mDesiredMinTimeUs = timeUs + mMinIntervalUs;
54 (long long)timeUs, (long long)mDesiredMinTimeUs);
58 if (timeUs < (mDesiredMinTimeUs - kMaxJitterUs)) {
60 (long long)timeUs, (long long)mDesiredMinTimeUs,
61 (long long)(mDesiredMinTimeUs - timeUs));
65 int64_t n = (timeUs - mDesiredMinTimeUs + kMaxJitterUs) / mMinIntervalUs;
68 (long long)timeUs, (long long)mDesiredMinTimeUs,
69 (long long)(mDesiredMinTimeUs - timeUs));
FrameDropper.h 36 bool shouldDrop(int64_t timeUs);
  /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 238 * @param timeUs The time position where the frame will be retrieved.
241 * When this happens, a frame nearby will be returned. If timeUs is
247 * that has a timestamp earlier than or the same as timeUs. Use
249 * that has a timestamp later than or the same as timeUs. Use
251 * that has a timestamp closest to or the same as timeUs. Use
253 * or may not be a sync frame but is closest to or the same as timeUs.
255 * to the other options if there is no sync frame located at timeUs.
260 public Bitmap getFrameAtTime(long timeUs, int option) {
266 return _getFrameAtTime(timeUs, option);
277 * @param timeUs The time position where the frame will be retrieved
    [all...]
  /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 43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
  /frameworks/av/media/libstagefright/
AudioSource.cpp 245 int64_t timeUs;
246 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
247 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
270 mFirstSampleTimeUs = timeUs;
272 timeUs = mFirstSampleTimeUs + (timeUs - mFirstSampleTimeUs)
274 buffer->meta_data()->setInt64(kKeyTime, timeUs);
292 int64_t timeUs = systemTime() / 1000ll;
294 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs);
302 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs)
    [all...]
MediaCodecSource.cpp 565 int64_t timeUs = 0ll;
570 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs));
574 mDecodingTimeQueue.push_back(timeUs);
578 mFirstSampleTimeUs = timeUs;
584 driftTimeUs = timeUs - mFirstSampleTimeUs - driftTimeUs;
614 bufferIndex, 0, size, timeUs, flags);
723 int64_t timeUs;
729 CHECK(msg->findInt64("timeUs", &timeUs));
753 // queued before start, and offset timeUs by start tim
    [all...]
VBRISeeker.cpp 151 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) {
161 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
166 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos);
168 *timeUs = nowUs;
  /frameworks/av/include/media/
MediaMetadataRetrieverInterface.h 45 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0;
57 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; }
IMediaMetadataRetriever.h 45 virtual sp<IMemory> getFrameAtTime(int64_t timeUs, int option) = 0;
  /frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerCCDecoder.h 38 void display(int64_t timeUs);
52 bool parseSEINalUnit(int64_t timeUs, const uint8_t *nalStart, size_t nalSize);
GenericSource.cpp 788 int64_t timeUs, actualTimeUs;
791 timeUs = mAudioLastDequeueTimeUs;
793 timeUs = mVideoLastDequeueTimeUs;
795 readBuffer(trackType, timeUs, &actualTimeUs, formatChange);
797 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs);
895 int64_t timeUs;
896 CHECK(msg->findInt64("timeUs", &timeUs));
899 readBuffer(type, timeUs, &subTimeUs)
    [all...]
  /frameworks/av/media/libstagefright/omx/tests/
FrameDropper_test.cpp 29 int64_t timeUs;
102 int64_t testTimeUs = frames[i].timeUs + jitter;
104 (long long)frames[i].timeUs, (long long)testTimeUs, jitter);
  /frameworks/av/media/libstagefright/mpeg2ts/
ESQueue.cpp 249 const void *data, size_t size, int64_t timeUs) {
453 info.mTimestampUs = timeUs;
458 ALOGI("size = %zu, timeUs = %.2f secs", size, timeUs / 1E6);
477 accessUnit->meta()->setInt64("timeUs", info.mTimestampUs);
547 int64_t timeUs = fetchTimestamp(syncStartPos + payloadSize);
548 if (timeUs < 0ll) {
549 ALOGE("negative timeUs");
552 accessUnit->meta()->setInt64("timeUs", timeUs);
    [all...]
AnotherPacketSource.cpp 141 int64_t timeUs;
143 CHECK(mLatestDequeuedMeta->findInt64("timeUs", &timeUs));
144 if (timeUs > seg.mMaxDequeTimeUs) {
145 seg.mMaxDequeTimeUs = timeUs;
197 int64_t timeUs;
198 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
201 if (timeUs > seg.mMaxDequeTimeUs) {
202 seg.mMaxDequeTimeUs = timeUs;
    [all...]
  /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);
  /packages/apps/Messaging/src/com/android/messaging/util/
MediaMetadataRetrieverWrapper.java 70 public Bitmap getFrameAtTime(final long timeUs) {
71 return mRetriever.getFrameAtTime(timeUs);
  /frameworks/av/media/libstagefright/wifi-display/source/
Converter.cpp 532 int64_t timeUs;
533 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
536 timeUs += copyUs;
537 buffer->meta()->setInt64("timeUs", timeUs);
578 int64_t timeUs;
579 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
581 partialAudioAU->meta()->setInt64("timeUs", timeUs)
    [all...]
  /frameworks/av/cmds/stagefright/
muxer.cpp 179 int64_t timeUs;
180 err = extractor->getSampleTime(&timeUs);
194 if (enableTrim && timeUs > trimStartTimeUs &&
195 timeUs <= trimEndTimeUs) {
197 trimOffsetTimeUs = timeUs;
203 if (enableTrim && timeUs > trimEndTimeUs) {
210 timeUs - trimOffsetTimeUs, sampleFlags);
  /frameworks/av/include/media/stagefright/
MPEG4Writer.h 111 void setStartTimestampUs(int64_t timeUs);
125 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples)
126 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) {
195 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);

Completed in 514 milliseconds

1 2 3 4 5