Home
last modified time | relevance | path

Searched refs:delta (Results 1 – 25 of 28) sorted by relevance

12

/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_stillness_detect.c62 float delta = 0; in gyroStillDetUpdate() local
110 delta = (x - gyro_still_det->assumed_mean_x); in gyroStillDetUpdate()
111 gyro_still_det->win_mean_x += delta; in gyroStillDetUpdate()
112 gyro_still_det->acc_var_x += delta * delta; in gyroStillDetUpdate()
114 delta = (y - gyro_still_det->assumed_mean_y); in gyroStillDetUpdate()
115 gyro_still_det->win_mean_y += delta; in gyroStillDetUpdate()
116 gyro_still_det->acc_var_y += delta * delta; in gyroStillDetUpdate()
118 delta = (z - gyro_still_det->assumed_mean_z); in gyroStillDetUpdate()
119 gyro_still_det->win_mean_z += delta; in gyroStillDetUpdate()
120 gyro_still_det->acc_var_z += delta * delta; in gyroStillDetUpdate()
/device/google/contexthub/firmware/os/algos/
Dap_hub_sync.c47 int64_t delta = apTime - hubTime; in apHubSyncAddDelta() local
58 sync->windowMax = delta; in apHubSyncAddDelta()
63 sync->windowMax = (delta > sync->windowMax) ? delta : sync->windowMax; in apHubSyncAddDelta()
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtx/
Dmatrix_interpolation.inl120 T const delta argument
128 tmat4x4<T, P> out = axisAngleMatrix(dltAxis, dltAngle * delta) * m1rot;
129 out[3][0] = m1[3][0] + delta * (m2[3][0] - m1[3][0]);
130 out[3][1] = m1[3][1] + delta * (m2[3][1] - m1[3][1]);
131 out[3][2] = m1[3][2] + delta * (m2[3][2] - m1[3][2]);
Dmatrix_interpolation.hpp56 T const delta);
/device/linaro/dragonboard/qcom/qrtr/src/
Dwaiter.c220 uint64_t delta; in waiter_wait() local
222 delta = term_time - now; in waiter_wait()
223 if (delta > ((1u << 31) - 1)) in waiter_wait()
224 delta = ((1u << 31) - 1); in waiter_wait()
225 rc = pollset_wait(ps, (int)delta); in waiter_wait()
/device/generic/goldfish/audio/
Ddevice_port_sink.cpp96 auto delta = presentedFrames - mReceivedFrames; in getPresentationPosition() local
97 presentedFrames -= delta; in getPresentationPosition()
99 nowNs -= delta * 1000000000 / mSampleRateHz; in getPresentationPosition()
280 auto delta = presentedFrames - mReceivedFrames; in getPresentationPosition() local
281 presentedFrames -= delta; in getPresentationPosition()
283 nowNs -= delta * 1000000000 / mSampleRateHz; in getPresentationPosition()
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtc/
Dmatrix_transform.inl492 …GLM_FUNC_QUALIFIER tmat4x4<T, P> pickMatrix(tvec2<T, P> const & center, tvec2<T, P> const & delta,… argument
494 assert(delta.x > static_cast<T>(0) && delta.y > static_cast<T>(0));
497 if(!(delta.x > static_cast<T>(0) && delta.y > static_cast<T>(0)))
501 …tic_cast<T>(viewport[2]) - static_cast<T>(2) * (center.x - static_cast<T>(viewport[0]))) / delta.x,
502 …tic_cast<T>(viewport[3]) - static_cast<T>(2) * (center.y - static_cast<T>(viewport[1]))) / delta.y,
507 …ale(Result, tvec3<T, P>(static_cast<T>(viewport[2]) / delta.x, static_cast<T>(viewport[3]) / delta
Dmatrix_transform.hpp420 tvec2<T, P> const & delta,
/device/google/cuttlefish/host/commands/modem_simulator/
Dpdu_parser.cpp242 int delta = 0; in IntToHexStringTimeZoneDiff() local
245 delta = 8; in IntToHexStringTimeZoneDiff()
248 const int hi = tzdiff_quarter_hour / 10 + delta; in IntToHexStringTimeZoneDiff()
/device/google/contexthub/firmware/os/drivers/window_orientation/
Dwindow_orientation.c317 uint64_t old_reference_time, delta; in addTiltHistoryEntry() local
333 delta = mTask.tilt_reference_time - old_reference_time; in addTiltHistoryEntry()
335 mTask.tilt_history_time[i] = (mTask.tilt_history_time[i] > delta) in addTiltHistoryEntry()
336 ? (mTask.tilt_history_time[i] - delta) : 0; in addTiltHistoryEntry()
/device/generic/vulkan-cereal/stream-servers/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp217 int delta = table[offset];
219 ivec4(_clamp(int(r) + delta), _clamp(int(g) + delta), _clamp(int(b) + delta), 255);
/device/generic/vulkan-cereal/stream-servers/compressedTextureFormats/
Detc.cpp255 int delta = table[offset]; in decode_subblock() local
256 *q++ = clamp(r + delta); in decode_subblock()
257 *q++ = clamp(g + delta); in decode_subblock()
258 *q++ = clamp(b + delta); in decode_subblock()
/device/generic/goldfish-opengl/shared/OpenglCodecCommon/
Detc.cpp255 int delta = table[offset]; in decode_subblock() local
256 *q++ = clamp(r + delta); in decode_subblock()
257 *q++ = clamp(g + delta); in decode_subblock()
258 *q++ = clamp(b + delta); in decode_subblock()
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/GLcommon/
Detc.cpp255 int delta = table[offset]; in decode_subblock() local
256 *q++ = clamp(r + delta); in decode_subblock()
257 *q++ = clamp(g + delta); in decode_subblock()
258 *q++ = clamp(b + delta); in decode_subblock()
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c1902 int64_t delta = getAvgDelta(&mTimeSync); in hostGetTimeDelta() local
1904 if (delta == INT64_MIN) in hostGetTimeDelta()
1907 return delta; in hostGetTimeDelta()
1912 int64_t delta = getAvgDelta(&mTimeSync); in hostGetTime() local
1914 if (!delta || delta == INT64_MIN) in hostGetTime()
1917 return sensorGetTime() + delta; in hostGetTime()
Dseos.c120 static inline uint32_t osTaskAddIoCount(struct Task *task, int32_t delta) in osTaskAddIoCount() argument
122 uint8_t count = atomicAddByte(&task->ioCount, delta); in osTaskAddIoCount()
124 count += delta; // old value is returned, so we add it again in osTaskAddIoCount()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/extensions/
Dsyncstr.h132 CARD64 delta; member
Dsync.h183 XSyncValue delta; member
/device/google/contexthub/util/nanotool/
Dcontexthub.cpp535 auto delta = end_time - start_time; in ReadAppEvents() local
536 timeout_ms -= std::chrono::duration_cast<Milliseconds>(delta).count(); in ReadAppEvents()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXlib.h1068 int delta; /* delta between strings */ member
1080 int delta; /* delta between strings */ member
1107 int delta; member
1114 int delta; member
DXproto.h385 INT8 delta; member
/device/google/coral-sepolicy/vendor/qcom/common/
Dfile.te259 # audio delta files
/device/google/sunfish/
Dinit.hardware.rc289 # Create directory for audio delta files
292 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio
/device/google/trout/tools/tracing/proto/
Dperfetto_trace.proto2606 // When true each TracePacket's timestamp should be interpreted as a delta
6306 // All non-delta-timestamps are absolute CLOCK_MONOTONIC timestamps.
6927 // data size, e.g. through data interning (names, categories, ...) and delta
7003 // Counter values can optionally be encoded in as delta values (positive or
7023 // thread-track BEGIN and END event to capture the cpu time delta of a slice.
7116 // calculate the absolute timestamp value, sum up all delta values of the
7122 // This is a one-off value that does not affect delta timestamp computation
7134 // calculate the absolute timestamp value, sum up all delta values of the
7139 // This is a one-off absolute value that does not affect delta timestamp
7960 // this with ClockSnapshot-based delta encoding instead.
[all …]
/device/google/coral/
Dinit.hardware.rc320 # Create directory for audio delta files
323 mkdir /data/vendor/audio/acdbdata/delta 0770 media audio

12