Home
last modified time | relevance | path

Searched refs:nsecs_t (Results 1 – 25 of 48) sorted by relevance

12

/device/generic/goldfish/camera/fake-pipeline2/
DSensor.h132 bool waitForVSync(nsecs_t reltime);
138 bool waitForNewFrame(nsecs_t reltime,
139 nsecs_t *captureTime);
151 nsecs_t timestamp) = 0;
163 static const nsecs_t kExposureTimeRange[2];
164 static const nsecs_t kFrameDurationRange[2];
165 static const nsecs_t kMinVerticalBlank;
190 static const nsecs_t kRowReadoutTime;
213 nsecs_t mCaptureTime;
218 nsecs_t mStartupTime;
[all …]
DSensor.cpp44 const nsecs_t Sensor::kExposureTimeRange[2] =
46 const nsecs_t Sensor::kFrameDurationRange[2] =
49 const nsecs_t Sensor::kMinVerticalBlank = 10000L;
83 const nsecs_t Sensor::kRowReadoutTime =
184 bool Sensor::waitForVSync(nsecs_t reltime) { in waitForVSync()
197 bool Sensor::waitForNewFrame(nsecs_t reltime, in waitForNewFrame()
198 nsecs_t *captureTime) { in waitForNewFrame()
274 nsecs_t captureTime = 0; in threadLoop()
276 nsecs_t startRealTime = systemTime(); in threadLoop()
279 nsecs_t simulatedTime = startRealTime; in threadLoop()
[all …]
DJpegCompressor.h69 bool waitForDone(nsecs_t timeout);
DScene.h64 void calculateScene(nsecs_t time);
/device/generic/goldfish/camera/
DEmulatedFakeCamera2.h192 static const nsecs_t kWaitPerLoop = 10000000L; // 10 ms
233 bool waitForReady(nsecs_t timeout);
277 nsecs_t mJpegTimestamp;
301 static const nsecs_t kControlCycleDelay;
302 static const nsecs_t kMinAfDuration;
303 static const nsecs_t kMaxAfDuration;
308 static const nsecs_t kMinAeDuration;
309 static const nsecs_t kMaxAeDuration;
310 static const nsecs_t kMinPrecaptureAeDuration;
311 static const nsecs_t kMaxPrecaptureAeDuration;
[all …]
DEmulatedFakeCamera3.h126 void onSensorEvent(uint32_t frameNumber, Event e, nsecs_t timestamp);
219 static const nsecs_t kWaitPerLoop = 10000000L; // 10 ms
220 static const nsecs_t kMaxWaitLoops = 1000;
250 static const nsecs_t kNormalExposureTime;
251 static const nsecs_t kFacePriorityExposureTime;
281 nsecs_t mAeCurrentExposureTime;
282 nsecs_t mAeTargetExposureTime;
DEmulatedFakeCameraDevice.h136 nsecs_t mLastRedrawn;
173 static const nsecs_t mRedrawAfter = 15000000LL;
177 static const nsecs_t mRotateFreq = 3000000000LL;
180 nsecs_t mLastRotatedAt;
DCallbackNotifier.h161 nsecs_t timestamp,
194 bool isNewVideoFrameTime(nsecs_t timestamp);
218 nsecs_t mLastFrameTimestamp;
221 nsecs_t mFrameRefreshFreq;
DPreviewWindow.h103 nsecs_t timestamp,
DEmulatedFakeCamera2.cpp1141 bool EmulatedFakeCamera2::ReadoutThread::waitForReady(nsecs_t timeout) { in waitForReady()
1213 static const nsecs_t kWaitPerLoop = 10000000L; // 10 ms in threadLoop()
1255 nsecs_t captureTime; in threadLoop()
1712 const nsecs_t EmulatedFakeCamera2::ControlThread::kControlCycleDelay = 100 * MSEC;
1713 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAfDuration = 500 * MSEC;
1714 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAfDuration = 900 * MSEC;
1719 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinAeDuration = 500 * MSEC;
1720 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxAeDuration = 2 * SEC;
1721 const nsecs_t EmulatedFakeCamera2::ControlThread::kMinPrecaptureAeDuration = 100 * MSEC;
1722 const nsecs_t EmulatedFakeCamera2::ControlThread::kMaxPrecaptureAeDuration = 400 * MSEC;
[all …]
DCallbackNotifier.cpp210 nsecs_t timestamp, in onNextFrameAvailable()
290 bool CallbackNotifier::isNewVideoFrameTime(nsecs_t timestamp) in isNewVideoFrameTime()
/device/google/contexthub/sensorhal/
Dhubconnection.h53 void queueSetDelay(int handle, nsecs_t delayNs);
57 nsecs_t sampling_period_ns,
58 nsecs_t max_report_latency_ns);
80 static inline uint64_t period_ns_to_frequency_q10(nsecs_t period_ns) { in period_ns_to_frequency_q10()
84 static inline nsecs_t frequency_q10_to_period_ns(uint64_t frequency_q10) { in frequency_q10_to_period_ns()
88 return (nsecs_t)0; in frequency_q10_to_period_ns()
/device/google/dragon/power/
Dtimed_qos_manager.cpp44 nsecs_t currentTime = systemTime(SYSTEM_TIME_MONOTONIC); in threadLoop()
64 void TimedQosManager::requestTimedQos(nsecs_t reltime) in requestTimedQos()
67 nsecs_t targetTime = systemTime() + reltime; in requestTimedQos()
Dtimed_qos_manager.h52 void requestTimedQos(nsecs_t timeout);
62 nsecs_t mTargetTime;
/device/huawei/angler/camera/QCamera2/util/
DQCameraPerf.h46 typedef int64_t nsecs_t; typedef
82 nsecs_t mStartTimeofLock;
DQCameraPerf.cpp207 nsecs_t timeDiff = systemTime() - mStartTimeofLock; in isTimerReset()
265 nsecs_t curElapsedTime = systemTime() - mStartTimeofLock; in lock_acq_timed()
/device/lge/bullhead/camera/QCamera2/util/
DQCameraPerf.h46 typedef int64_t nsecs_t; typedef
82 nsecs_t mStartTimeofLock;
DQCameraPerf.cpp207 nsecs_t timeDiff = systemTime() - mStartTimeofLock; in isTimerReset()
265 nsecs_t curElapsedTime = systemTime() - mStartTimeofLock; in lock_acq_timed()
/device/moto/shamu/camera/QCamera/HAL/core/src/
DQCameraHWI_Record.cpp139 nsecs_t timeStamp = nsecs_t(frame->bufs[0]->ts.tv_sec)*1000000000LL + \ in processRecordFrame()
285 static nsecs_t mLastFpsTime = 0; in debugShowVideoFPS()
288 nsecs_t now = systemTime(); in debugShowVideoFPS()
289 nsecs_t diff = now - mLastFpsTime; in debugShowVideoFPS()
/device/moto/shamu/camera/QCamera2/HAL/test/
Dqcamera_test.h123 virtual void postDataTimestamp(nsecs_t timestamp,
126 virtual void dataCallbackTimestamp(nsecs_t timestamp,
129 virtual void postRecordingFrameHandleTimestamp(nsecs_t timestamp,
131 virtual void recordingFrameHandleCallbackTimestamp(nsecs_t timestamp,
/device/moto/shamu/camera/QCamera2/HAL3/
DQCamera3HWI.h73 typedef int64_t nsecs_t; typedef
164 nsecs_t timestamp, int32_t request_id,
282 nsecs_t timestamp;
330 nsecs_t mLoopBackTimestamp;
/device/huawei/angler/camera/QCamera2/HAL3/
DQCamera3HWI.h75 typedef int64_t nsecs_t; typedef
174 nsecs_t timestamp, int32_t request_id,
341 nsecs_t timestamp;
/device/lge/bullhead/camera/QCamera2/HAL3/
DQCamera3HWI.h75 typedef int64_t nsecs_t; typedef
174 nsecs_t timestamp, int32_t request_id,
341 nsecs_t timestamp;
/device/moto/shamu/camera/QCamera/HAL2/core/src/
DQCameraHWI_Metatags.cpp47 const nsecs_t QCExposureTimeRange[2] =
49 const nsecs_t QCFrameDurationRange[2] =
51 const nsecs_t QCMinVerticalBlank = 10000L;
/device/moto/shamu/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp987 nsecs_t timeStamp; in video_stream_cb_routine()
989 timeStamp = (nsecs_t)((frame->ts.tv_sec * 1000000LL) + frame->ts.tv_nsec) * 1000; in video_stream_cb_routine()
991 timeStamp = nsecs_t(frame->ts.tv_sec) * 1000000000LL + frame->ts.tv_nsec; in video_stream_cb_routine()
1814 static nsecs_t n_vLastFpsTime = 0; in debugShowVideoFPS()
1817 nsecs_t now = systemTime(); in debugShowVideoFPS()
1818 nsecs_t diff = now - n_vLastFpsTime; in debugShowVideoFPS()
1840 static nsecs_t n_pLastFpsTime = 0; in debugShowPreviewFPS()
1843 nsecs_t now = systemTime(); in debugShowPreviewFPS()
1844 nsecs_t diff = now - n_pLastFpsTime; in debugShowPreviewFPS()

12