/frameworks/av/media/libstagefright/omx/ |
H A D | FrameDropper.cpp | 46 bool FrameDropper::shouldDrop(int64_t timeUs) { argument 52 mDesiredMinTimeUs = timeUs + mMinIntervalUs; 54 (long long)timeUs, (long long)mDesiredMinTimeUs); 58 if (timeUs < (mDesiredMinTimeUs - kMaxJitterUs)) { 60 (long long)timeUs, (long long)mDesiredMinTimeUs, 61 (long long)(mDesiredMinTimeUs - timeUs)); 65 int64_t n = (timeUs - mDesiredMinTimeUs + kMaxJitterUs) / mMinIntervalUs; 68 (long long)timeUs, (long long)mDesiredMinTimeUs, 69 (long long)(mDesiredMinTimeUs - timeUs));
|
H A D | BWGraphicBufferSource.cpp | 134 bool suspend, int64_t timeUs) { 135 return Status::fromStatusT(mBase->setSuspend(suspend, timeUs)); 133 setSuspend( bool suspend, int64_t timeUs) 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 | 204 int64_t timeUs; local 205 CHECK(buffer->meta_data()->findInt64(kKeyTime, &timeUs)); 208 buffer->range_length(), timeUs / 1E6);
|
/frameworks/av/media/libstagefright/ |
H A D | MediaMuxer.cpp | 150 int64_t timeUs, uint32_t flags) { 174 sampleMetaData->setInt64(kKeyTime, timeUs); 176 sampleMetaData->setInt64(kKeyDecodingTime, timeUs); 149 writeSampleData(const sp<ABuffer> &buffer, size_t trackIndex, int64_t timeUs, uint32_t flags) argument
|
H A D | VBRISeeker.cpp | 165 bool VBRISeeker::getOffsetForTime(int64_t *timeUs, off64_t *pos) { argument 175 while (segmentIndex < mSegments.size() && nowUs < *timeUs) { 180 ALOGV("getOffsetForTime %lld us => 0x%016llx", (long long)*timeUs, (long long)*pos); 182 *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 | MidiExtractor.cpp | 240 int64_t timeUs = 1000ll * timeMs; local 241 buffer->meta_data()->setInt64(kKeyTime, timeUs);
|
/frameworks/av/media/libstagefright/omx/tests/ |
H A D | FrameDropper_test.cpp | 29 int64_t timeUs; member in struct:android::TestFrame 102 int64_t testTimeUs = frames[i].timeUs + jitter; 104 (long long)frames[i].timeUs, (long long)testTimeUs, jitter);
|
/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 | 144 sp<IMemory> MediaMetadataRetriever::getFrameAtTime(int64_t timeUs, int option) argument 146 ALOGV("getFrameAtTime: time(%" PRId64 " us) option(%d)", timeUs, option); 152 return mRetriever->getFrameAtTime(timeUs, option);
|
H A D | IMediaMetadataRetriever.cpp | 139 sp<IMemory> getFrameAtTime(int64_t timeUs, int option) argument 141 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 144 data.writeInt64(timeUs); 267 int64_t timeUs = data.readInt64(); local 269 ALOGV("getTimeAtTime: time(%" PRId64 " us) and option(%d)", timeUs, option); 273 sp<IMemory> bitmap = getFrameAtTime(timeUs, option);
|
/frameworks/av/media/libmedia/omx/1.0/ |
H A D | WGraphicBufferSource.cpp | 42 bool suspend, int64_t timeUs) { 43 return toBinderStatus(mBase->setSuspend(suspend, timeUs)); 41 setSuspend( bool suspend, int64_t timeUs) argument
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MetadataRetrieverClient.cpp | 196 sp<IMemory> MetadataRetrieverClient::getFrameAtTime(int64_t timeUs, int option) argument 198 ALOGV("getFrameAtTime: time(%lld us) option(%d)", (long long)timeUs, option); 206 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 | 184 int64_t timeUs; local 185 err = extractor->getSampleTime(&timeUs); 194 timeUs, 220 0ll /* timeUs */,
|
H A D | muxer.cpp | 179 int64_t timeUs; local 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/include/media/stagefright/ |
H A D | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 218 status_t NuPlayer::HTTPLiveSource::selectTrack(size_t trackIndex, bool select, int64_t /*timeUs*/) { 286 int64_t timeUs, baseUs, delayUs; local 288 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); 289 delayUs = baseUs + timeUs - ALooper::GetNowUs();
|
H A D | NuPlayerDecoderPassThrough.cpp | 178 int64_t timeUs; local 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; local 322 CHECK(buffer->meta()->findInt64("timeUs", &timeUs)); [all...] |
H A D | StreamingSource.cpp | 279 int64_t timeUs; local 280 CHECK((*accessUnit)->meta()->findInt64("timeUs", &timeUs)); 281 ALOGV("dequeueAccessUnit timeUs=%lld us", timeUs);
|
/frameworks/av/media/libstagefright/codecs/aacenc/ |
H A D | AACEncoder.cpp | 258 int64_t timeUs; local 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/foundation/include/ |
H A D | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/media/libstagefright/include/ |
H A D | MPEG4Writer.h | 127 void setStartTimestampUs(int64_t timeUs); 141 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) argument 142 : mTrack(track), mTimeStampUs(timeUs), mSamples(samples) { 215 void trackProgressStatus(size_t trackId, int64_t timeUs, status_t err = OK);
|
/frameworks/av/media/libstagefright/omx/1.0/ |
H A D | WGraphicBufferSource.cpp | 181 bool suspend, int64_t timeUs) { 182 return toStatus(mBase->setSuspend(suspend, timeUs)); 180 setSuspend( bool suspend, int64_t timeUs) argument
|