/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/rtsp/ |
rtp_test.cpp | 204 int64_t timeUs; 205 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 208 buffer->range_length(), timeUs / 1E6);
|
ARTPWriter.cpp | 574 int64_t timeUs; 575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 669 int64_t timeUs; 670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 754 int64_t timeUs; 755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
MediaPuller.cpp | 165 int64_t timeUs; 166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 174 accessUnit->meta()->setInt64("timeUs", timeUs);
|
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/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/libmediaplayerservice/nuplayer/ |
StreamingSource.cpp | 279 int64_t timeUs; 280 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 281 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
HTTPLiveSource.cpp | 218 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) { 286 int64_t timeUs, baseUs, delayUs; 288 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 289 delayUs = baseUs + timeUs - ALooper::GetNowUs();
|
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...] |
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...] |
/frameworks/av/media/libstagefright/codecs/aacenc/ |
AACEncoder.cpp | 258 int64_t timeUs; 259 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 260 wallClockTimeUs = timeUs; 262 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 263 mAnchorTimeUs = timeUs;
|
/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/cmds/stagefright/ |
SimplePlayer.cpp | 494 int64_t timeUs; 495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); 501 timeUs,
|
codec.cpp | 184 int64_t timeUs; 185 err = extractor->getSampleTime(&timeUs); 194 timeUs, 220 0ll /* timeUs */,
|
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/ |
IMediaMetadataRetriever.cpp | 146 sp<IMemory> getFrameAtTime(int64_t timeUs, int option, int colorFormat, bool metaOnly) 149 timeUs, option, colorFormat, metaOnly); 152 data.writeInt64(timeUs); 282 int64_t timeUs = data.readInt64(); 287 timeUs, option, colorFormat, metaOnly); 291 sp<IMemory> bitmap = getFrameAtTime(timeUs, option, colorFormat, metaOnly);
|
/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...] |
MidiExtractor.cpp | 240 int64_t timeUs = 1000ll * timeMs; 241 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
MediaSync.cpp | 282 double timeUs = numPendingFrames * 1000000.0 284 if (timeUs > (double)INT64_MAX) { 290 *outTimeUs = (int64_t)timeUs;
|
/hardware/intel/common/utils/ISV/base/ |
isv_processor.cpp | 172 int64_t timeUs; 223 timeUs = mOutputBuffers[0]->nTimeStamp; 230 outputBuffer->nTimeStamp = timeUs + 1000000ll * (i + 1) / 60 - 1000000ll * 1 / 24; 232 outputBuffer->nTimeStamp = timeUs + 1000000ll * (i + 3) / 60 - 1000000ll * 2 / 24; 236 outputBuffer->nTimeStamp = timeUs - 1000000ll * (fillBufNum - i - 1) / (mFilterParam.frameRate * 2);
|
/frameworks/av/media/libstagefright/filters/ |
MediaFilter.cpp | 237 info.mData->meta()->setInt64("timeUs", 0); 356 int64_t timeUs; 357 CHECK(inputInfo->mData->meta()->findInt64("timeUs", &timeUs)); 358 outputInfo->mData->meta()->setInt64("timeUs", timeUs); 714 inputInfo->mData->meta()->setInt64("timeUs", item.mTimestamp / 1000);
|
/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...] |
MPEG2PSExtractor.cpp | 691 int64_t timeUs; 693 timeUs = (PTS * 100) / 9; 695 timeUs = 0; 698 status_t err = mQueue->appendData(data, size, timeUs);
|
MPEG2TSExtractor.cpp | 490 int64_t timeUs = mSeekSyncPoints->keyAt(index); 491 if (timeUs > seekTimeUs) { 610 int64_t timeUs; 611 while ((err = impl->nextBufferTime(&timeUs)) == OK) { 612 if (timeUs < syncTimeUs) {
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
RTPSender.cpp | 212 int64_t timeUs; 213 CHECK(packet->meta()->findInt64("timeUs", &timeUs)); 227 uint32_t rtpTime = (timeUs * 9) / 100ll; 252 int64_t timeUs; 253 CHECK(tsPackets->meta()->findInt64("timeUs", &timeUs)); 299 timeUs); 311 int64_t timeUs; 312 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)) [all...] |