/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerRenderer.h | 63 status_t getCurrentPosition(int64_t *mediaUs); 65 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo = false); 67 void setAudioFirstAnchorTime(int64_t mediaUs); 68 void setAudioFirstAnchorTimeIfNeeded(int64_t mediaUs); 70 int64_t mediaUs, int64_t realUs, int64_t numFramesWritten = -1, bool resume = false); 71 void setVideoLateByUs(int64_t lateUs); 72 int64_t getVideoLateByUs(); 73 void setPauseStartedTimeRealUs(int64_t realUs); 128 static const int64_t kMinPositionUpdateDelayUs; 150 int64_t mAudioFirstAnchorTimeMediaUs; [all …]
|
D | GenericSource.h | 49 status_t setDataSource(int fd, int64_t offset, int64_t length); 66 virtual status_t getDuration(int64_t *durationUs); 71 virtual status_t seekTo(int64_t seekTimeUs); 108 int64_t mAudioTimeUs; 110 int64_t mVideoTimeUs; 116 int64_t mDurationUs; 125 int64_t mOffset; 126 int64_t mLength; 140 int64_t mBitrate; 151 int64_t getLastReadPosition(); [all …]
|
D | NuPlayerRenderer.cpp | 41 static const int64_t kOffloadPauseMaxUs = 60000000ll; 44 const int64_t NuPlayer::Renderer::kMinPositionUpdateDelayUs = 100000ll; 174 status_t NuPlayer::Renderer::getCurrentPosition(int64_t *mediaUs) { in getCurrentPosition() 179 int64_t *mediaUs, int64_t nowUs, bool allowPastQueuedVideo) { in getCurrentPosition() 189 int64_t positionUs = (nowUs - mAnchorTimeRealUs) + mAnchorTimeMediaUs; in getCurrentPosition() 220 void NuPlayer::Renderer::setAudioFirstAnchorTime(int64_t mediaUs) { in setAudioFirstAnchorTime() 225 void NuPlayer::Renderer::setAudioFirstAnchorTimeIfNeeded(int64_t mediaUs) { in setAudioFirstAnchorTimeIfNeeded() 233 int64_t mediaUs, int64_t realUs, int64_t numFramesWritten, bool resume) { in setAnchorTime() 243 void NuPlayer::Renderer::setVideoLateByUs(int64_t lateUs) { in setVideoLateByUs() 248 int64_t NuPlayer::Renderer::getVideoLateByUs() { in getVideoLateByUs() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | GraphicBufferSource.h | 111 status_t setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs); 120 status_t setMaxTimestampGapUs(int64_t maxGapUs); 127 status_t setTimeLapseUs(int64_t* data); 131 void setSkipFramesBeforeUs(int64_t startTimeUs); 198 int64_t getTimestamp(const BufferQueue::BufferItem &item); 247 KeyedVector<int64_t, int64_t> mOriginalTimeUs; 248 int64_t mMaxTimestampGapUs; 249 int64_t mPrevOriginalTimeUs; 250 int64_t mPrevModifiedTimeUs; 251 int64_t mSkipFramesBeforeNs; [all …]
|
/frameworks/av/include/media/stagefright/ |
D | AudioPlayer.h | 57 virtual int64_t getRealTimeUs(); 65 int64_t getMediaTimeUs(); 69 bool getMediaTimeMapping(int64_t *realtime_us, int64_t *mediatime_us); 71 status_t seekTo(int64_t time_us); 88 int64_t mLatencyUs; 92 int64_t mNumFramesPlayed; 93 int64_t mNumFramesPlayedSysTimeUs; 95 int64_t mPositionTimeMediaUs; 96 int64_t mPositionTimeRealUs; 101 int64_t mSeekTimeUs; [all …]
|
D | MPEG4Writer.h | 55 void writeInt64(int64_t x); 94 int64_t mStartTimestampUs; 106 void setStartTimestampUs(int64_t timeUs); 107 int64_t getStartTimestampUs(); // Not const 110 int64_t estimateMoovBoxSize(int32_t bitRate); 114 int64_t mTimeStampUs; // Timestamp of the 1st sample 120 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) in Chunk() 130 int64_t mPrevChunkTimestampUs; 133 int64_t mMaxInterChunkDurUs; 164 int64_t mDriftTimeUs; [all …]
|
D | NuMediaExtractor.h | 66 int64_t timeUs, 73 status_t getSampleTime(int64_t *sampleTimeUs); 76 bool getCachedDuration(int64_t *durationUs, bool *eos) const; 91 int64_t mSampleTimeUs; 104 int64_t mTotalBitrate; // in bits/sec 105 int64_t mDurationUs; 108 int64_t seekTimeUs = -1ll, 114 bool getTotalBitrate(int64_t *bitRate) const;
|
D | MediaSource.h | 78 void setSeekTo(int64_t time_us, SeekMode mode = SEEK_CLOSEST_SYNC); 80 bool getSeekTo(int64_t *time_us, SeekMode *mode) const; 82 void setLateBy(int64_t lateness_us); 83 int64_t getLateBy() const; 95 int64_t mSeekTimeUs; 97 int64_t mLatenessUs;
|
D | CameraSourceTimeLapse.h | 44 int64_t timeBetweenTimeLapseFrameCaptureUs, 65 int64_t mTimeBetweenTimeLapseVideoFramesUs; 68 int64_t mLastTimeLapseFrameRealTimestampUs; 120 int64_t timeBetweenTimeLapseFrameCaptureUs, 133 virtual bool skipCurrentFrame(int64_t timestampUs); 138 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType, 155 bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
|
/frameworks/base/libs/common_time/ |
D | diag_thread.h | 37 void pushDisciplineEvent(int64_t observed_local_time, 38 int64_t observed_common_time, 39 int64_t nominal_common_time, 45 int64_t event_id; 46 int64_t action_local_time; 47 int64_t action_common_time; 48 int64_t observed_local_time; 49 int64_t observed_common_time; 50 int64_t nominal_common_time; 65 int64_t kernel_logID_basis_; [all …]
|
D | common_clock.h | 34 status_t localToCommon(int64_t local, int64_t *common_out) const; 35 status_t commonToLocal(int64_t common, int64_t *local_out) const; 36 int64_t localDurationToCommonDuration(int64_t localDur) const; 39 status_t setSlew(int64_t change_time, int32_t ppm); 40 void setBasis(int64_t local, int64_t common);
|
D | clock_recovery.h | 42 bool pushDisciplineEvent(int64_t local_time, 43 int64_t nominal_common_time, 44 int64_t data_point_rtt); 80 static const int64_t panic_thresh_; 84 static const int64_t control_thresh_; 87 int64_t local_time; 88 int64_t observed_common_time; 89 int64_t nominal_common_time; 90 int64_t rtt; 118 int64_t slew_change_end_time_;
|
D | common_clock.cpp | 67 status_t CommonClock::localToCommon(int64_t local, int64_t *common_out) const { in localToCommon() 79 status_t CommonClock::commonToLocal(int64_t common, int64_t *local_out) const { in commonToLocal() 91 int64_t CommonClock::localDurationToCommonDuration(int64_t localDur) const { in localDurationToCommonDuration() 92 int64_t ret; in localDurationToCommonDuration() 97 void CommonClock::setBasis(int64_t local, int64_t common) { in setBasis() 113 status_t CommonClock::setSlew(int64_t change_time, int32_t ppm) { in setSlew() 116 int64_t new_local_basis; in setSlew() 117 int64_t new_common_basis; in setSlew()
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 61 int64_t startTimeUs = -1ll, // starting timestamps 62 int64_t segmentStartTimeUs = -1ll, // starting position within playlist 95 static const int64_t kMinBufferedDurationUs; 96 static const int64_t kMaxMonitorDelayUs; 111 int64_t mStartTimeUs; 116 int64_t mSegmentStartTimeUs; 127 int64_t mLastPlaylistFetchTimeUs; 134 int64_t mNextPTSTimeUs; 153 int64_t mFirstTimeUs; 154 int64_t mAbsoluteTimeAnchorUs; [all …]
|
D | LiveSession.h | 70 status_t seekTo(int64_t timeUs); 72 status_t getDuration(int64_t *durationUs) const; 122 int64_t mDurationUs; 131 int64_t mLastDequeuedTimeUs; 132 int64_t mLastSampleDurationUs; 198 int64_t mLastDequeuedTimeUs; 199 int64_t mRealTimeBaseUs; 207 int64_t mFirstTimeUs; 208 int64_t mLastSeekTimeUs; 210 KeyedVector<size_t, int64_t> mDiscontinuityAbsStartTimesUs; [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | AwesomePlayer.h | 71 status_t setDataSource(int fd, int64_t offset, int64_t length); 91 status_t getDuration(int64_t *durationUs); 92 status_t getPosition(int64_t *positionUs); 99 status_t seekTo(int64_t timeUs); 104 void postAudioEOS(int64_t delayUs = 0ll); 183 int64_t mDurationUs; 193 int64_t mTimeSourceDeltaUs; 194 int64_t mVideoTimeUs; 204 int64_t mSeekTimeUs; 206 int64_t mBitrate; // total bitrate of the file (in bps) or -1 if unknown. [all …]
|
/frameworks/native/opengl/libagl/ |
D | matrix.h | 103 return (( int64_t(a)*a + in vsquare3() 104 int64_t(b)*b + in vsquare3() 105 int64_t(c)*c + 0x8000)>>16); in vsquare3() 133 return (( int64_t(a0)*b0 + in mla2a() 134 int64_t(a1)*b1)>>16) + c; in mla2a() 185 return (( int64_t(a0)*b0 + in mla3a() 186 int64_t(a1)*b1 + in mla3a() 187 int64_t(a2)*b2)>>16) + c; in mla3a() 224 accum = int64_t(a0)*int16_t(b0) >> 16; in mla3a16() 225 accum += int64_t(a1)*int16_t(b1) >> 16; in mla3a16() [all …]
|
/frameworks/av/media/libstagefright/timedtext/ |
D | TimedTextSRTSource.h | 39 int64_t *startTimeUs, 40 int64_t *endTimeUs, 53 int64_t endTimeUs; 60 KeyedVector<int64_t, TextInfo> mTextVector; 65 off64_t *offset, int64_t *startTimeUs, TextInfo *info); 69 AString *text, int64_t *startTimeUs, int64_t *endTimeUs); 71 int64_t timeUs, const AString &text, Parcel *parcel); 90 int compareExtendedRangeAndTime(size_t index, int64_t timeUs);
|
D | TimedTextPlayer.cpp | 37 static const int64_t kAdjustmentProcessingTimeUs = 100000ll; 38 static const int64_t kMaxDelayUs = 5000000ll; 39 static const int64_t kWaitTimeUsToRetryRead = 100000ll; 40 static const int64_t kInvalidTimeUs = INT_MIN; 70 void TimedTextPlayer::seekToAsync(int64_t timeUs) { in seekToAsync() 108 int64_t seekTimeUs = positionMs * 1000ll; in onMessageReceived() 122 int64_t seekTimeUs; in onMessageReceived() 137 int64_t seekTimeUs = kInvalidTimeUs; in onMessageReceived() 166 int64_t fireTimeUs = kInvalidTimeUs; in onMessageReceived() 169 int64_t delayUs = delayUsFromCurrentTime(fireTimeUs); in onMessageReceived() [all …]
|
D | TimedTextPlayer.h | 44 void seekToAsync(int64_t timeUs); 68 int64_t mPendingSeekTimeUs; 72 void doSeekAndRead(int64_t seekTimeUs); 75 void postTextEvent(const sp<ParcelEvent>& parcel = NULL, int64_t timeUs = -1); 76 int64_t delayUsFromCurrentTime(int64_t fireTimeUs);
|
/frameworks/av/include/common_time/ |
D | cc_helper.h | 49 status_t commonTimeToLocalTime(int64_t commonTime, int64_t* localTime); 50 status_t localTimeToCommonTime(int64_t localTime, int64_t* commonTime); 51 status_t getCommonTime(int64_t* commonTime); 53 status_t getLocalTime(int64_t* localTime);
|
/frameworks/av/media/libmediaplayerservice/ |
D | VideoFrameScheduler.cpp | 60 static const int64_t kMultiplesThresholdDiv = 4; // 25% 61 static const int64_t kReFitThresholdDiv = 100; // 1% 113 int64_t a, b, err; 128 int64_t *a, int64_t *b, int64_t *err) { in fit() 133 int64_t sumX = 0; in fit() 134 int64_t sumXX = 0; in fit() 135 int64_t sumXY = 0; in fit() 136 int64_t sumYY = 0; in fit() 137 int64_t sumY = 0; in fit() 139 int64_t x = 0; // x usually is in [0..numSamplesToUse) in fit() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | AnotherPacketSource.cpp | 36 const int64_t kNearEOSMarkUs = 2000000ll; // 2 secs 172 int64_t timeUs; in read() 206 int64_t lastQueuedTimeUs; in queueAccessUnit() 223 int64_t latestTimeUs = 0; in queueAccessUnit() 296 int64_t AnotherPacketSource::getBufferedDurationUs(status_t *finalResult) { in getBufferedDurationUs() 301 int64_t AnotherPacketSource::getBufferedDurationUs_l(status_t *finalResult) { in getBufferedDurationUs_l() 308 int64_t time1 = -1; in getBufferedDurationUs_l() 309 int64_t time2 = -1; in getBufferedDurationUs_l() 310 int64_t durationUs = 0; in getBufferedDurationUs_l() 316 int64_t timeUs; in getBufferedDurationUs_l() [all …]
|
/frameworks/native/services/sensorservice/ |
D | SensorInterface.h | 40 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0; 43 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs, in batch() 44 int64_t maxBatchReportLatencyNs) { in batch() 76 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs, 77 int64_t maxBatchReportLatencyNs); 78 virtual status_t setDelay(void* ident, int handle, int64_t ns);
|
/frameworks/av/include/media/nbaio/ |
D | MonoPipe.h | 75 virtual status_t getNextWriteTimestamp(int64_t *timestamp); 111 void updateFrontAndNRPTS(int32_t newFront, int64_t newNextRdPTS); 112 void observeFrontAndNRPTS(int32_t *outFront, int64_t *outNextRdPTS); 125 volatile int64_t mNextRdPTS; // written by the reader with updateFrontAndNRPTS, observed by 132 int64_t offsetTimestampByAudioFrames(int64_t ts, size_t audFrames);
|