/frameworks/av/media/libstagefright/bqhelper/ |
FrameDropper.cpp | 50 bool FrameDropper::shouldDrop(int64_t timeUs) { 56 mDesiredMinTimeUs = timeUs + mMinIntervalUs; 58 (long long)timeUs, (long long)mDesiredMinTimeUs); 62 if (timeUs < (mDesiredMinTimeUs - kMaxJitterUs)) { 64 (long long)timeUs, (long long)mDesiredMinTimeUs, 65 (long long)(mDesiredMinTimeUs - timeUs)); 69 int64_t n = (timeUs - mDesiredMinTimeUs + kMaxJitterUs) / mMinIntervalUs; 72 (long long)timeUs, (long long)mDesiredMinTimeUs, 73 (long long)(mDesiredMinTimeUs - timeUs));
|
/frameworks/av/media/extractors/mp3/ |
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);
|
VBRISeeker.cpp | 167 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { 177 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 182 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos); 184 *timeUs = nowUs;
|
/frameworks/av/media/libmediaplayer2/nuplayer2/ |
NuPlayer2CCDecoder.h | 44 void display(int64_t timeUs); 83 bool parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size); 87 bool parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size); 90 bool parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size); 91 bool parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size);
|
NuPlayer2CCDecoder.cpp | 229 int64_t timeUs; 230 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 238 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); 245 bool NuPlayer2::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { 299 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); 322 int64_t timeUs; 323 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 331 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]) [all...] |
NuPlayer2DecoderPassThrough.cpp | 177 int64_t timeUs; 179 bool smallTimestampValid = accessUnit->meta()->findInt64("timeUs", &timeUs); 180 bool bigTimestampValid = mAggregateBuffer->meta()->findInt64("timeUs", &dummy); 196 mAggregateBuffer->meta()->setInt64("timeUs", timeUs); 271 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); 320 int64_t timeUs = 0; 321 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); [all...] |
GenericSource2.cpp | 552 int64_t timeUs, actualTimeUs; 555 timeUs = mAudioLastDequeueTimeUs; 557 timeUs = mVideoLastDequeueTimeUs; 559 readBuffer(trackType, timeUs, MediaPlayer2SeekMode::SEEK_PREVIOUS_SYNC /* mode */, 563 ALOGV("timeUs %lld actualTimeUs %lld", (long long)timeUs, (long long)actualTimeUs); 614 int64_t timeUs; 615 CHECK(msg->findInt64("timeUs", &timeUs)); 618 readBuffer(type, timeUs, MediaPlayer2SeekMode::SEEK_PREVIOUS_SYNC /* mode */, &subTimeUs) [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
NuPlayerCCDecoder.h | 44 void display(int64_t timeUs); 83 bool parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size); 87 bool parseMPEGUserDataUnit(int64_t timeUs, const uint8_t *data, size_t size); 90 bool parseMPEGCCData(int64_t timeUs, const uint8_t *data, size_t size); 91 bool parseDTVCCPacket(int64_t timeUs, const uint8_t *data, size_t size);
|
NuPlayerCCDecoder.cpp | 230 int64_t timeUs; 231 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 239 timeUs, accessUnit->data() + nal->nalOffset, nal->nalSize); 246 bool NuPlayer::CCDecoder::parseSEINalUnit(int64_t timeUs, const uint8_t *data, size_t size) { 300 trackAdded |= parseMPEGCCData(timeUs, br.data(), br.numBitsLeft() / 8); 323 int64_t timeUs; 324 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 337 timeUs, accessUnit->data() + userData[i], accessUnit->size() - userData[i]) [all...] |
NuPlayerDecoderPassThrough.cpp | 178 int64_t timeUs; 180 bool smallTimestampValid = accessUnit->meta()->findInt64("timeUs", &timeUs); 181 bool bigTimestampValid = mAggregateBuffer->meta()->findInt64("timeUs", &dummy); 197 mAggregateBuffer->meta()->setInt64("timeUs", timeUs); 272 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs)); 321 int64_t timeUs = 0; 322 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); [all...] |
/frameworks/av/media/libstagefright/bqhelper/include/media/stagefright/bqhelper/ |
FrameDropper.h | 36 bool shouldDrop(int64_t timeUs);
|
/frameworks/av/media/libstagefright/ |
AudioSource.cpp | 271 int64_t timeUs; 272 CHECK(buffer->meta_data().findInt64(kKeyTime, &timeUs)); 273 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 295 timeUs *= (int64_t)mSampleRate / (int64_t)mOutSampleRate; 296 buffer->meta_data().setInt64(kKeyTime, timeUs); 329 int64_t timeUs, position, timeNs; 338 timeUs = timeNs / 1000 - 344 timeUs = systemTime() / 1000LL; 348 timeUs -= mRecord->latency() * 1000LL; 351 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs); [all...] |
MediaCodecSource.cpp | 374 int64_t timeUs; 375 if (!response->findInt64("time-us", &timeUs)) { 376 timeUs = -1LL; 378 return timeUs; 695 int64_t timeUs = 0LL; 700 CHECK(mbuf->meta_data().findInt64(kKeyTime, &timeUs)); 712 timeUs += mInputBufferTimeOffsetUs; 716 mDecodingTimeQueue.push_back(timeUs); 720 mFirstSampleTimeUs = timeUs; 725 driftTimeUs = timeUs - mFirstSampleTimeUs - driftTimeUs [all...] |
/frameworks/av/media/libstagefright/bqhelper/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/ |
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...] |
ESQueue.cpp | 435 const void *data, size_t size, int64_t timeUs, 685 info.mTimestampUs = timeUs; 692 ALOGI("size = %zu, timeUs = %.2f secs", size, timeUs / 1E6); 744 int64_t timeUs = fetchTimestamp(nextScan, &pesOffset, &pesScramblingControl); 745 if (timeUs < 0ll) { 746 ALOGE("Negative timeUs"); 847 scrambledAccessUnit->meta()->setInt64("timeUs", timeUs); 867 ALOGV("[stream %d] dequeued scrambled AU: timeUs=%lld, size=%zu" [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/media/libmedia/omx/1.0/ |
WGraphicBufferSource.cpp | 42 bool suspend, int64_t timeUs) { 43 return toBinderStatus(mBase->setSuspend(suspend, timeUs));
|
/frameworks/av/media/libstagefright/include/ |
StagefrightMetadataRetriever.h | 45 int64_t timeUs, int option, int colorFormat, bool metaOnly); 73 int64_t timeUs, int numFrames, int option, int colorFormat, bool metaOnly,
|
FrameDecoder.h | 77 int64_t timeUs, 133 int64_t timeUs, 168 int64_t timeUs,
|
/frameworks/av/media/libstagefright/httplive/ |
LiveSession.cpp | 325 int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq) { 326 if (timeUs >= firstTimeUs) { 327 timeUs -= firstTimeUs; 329 timeUs = 0; 331 timeUs += mLastSeekTimeUs; 333 timeUs += mDiscontinuityOffsetTimesUs.valueFor(discontinuitySeq); 335 return timeUs; 387 int64_t timeUs, originalTimeUs; 390 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
rtp_test.cpp | 203 int64_t timeUs; 204 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 207 buffer->range_length(), timeUs / 1E6);
|
/frameworks/av/media/codec2/sfplugin/ |
Omx2IGraphicBufferSource.h | 32 BnStatus setSuspend(bool suspend, int64_t timeUs) override;
|