/frameworks/av/media/libstagefright/wifi-display/ |
H A D | MediaSender.cpp | 233 int64_t timeUs; local 235 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 237 if (minTrackIndex < 0 || timeUs < minTimeUs) { 239 minTimeUs = timeUs; 260 int64_t timeUs; local 261 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 262 tsPackets->meta()->setInt64("timeUs", timeUs); 498 int64_t timeUs = ALooper::GetNowUs(); local [all...] |
/frameworks/base/media/java/android/media/ |
H A D | MediaMetadataRetriever.java | 230 * @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...] |
H A D | MediaExtractor.java | 586 public native void seekTo(long timeUs, @SeekMode int mode); argument
|
H A D | SubtitleTrack.java | 227 public void onTimedEvent(long timeUs) { argument 228 if (DEBUG) Log.d(TAG, "onTimedEvent " + timeUs); 230 long timeMs = timeUs / 1000; 242 public void onSeek(long timeUs) { argument 243 if (DEBUG) Log.d(TAG, "onSeek " + timeUs); 245 long timeMs = timeUs / 1000;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaMuxer.cpp | 78 jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) { 124 status_t err = muxer->writeSampleData(buffer, trackIndex, timeUs, flags); 76 android_media_MediaMuxer_writeSampleData( JNIEnv *env, jclass , jlong nativeObject, jint trackIndex, jobject byteBuf, jint offset, jint size, jlong timeUs, jint flags) argument
|
H A D | android_media_MediaMetadataRetriever.cpp | 247 static jobject android_media_MediaMetadataRetriever_getFrameAtTime(JNIEnv *env, jobject thiz, jlong timeUs, jint option) argument 249 ALOGV("getFrameAtTime: %lld us option: %d", (long long)timeUs, option); 258 sp<IMemory> frameMemory = retriever->getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | NuPlayerCCDecoder.cpp | 216 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...] |
H A D | RTSPSource.cpp | 314 msg->setInt64("timeUs", seekTimeUs); 503 CHECK(msg->findInt64("timeUs", &seekTimeUs)); 606 int64_t timeUs; local 607 CHECK(msg->findInt64("time", &timeUs)); 608 mHandler->continueSeekAfterPause(timeUs); 681 accessUnit->meta()->setInt64("timeUs", nptUs);
|
/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 257 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 D | NuMediaExtractor.cpp | 439 int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) { 442 ssize_t minIndex = fetchTrackSamples(timeUs, mode); 438 seekTo( int64_t timeUs, MediaSource::ReadOptions::SeekMode mode) argument
|
H A D | MPEG2TSWriter.cpp | 243 out->meta()->setInt64("timeUs", 0ll); 266 int64_t timeUs; local 267 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 268 mBuffer->meta()->setInt64("timeUs", timeUs); 290 int64_t timeUs; local 291 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 293 mBuffer->meta()->setInt64("timeUs", timeUs); 430 int64_t timeUs; local 629 int64_t timeUs = source->lastAccessUnitTimeUs(); local 842 int64_t timeUs; local [all...] |
H A D | MediaCodecSource.cpp | 348 int64_t timeUs; local 349 if (!response->findInt64("time-us", &timeUs)) { 350 timeUs = -1ll; 352 return timeUs; 657 int64_t timeUs = 0ll; local 662 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 674 timeUs += mInputBufferTimeOffsetUs; 678 mDecodingTimeQueue.push_back(timeUs); 682 mFirstSampleTimeUs = timeUs; 687 driftTimeUs = timeUs 852 int64_t timeUs; local [all...] |
H A D | MediaSync.cpp | 280 double timeUs = numPendingFrames * 1000000.0 local 282 if (timeUs > (double)INT64_MAX) { 288 *outTimeUs = (int64_t)timeUs;
|
H A D | StagefrightMetadataRetriever.cpp | 245 int64_t timeUs; local 338 &timeUs, 355 done = (targetTimeUs < 0ll) || (timeUs >= targetTimeUs); 356 ALOGV("Received an output buffer, timeUs=%lld", (long long)timeUs); 380 if (timeUs != thumbNailTime) { 384 ALOGV("thumbNailTime = %lld us, timeUs = %lld us, mime = %s", 385 (long long)thumbNailTime, (long long)timeUs, mime.c_str()); 473 int64_t timeUs, int option) { 475 ALOGV("getFrameAtTime: %" PRId64 " us option: %d", timeUs, optio 472 getFrameAtTime( int64_t timeUs, int option) argument [all...] |
/frameworks/av/media/libstagefright/filters/ |
H A D | MediaFilter.cpp | 237 info.mData->meta()->setInt64("timeUs", 0); 356 int64_t timeUs; local 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/ |
H A D | AnotherPacketSource.cpp | 142 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 D | MPEG2PSExtractor.cpp | 691 int64_t timeUs; local 693 timeUs = (PTS * 100) / 9; 695 timeUs = 0; 698 status_t err = mQueue->appendData(data, size, timeUs);
|
H A D | MPEG2TSExtractor.cpp | 482 int64_t timeUs = mSeekSyncPoints->keyAt(index); local 483 if (timeUs > seekTimeUs) { 602 int64_t timeUs; local 603 while ((err = impl->nextBufferTime(&timeUs)) == OK) { 604 if (timeUs < syncTimeUs) {
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | ARTPWriter.cpp | 574 int64_t timeUs; local 575 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 577 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 669 int64_t timeUs; local 670 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 672 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll); 754 int64_t timeUs; local 755 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 756 uint32_t rtpTime = mRTPTimeBase + (timeUs / (isWide ? 250 : 125));
|
H A D | MyTransmitter.h | 641 int64_t timeUs; local 642 CHECK(mediaBuf->meta_data()->findInt64(kKeyTime, &timeUs)); 644 uint32_t rtpTime = mRTPTimeBase + (timeUs * 9 / 100ll);
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Converter.cpp | 533 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...] |
H A D | TSPacketizer.cpp | 462 int64_t timeUs; local 463 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 873 uint64_t PTS = (timeUs * 9ll) / 100ll; 1044 int64_t timeUs; local 1045 CHECK(accessUnit->meta()->findInt64("timeUs", &timeUs)); 1049 accessUnit2->meta()->setInt64("timeUs", timeUs);
|
/frameworks/av/cmds/stagefright/ |
H A D | mediafilter.cpp | 219 int64_t timeUs; local 220 CHECK(srcBuffer->meta()->findInt64("timeUs", &timeUs)); 221 destBuffer->meta()->setInt64("timeUs", timeUs); 232 timeUs, frame.flags); 243 timeUs, frame.flags); 542 int64_t timeUs; local 543 err = extractor->getSampleTime(&timeUs); 550 timeUs, bufferFlag [all...] |
H A D | stagefright.cpp | 588 int64_t timeUs; local 589 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 592 seekTimeUs, timeUs, seekTimeUs - timeUs);
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
H A D | RTPSender.cpp | 212 int64_t timeUs; local 213 CHECK(packet->meta()->findInt64("timeUs", &timeUs)); 227 uint32_t rtpTime = (timeUs * 9) / 100ll; 252 int64_t timeUs; local 253 CHECK(tsPackets->meta()->findInt64("timeUs", &timeUs)); 299 timeUs); 311 int64_t timeUs; local 312 CHECK(accessUnit->meta()->findInt64("timeUs", 459 sendRTPPacket( const sp<ABuffer> &buffer, bool storeInHistory, bool timeValid, int64_t timeUs) argument [all...] |