/frameworks/av/media/libstagefright/omx/ |
FrameDropper.cpp | 45 bool FrameDropper::shouldDrop(int64_t timeUs) { 51 mDesiredMinTimeUs = timeUs + mMinIntervalUs; 53 (long long)timeUs, (long long)mDesiredMinTimeUs); 57 if (timeUs < (mDesiredMinTimeUs - kMaxJitterUs)) { 59 (long long)timeUs, (long long)mDesiredMinTimeUs, 60 (long long)(mDesiredMinTimeUs - timeUs)); 64 int64_t n = (timeUs - mDesiredMinTimeUs + kMaxJitterUs) / mMinIntervalUs; 67 (long long)timeUs, (long long)mDesiredMinTimeUs, 68 (long long)(mDesiredMinTimeUs - 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 | 233 * @param timeUs The time position where the frame will be retrieved. 236 * When this happens, a frame nearby will be returned. If timeUs is 242 * that has a timestamp earlier than or the same as timeUs. Use 244 * that has a timestamp later than or the same as timeUs. Use 246 * that has a timestamp closest to or the same as timeUs. Use 248 * or may not be a sync frame but is closest to or the same as timeUs. 250 * to the other options if there is no sync frame located at timeUs. 255 public Bitmap getFrameAtTime(long timeUs, @Option int option) { 261 return _getFrameAtTime(timeUs, option, -1 /*dst_width*/, -1 /*dst_height*/); 273 * @param timeUs The time position in microseconds where the frame will be retrieved [all...] |
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/buffer/ |
SampleQueue.java | 38 mLastQueuedPositionUs = sample.timeUs; 49 sample.timeUs = sampleFromQueue.timeUs; 69 return !mQueue.isEmpty() && mQueue.getLast().timeUs - mQueue.getFirst().timeUs > durationUs;
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/audio/ |
AudioClock.java | 69 * @param timeUs The position to set in microseconds. 71 public void setPositionUs(long timeUs) { 72 this.mPositionUs = timeUs; 73 mDeltaUs = elapsedRealtimeMinus(timeUs);
|
/packages/apps/TV/src/com/android/tv/tuner/exoplayer/ffmpeg/ |
IFfmpegDecoder.aidl | 24 void decode(long timeUs, in byte[] sample);
|
/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, int colorFormat, bool metaOnly);
|
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/ |
FrameDropper.h | 36 bool shouldDrop(int64_t timeUs);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerCCDecoder.h | 43 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);
|
NuPlayerCCDecoder.cpp | 216 int64_t timeUs; 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) { 286 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); 309 int64_t timeUs; 310 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 318 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]) [all...] |
/packages/apps/TV/src/com/android/exoplayer2/ext/ffmpeg/ |
FfmpegAudioDecoder.java | 65 * @param timeUs presentation timestamp of the sample 68 public void decode(long timeUs, byte[] sample) { 73 mInputBuffer.timeUs = timeUs; 87 return mOutputBuffer.timeUs;
|
/frameworks/av/media/libstagefright/ |
AudioSource.cpp | 265 int64_t timeUs; 266 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 267 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 289 timeUs *= (int64_t)mSampleRate / (int64_t)mOutSampleRate; 290 buffer->meta_data()->setInt64(kKeyTime, timeUs); 323 int64_t timeUs, position, timeNs; 332 timeUs = timeNs / 1000 - 338 timeUs = systemTime() / 1000ll; 342 timeUs -= mRecord->latency() * 1000LL; 345 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs); [all...] |
VBRISeeker.cpp | 165 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { 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/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);
|
/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/mpeg2ts/ |
AnotherPacketSource.cpp | 142 int64_t timeUs; 144 CHECK(mLatestDequeuedMeta->findInt64("timeUs", &timeUs)); 145 if (timeUs > seg.mMaxDequeTimeUs) { 146 seg.mMaxDequeTimeUs = timeUs; 198 int64_t timeUs; 199 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 202 if (timeUs > seg.mMaxDequeTimeUs) { 203 seg.mMaxDequeTimeUs = timeUs; [all...] |
ESQueue.cpp | 275 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); 539 if (timeUs < 0ll) { 540 ALOGE("Negative timeUs"); 591 scrambledAccessUnit->meta()->setInt64("timeUs", timeUs); 610 ALOGV("[stream %d] dequeued scrambled AU: timeUs=%lld, size=%zu" [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
Converter.cpp | 533 int64_t timeUs; 534 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 537 timeUs += copyUs; 538 buffer->meta()->setInt64("timeUs", timeUs); 579 int64_t timeUs; 580 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 582 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/base/core/java/com/android/internal/os/ |
CpuPowerCalculator.java | 43 final long timeUs = u.getTimeAtCpuSpeed(cluster, speed, statsType); 44 final double cpuSpeedStepPower = timeUs * 48 + speed + " timeUs=" + timeUs + " power="
|
/frameworks/av/media/libmedia/include/media/ |
IMediaMetadataRetriever.h | 46 int64_t timeUs, int option, int colorFormat, bool metaOnly) = 0;
|
MediaMetadataRetrieverInterface.h | 46 int64_t timeUs, int option, int colorFormat, bool metaOnly) = 0; 59 int64_t /*timeUs*/, int /*option*/, int /*colorFormat*/, bool /*metaOnly*/)
|