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

123456

/frameworks/av/media/libstagefright/omx/
H A DFrameDropper.cpp46 bool FrameDropper::shouldDrop(int64_t timeUs) { argument
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));
H A DFrameDropper.h36 bool shouldDrop(int64_t timeUs);
/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
H A DMediaMetadataRetriever.java230 * @param timeUs The time position where the frame will be retrieved.
233 * When this happens, a frame nearby will be returned. If timeUs is
239 * that has a timestamp earlier than or the same as timeUs. Use
241 * that has a timestamp later than or the same as timeUs. Use
243 * that has a timestamp closest to or the same as timeUs. Use
245 * or may not be a sync frame but is closest to or the same as timeUs.
247 * to the other options if there is no sync frame located at timeUs.
252 public Bitmap getFrameAtTime(long timeUs, int option) { argument
258 return _getFrameAtTime(timeUs, option);
269 * @param timeUs Th
281 getFrameAtTime(long timeUs) argument
303 _getFrameAtTime(long timeUs, int option) argument
[all...]
/frameworks/av/include/media/stagefright/
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.h43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
/frameworks/av/media/libstagefright/foundation/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.h43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
/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.h43 virtual VideoFrame *getFrameAtTime(int64_t timeUs, int option);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.h43 void display(int64_t timeUs);
82 bool parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size);
86 bool parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size);
89 bool parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size);
90 bool parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size);
H A DNuPlayerCCDecoder.cpp216 int64_t timeUs; local
217 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
225 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize);
232 bool NuPlayer::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { argument
286 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8);
309 int64_t timeUs; local
310 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs));
318 timeUs, accessUni
325 parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size) argument
339 parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size) argument
429 parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size) argument
504 display(int64_t timeUs) argument
[all...]
/frameworks/av/media/libstagefright/omx/tests/
H A DFrameDropper_test.cpp29 int64_t timeUs; member in struct:android::TestFrame
102 int64_t testTimeUs = frames[i].timeUs + jitter;
104 (long long)frames[i].timeUs, (long long)testTimeUs, jitter);
/frameworks/av/media/libstagefright/
H A DAudioSource.cpp257 int64_t timeUs; local
258 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs));
259 int64_t elapsedTimeUs = timeUs - mStartTimeUs;
281 timeUs *= (int64_t)mSampleRate / (int64_t)mOutSampleRate;
282 buffer->meta_data()->setInt64(kKeyTime, timeUs);
300 int64_t timeUs, position, timeNs; local
309 timeUs = timeNs / 1000 -
315 timeUs = systemTime() / 1000ll;
319 timeUs -= mRecord->latency() * 1000LL;
322 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs);
393 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument
[all...]
H A DVBRISeeker.cpp165 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument
175 while (segmentIndex < mSegments.size() && nowUs < *timeUs) {
180 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos);
182 *timeUs = nowUs;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DAnotherPacketSource.cpp142 int64_t timeUs; local
144 CHECK(mLatestDequeuedMeta->findInt64("timeUs", &timeUs));
145 if (timeUs > seg.mMaxDequeTimeUs) {
146 seg.mMaxDequeTimeUs = timeUs;
198 int64_t timeUs; local
199 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
202 if (timeUs > seg.mMaxDequeTimeUs) {
203 seg.mMaxDequeTimeUs = timeUs;
475 int64_t timeUs = 0; local
490 nextBufferTime(int64_t *timeUs) argument
551 int64_t timeUs; local
[all...]
H A DESQueue.cpp275 const void *data, size_t size, int64_t timeUs,
480 info.mTimestampUs = timeUs;
487 ALOGI("size = %zu, timeUs = %.2f secs", size, timeUs / 1E6);
538 int64_t timeUs = fetchTimestamp(nextScan, &pesOffset, &pesScramblingControl); local
539 if (timeUs < 0ll) {
540 ALOGE("Negative timeUs");
591 scrambledAccessUnit->meta()->setInt64("timeUs", timeUs);
610 ALOGV("[stream %d] dequeued scrambled AU: timeUs
274 appendData( const void *data, size_t size, int64_t timeUs, int32_t payloadOffset, uint32_t pesScramblingControl) argument
702 int64_t timeUs = fetchTimestamp(syncStartPos + payloadSize); local
775 int64_t timeUs = fetchTimestamp(payloadSize + 4); local
940 int64_t timeUs = fetchTimestamp(offset); local
957 int64_t timeUs = -1; local
1153 int64_t timeUs = fetchTimestamp(nextScan); local
1233 int64_t timeUs = fetchTimestamp(frameSize); local
1439 int64_t timeUs = fetchTimestamp(offset); local
1631 int64_t timeUs = fetchTimestamp(offset); local
1696 int64_t timeUs = fetchTimestamp(size); local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DConverter.cpp533 int64_t timeUs; local
534 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
537 timeUs += copyUs;
538 buffer->meta()->setInt64("timeUs", timeUs);
579 int64_t timeUs; local
580 CHECK(buffer->meta()->findInt64("timeUs", &timeUs));
582 partialAudioAU->meta()->setInt64("timeUs", timeU
618 int64_t timeUs = 0ll; local
659 int64_t timeUs; local
689 int64_t timeUs; local
[all...]
/frameworks/av/cmds/stagefright/
H A Dmuxer.cpp179 int64_t timeUs; local
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);

Completed in 272 milliseconds

123456