Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/frameworks/av/include/media/stagefright/
DMediaClock.h32 void setStartingTimeMedia(int64_t startingTimeMediaUs);
38 int64_t anchorTimeMediaUs,
39 int64_t anchorTimeRealUs,
40 int64_t maxTimeMediaUs = INT64_MAX);
42 void updateMaxTimeMedia(int64_t maxTimeMediaUs);
50 int64_t realUs,
51 int64_t *outMediaUs,
55 status_t getRealTimeFor(int64_t targetMediaUs, int64_t *outRealUs) const;
62 int64_t realUs,
63 int64_t *outMediaUs,
[all …]
DMPEG4Writer.h56 void writeInt64(int64_t x);
98 int64_t mStartTimestampUs;
112 void setStartTimestampUs(int64_t timeUs);
113 int64_t getStartTimestampUs(); // Not const
116 int64_t estimateMoovBoxSize(int32_t bitRate);
120 int64_t mTimeStampUs; // Timestamp of the 1st sample
126 Chunk(Track *track, int64_t timeUs, List<MediaBuffer *> samples) in Chunk()
136 int64_t mPrevChunkTimestampUs;
139 int64_t mMaxInterChunkDurUs;
170 int64_t mDriftTimeUs;
[all …]
DAudioPlayer.h60 status_t seekTo(int64_t time_us);
75 int64_t mLatencyUs;
79 int64_t mNumFramesPlayed;
80 int64_t mNumFramesPlayedSysTimeUs;
82 int64_t mPositionTimeMediaUs;
83 int64_t mPositionTimeRealUs;
88 int64_t mSeekTimeUs;
99 int64_t mStartPosUs;
114 int64_t getOutputPlayPositionUs_l();
DMediaSync.h97 size_t sizeInBytes, int64_t presentationTimeUs);
131 status_t getPlayTimeForPendingAudioFrames(int64_t *outTimeUs);
204 int64_t mNumFramesWritten;
207 int64_t mNextBufferItemMediaUs;
236 int64_t getRealTime(int64_t mediaTimeUs, int64_t nowUs);
237 int64_t getDurationIfPlayedAtNativeSampleRate_l(int64_t numFrames);
238 int64_t getPlayedOutAudioDurationMedia_l(int64_t nowUs);
DCameraSourceTimeLapse.h48 int64_t timeBetweenTimeLapseFrameCaptureUs,
69 int64_t mTimeBetweenTimeLapseVideoFramesUs;
72 int64_t mLastTimeLapseFrameRealTimestampUs;
125 int64_t timeBetweenTimeLapseFrameCaptureUs,
138 virtual bool skipCurrentFrame(int64_t timestampUs);
145 virtual void dataCallbackTimestamp(int64_t timestampUs, int32_t msgType,
153 virtual void recordingFrameHandleCallbackTimestamp(int64_t timestampUs,
174 bool skipFrameAndModifyTimeStamp(int64_t *timestampUs);
DNuMediaExtractor.h72 int64_t timeUs,
79 status_t getSampleTime(int64_t *sampleTimeUs);
82 bool getCachedDuration(int64_t *durationUs, bool *eos) const;
101 int64_t mSampleTimeUs;
114 int64_t mTotalBitrate; // in bits/sec
115 int64_t mDurationUs;
118 int64_t seekTimeUs = -1ll,
124 bool getTotalBitrate(int64_t *bitRate) const;
DAudioSource.h87 int64_t mStartTimeUs;
89 int64_t mPrevSampleTimeUs;
90 int64_t mFirstSampleTimeUs;
91 int64_t mInitialReadTimeUs;
92 int64_t mNumFramesReceived;
93 int64_t mNumClientOwnedBuffers;
105 void queueInputBuffer_l(MediaBuffer *buffer, int64_t timeUs);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DGenericSource.h50 status_t setDataSource(int fd, int64_t offset, int64_t length);
69 virtual status_t getDuration(int64_t *durationUs);
73 virtual status_t selectTrack(size_t trackIndex, bool select, int64_t timeUs);
74 virtual status_t seekTo(int64_t seekTimeUs);
125 int64_t durationUs,
126 int64_t bitrate,
139 void updateQueuedTime(bool isAudio, int64_t timeUs);
144 void updateDequeuedBufferTime(int64_t mediaUs);
159 int64_t mDurationUs;
160 int64_t mBitrate;
[all …]
DNuPlayerRenderer.h73 status_t getCurrentPosition(int64_t *mediaUs);
74 int64_t getVideoLateByUs();
135 static const int64_t kMinPositionUpdateDelayUs;
162 int64_t mAudioFirstAnchorTimeMediaUs;
163 int64_t mAnchorTimeMediaUs;
164 int64_t mAnchorNumFramesWritten;
165 int64_t mVideoLateByUs;
176 int64_t mPauseDrainAudioAllowedUs; // time when we can drain/deliver audio in pause mode.
184 int64_t mNextAudioClockUpdateTimeUs;
186 int64_t mLastAudioMediaTimeUs;
[all …]
DRTSPSource.h51 virtual status_t getDuration(int64_t *durationUs);
52 virtual status_t seekTo(int64_t seekTimeUs);
82 static const int64_t kPrepareMarkUs;
83 static const int64_t kUnderflowMarkUs;
84 static const int64_t kOverflowMarkUs;
85 static const int64_t kStartServerMarkUs;
92 int64_t mNormalPlaytimeUs;
122 int64_t mEOSTimeoutAudio;
123 int64_t mEOSTimeoutVideo;
134 void performSeek(int64_t seekTimeUs);
[all …]
/frameworks/av/media/libstagefright/
DMediaClock.cpp30 static const int64_t kAnchorFluctuationAllowedUs = 10000ll;
43 void MediaClock::setStartingTimeMedia(int64_t startingTimeMediaUs) { in setStartingTimeMedia()
55 int64_t anchorTimeMediaUs, in updateAnchor()
56 int64_t anchorTimeRealUs, in updateAnchor()
57 int64_t maxTimeMediaUs) { in updateAnchor()
64 int64_t nowUs = ALooper::GetNowUs(); in updateAnchor()
65 int64_t nowMediaUs = in updateAnchor()
76 int64_t oldNowMediaUs = in updateAnchor()
87 void MediaClock::updateMaxTimeMedia(int64_t maxTimeMediaUs) { in updateMaxTimeMedia()
100 int64_t nowUs = ALooper::GetNowUs(); in setPlaybackRate()
[all …]
DVideoFrameScheduler.cpp58 static const int64_t kErrorThreshold = (1 << (kPrecision * 2)) / 10;
59 static const int64_t kMultiplesThresholdDiv = 4; // 25%
60 static const int64_t kReFitThresholdDiv = 100; // 1%
112 int64_t a, b, err;
127 int64_t *a, int64_t *b, int64_t *err) { in fit()
132 int64_t sumX = 0; in fit()
133 int64_t sumXX = 0; in fit()
134 int64_t sumXY = 0; in fit()
135 int64_t sumYY = 0; in fit()
136 int64_t sumY = 0; in fit()
[all …]
DMediaSync.cpp37 static const int64_t kMaxAllowedVideoLateTimeUs = 40000ll;
258 status_t MediaSync::getPlayTimeForPendingAudioFrames(int64_t *outTimeUs) { in getPlayTimeForPendingAudioFrames()
275 int64_t numPendingFrames = mNumFramesWritten - numFramesPlayed; in getPlayTimeForPendingAudioFrames()
288 *outTimeUs = (int64_t)timeUs; in getPlayTimeForPendingAudioFrames()
295 size_t sizeInBytes, int64_t presentationTimeUs) { in updateQueuedAudioData()
307 int64_t numFrames = sizeInBytes / mAudioTrack->frameSize(); in updateQueuedAudioData()
308 int64_t maxMediaTimeUs = presentationTimeUs in updateQueuedAudioData()
311 int64_t nowUs = ALooper::GetNowUs(); in updateQueuedAudioData()
312 int64_t nowMediaUs = presentationTimeUs in updateQueuedAudioData()
318 int64_t oldRealTime = -1; in updateQueuedAudioData()
[all …]
/frameworks/av/media/libstagefright/httplive/
DLiveSession.h75 int64_t calculateMediaTimeUs(int64_t firstTimeUs, int64_t timeUs, int32_t discontinuitySeq);
89 status_t seekTo(int64_t timeUs);
91 status_t getDuration(int64_t *durationUs) const;
135 static const int64_t kUpSwitchMarkUs;
136 static const int64_t kDownSwitchMarkUs;
137 static const int64_t kUpSwitchMarginUs;
138 static const int64_t kResumeThresholdUs;
141 static const int64_t kReadyMarkUs;
142 static const int64_t kPrepareMarkUs;
143 static const int64_t kUnderflowMarkUs;
[all …]
DPlaylistFetcher.h37 static const int64_t kMinBufferedDurationUs;
39 static const int64_t kFetcherResumeThreshold;
70 int64_t startTimeUs = -1ll, // starting timestamps
71 int64_t segmentStartTimeUs = -1ll, // starting position within playlist
109 static const int64_t kMaxMonitorDelayUs;
126 int64_t mStartTimeUs;
131 int64_t mSegmentStartTimeUs;
142 int64_t mLastPlaylistFetchTimeUs;
143 int64_t mPlaylistTimeUs;
151 int64_t mNextPTSTimeUs;
[all …]
/frameworks/av/media/libstagefright/omx/
DGraphicBufferSource.h123 status_t setRepeatPreviousFrameDelayUs(int64_t repeatAfterUs);
132 status_t setMaxTimestampGapUs(int64_t maxGapUs);
136 status_t setInputBufferTimeOffset(int64_t timeOffsetUs);
142 int64_t mTimePerFrameUs; // the time (us) between two frames for playback
143 int64_t mTimePerCaptureUs; // the time (us) between two frames for capture
153 void setSkipFramesBeforeUs(int64_t startTimeUs);
253 int64_t getTimestamp(const BufferItem &item);
312 KeyedVector<int64_t, int64_t> mOriginalTimeUs;
313 int64_t mMaxTimestampGapUs;
314 int64_t mPrevOriginalTimeUs;
[all …]
/frameworks/base/libs/hwui/
DFrameInfo.h72 UiFrameInfoBuilder(int64_t* buffer) : mBuffer(buffer) { in UiFrameInfoBuilder()
73 memset(mBuffer, 0, UI_THREAD_FRAME_INFO_SIZE * sizeof(int64_t)); in UiFrameInfoBuilder()
94 inline int64_t& set(FrameInfoIndex index) { in set()
98 int64_t* mBuffer;
103 void importUiThreadInfo(int64_t* info);
125 const int64_t* data() const { in data()
129 inline int64_t operator[](FrameInfoIndex index) const {
133 inline int64_t operator[](int index) const {
138 inline int64_t duration(FrameInfoIndex start, FrameInfoIndex end) const { in duration()
139 int64_t endtime = get(end); in duration()
[all …]
/frameworks/base/libs/common_time/
Ddiag_thread.h37 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 …]
Dcommon_clock.h34 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);
Dclock_recovery.h42 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;
117 int64_t slew_change_end_time_;
Dcommon_clock.cpp68 status_t CommonClock::localToCommon(int64_t local, int64_t *common_out) const { in localToCommon()
80 status_t CommonClock::commonToLocal(int64_t common, int64_t *local_out) const { in commonToLocal()
92 int64_t CommonClock::localDurationToCommonDuration(int64_t localDur) const { in localDurationToCommonDuration()
93 int64_t ret; in localDurationToCommonDuration()
98 void CommonClock::setBasis(int64_t local, int64_t common) { in setBasis()
114 status_t CommonClock::setSlew(int64_t change_time, int32_t ppm) { in setSlew()
117 int64_t new_local_basis; in setSlew()
118 int64_t new_common_basis; in setSlew()
/frameworks/native/opengl/libagl/
Dmatrix.h103 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/include/common_time/
Dcc_helper.h49 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/native/services/sensorservice/
DSensorInterface.h37 virtual status_t setDelay(void* ident, int handle, int64_t ns) = 0;
38 virtual status_t batch(void* ident, int handle, int /*flags*/, int64_t samplingPeriodNs,
39 int64_t maxBatchReportLatencyNs) = 0;
54 virtual status_t batch(void* ident, int handle, int, int64_t samplingPeriodNs, in batch()
55 int64_t maxBatchReportLatencyNs) override { in batch()
86 virtual status_t batch(void* ident, int handle, int flags, int64_t samplingPeriodNs,
87 int64_t maxBatchReportLatencyNs) override;
88 virtual status_t setDelay(void* ident, int handle, int64_t ns) override;
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.h61 virtual status_t setOutputFile(int fd, int64_t offset, int64_t length);
110 int64_t mMaxFileSizeBytes;
111 int64_t mMaxFileDurationUs;
112 int64_t mTrackEveryTimeDurationUs;
121 int64_t mTimeBetweenCaptureUs;
129 int64_t mPauseStartTimeUs;
130 int64_t mTotalPausedDurationUs;
178 status_t setParamTrackTimeStatus(int64_t timeDurationUs);
181 status_t setParamMaxFileDurationUs(int64_t timeUs);
182 status_t setParamMaxFileSizeBytes(int64_t bytes);
[all …]

12345678910>>...25