/frameworks/av/include/media/ |
H A D | MediaMetadataRetrieverInterface.h | 43 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) = 0; 55 virtual VideoFrame* getFrameAtTime(int64_t timeUs, int option) { return NULL; } argument
|
/frameworks/base/media/java/android/media/ |
H A D | 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); 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
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | rtp_test.cpp | 213 int64_t timeUs; local 214 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 217 buffer->range_length(), timeUs / 1E6);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | StreamingSource.cpp | 176 int64_t timeUs; local 177 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 178 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
H A D | HTTPLiveSource.cpp | 186 int64_t timeUs, baseUs, durationUs, delayUs; local 188 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 190 delayUs = baseUs + timeUs - ALooper::GetNowUs();
|
/frameworks/av/media/libstagefright/ |
H A D | MediaMuxer.cpp | 165 int64_t timeUs, uint32_t flags) { 189 sampleMetaData->setInt64(kKeyTime, timeUs); 191 sampleMetaData->setInt64(kKeyDecodingTime, timeUs); 164 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
|
H A D | VBRISeeker.cpp | 151 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 161 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 166 ALOGV("getOffsetForTime %" PRId64 " us => 0x%016llx", *timeUs, *pos); 168 *timeUs = nowUs;
|
H A D | XINGSeeker.cpp | 46 bool XINGSeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 51 float percent = (float)(*timeUs) * 100 / mDurationUs;
|
H A D | AudioSource.cpp | 236 int64_t timeUs; local 237 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 238 int64_t elapsedTimeUs = timeUs - mStartTimeUs; 274 int64_t timeUs = systemTime() / 1000ll; local 276 ALOGV("dataCallbackTimestamp: %" PRId64 " us", timeUs); 284 if (mNumFramesReceived == 0 && timeUs < mStartTimeUs) { 286 ALOGV("Drop audio data at %" PRId64 "/%" PRId64 " us", timeUs, mStartTimeUs); 291 mInitialReadTimeUs = timeUs; 294 mStartTimeUs = timeUs - mStartTimeUs; 329 queueInputBuffer_l(lostAudioBuffer, timeUs); 346 queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs) argument [all...] |
/frameworks/av/media/libstagefright/timedtext/ |
H A D | TimedText3GPPSource.cpp | 66 int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) { 82 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 65 extractAndAppendLocalDescriptions( int64_t timeUs, const MediaBuffer *textBuffer, Parcel *parcel) argument
|
H A D | TimedTextDriver.cpp | 166 status_t TimedTextDriver::seekToAsync(int64_t timeUs) { argument 173 mPlayer->seekToAsync(timeUs); 178 mPlayer->seekToAsync(timeUs); 182 mPlayer->seekToAsync(timeUs);
|
H A D | TimedTextPlayer.cpp | 70 void TimedTextPlayer::seekToAsync(int64_t timeUs) { argument 72 msg->setInt64("seekTimeUs", timeUs); 260 void TimedTextPlayer::postTextEvent(const sp<ParcelEvent>& parcel, int64_t timeUs) { argument 261 int64_t delayUs = delayUsFromCurrentTime(timeUs); 267 msg->setInt64("fireTimeUs", timeUs);
|
H A D | TimedTextSRTSource.cpp | 270 int64_t timeUs, const AString &text, Parcel *parcel) { 278 (const uint8_t *)data, size, flag, timeUs / 1000, parcel); 283 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument 288 if (timeUs >= startTimeUs && timeUs < endTimeUs) { 290 } else if (endTimeUs <= timeUs) { 269 extractAndAppendLocalDescriptions( int64_t timeUs, const AString &text, Parcel *parcel) argument
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | MediaPuller.cpp | 165 int64_t timeUs; local 166 CHECK(mbuf->meta_data()->findInt64(kKeyTime, &timeUs)); 174 accessUnit->meta()->setInt64("timeUs", timeUs);
|
/frameworks/av/media/libmedia/ |
H A D | mediametadataretriever.cpp | 132 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 134 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d)", timeUs, option); 140 return mRetriever->getFrameAtTime(timeUs, option);
|
H A D | IMediaMetadataRetriever.cpp | 128 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 130 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 133 data.writeInt64(timeUs); 240 int64_t timeUs = data.readInt64(); local 242 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 246 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 181 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument 183 ALOGV("getFrameAtTime: time(%lld us) option(%d)", timeUs, option); 190 VideoFrame *frame = mRetriever->getFrameAtTime(timeUs, option);
|
/frameworks/av/cmds/stagefright/ |
H A D | SimplePlayer.cpp | 494 int64_t timeUs; local 495 CHECK_EQ(mExtractor->getSampleTime(&timeUs), (status_t)OK); 501 timeUs,
|
H A D | codec.cpp | 178 int64_t timeUs; local 179 err = extractor->getSampleTime(&timeUs); 188 timeUs, 214 0ll /* timeUs */,
|
H A D | muxer.cpp | 160 int64_t timeUs; local 161 err = extractor->getSampleTime(&timeUs); 175 if (enableTrim && timeUs > trimStartTimeUs && 176 timeUs <= trimEndTimeUs) { 178 trimOffsetTimeUs = timeUs; 184 if (enableTrim && timeUs > trimEndTimeUs) { 191 timeUs - trimOffsetTimeUs, sampleFlags);
|
/frameworks/av/include/media/stagefright/ |
H A D | MPEG4Writer.h | 106 void setStartTimestampUs(int64_t timeUs); 120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 121 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 190 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 260 int64_t timeUs; local 261 if (mInputBuffer->meta_data()->findInt64(kKeyDriftTime, &timeUs)) { 262 wallClockTimeUs = timeUs; 264 if (mInputBuffer->meta_data()->findInt64(kKeyAnchorTime, &timeUs)) { 265 mAnchorTimeUs = timeUs;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | AnotherPacketSource.cpp | 172 int64_t timeUs; local 173 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 177 mediaBuffer->meta_data()->setInt64(kKeyTime, timeUs); 207 CHECK(buffer->meta()->findInt64("timeUs", &lastQueuedTimeUs)); 209 ALOGV("queueAccessUnit timeUs=%" PRIi64 " us (%.2f secs)", mLastQueuedTimeUs, mLastQueuedTimeUs / 1E6); 224 CHECK(mLatestEnqueuedMeta->findInt64("timeUs", &latestTimeUs)); 316 int64_t timeUs; local 317 if (buffer->meta()->findInt64("timeUs", &timeUs)) { 378 nextBufferTime(int64_t *timeUs) argument [all...] |
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.cpp | 583 int64_t timeUs = item.mTimestamp / 1000; local 589 mPrevCaptureUs = timeUs; 590 mPrevFrameUs = timeUs; 593 int64_t nFrames = (timeUs + mTimePerCaptureUs / 2 - mPrevCaptureUs) 597 ALOGV("skipping frame, timeUs %lld", static_cast<long long>(timeUs)); 604 ALOGV("timeUs %lld, captureUs %lld, frameUs %lld", 605 static_cast<long long>(timeUs), 619 int64_t originalTimeUs = timeUs; 628 timeUs 646 int64_t timeUs = getTimestamp(item); local [all...] |
/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); 496 int64_t timeUs = ALooper::GetNowUs(); local [all...] |