Searched refs:clamp (Results 1 – 25 of 98) sorted by relevance
1234
/device/google/contexthub/firmware/os/algos/common/math/ |
D | quat.c | 19 static float clamp(float x) { return x < 0.0f ? 0.0f : x; } in clamp() function 26 q->x = sqrtf(clamp(Hx - My - Az + 1.0f) * 0.25f); in initQuat() 27 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f); in initQuat() 28 q->z = sqrtf(clamp(-Hx - My + Az + 1.0f) * 0.25f); in initQuat() 29 q->w = sqrtf(clamp(Hx + My + Az + 1.0f) * 0.25f); in initQuat()
|
/device/generic/goldfish/camera/ |
D | Converters.h | 133 clamp(int x) in clamp() function 192 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8) 193 #define YUV2GO(C, D, E) clamp((298 * (C) - 100 * (D) - 208 * (E) + 128) >> 8) 194 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8) 199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) 200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8) 201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)
|
D | EmulatedCameraDevice.h | 397 return static_cast<uint8_t>(clamp(static_cast<float>(inputY) * in changeExposure()
|
/device/google/cuttlefish_common/guest/hals/camera/ |
D | Converters.h | 148 static __inline__ int clamp(int x) { in clamp() function 206 #define YUV2RO(C, D, E) clamp((298 * (C) + 409 * (E) + 128) >> 8) 207 #define YUV2GO(C, D, E) clamp((298 * (C)-100 * (D)-208 * (E) + 128) >> 8) 208 #define YUV2BO(C, D, E) clamp((298 * (C) + 516 * (D) + 128) >> 8) 213 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) 215 clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8) 216 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8)
|
D | EmulatedCameraDevice.h | 317 clamp(static_cast<float>(inputY) * mExposureCompensation)); in changeExposure()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/decimaltestdata/ |
D | clamp.decTest | 2 -- clamp.decTest -- clamped exponent tests (format-independent) -- 31 clamp: 1 207 clamp: 0 210 clamp: 1
|
D | class.decTest | 28 clamp: 1 82 clamp: 1
|
D | testall.decTest | 28 dectest: clamp
|
D | dqClass.decTest | 25 clamp: 1
|
D | ddCopyNegate.decTest | 27 clamp: 1
|
D | ddCopy.decTest | 27 clamp: 1
|
D | ddClass.decTest | 27 clamp: 1
|
D | dqCopy.decTest | 24 clamp: 1
|
D | dqCopyNegate.decTest | 24 clamp: 1
|
D | dqMinus.decTest | 24 clamp: 1
|
D | ddMinus.decTest | 27 clamp: 1
|
D | dqPlus.decTest | 24 clamp: 1
|
D | ddPlus.decTest | 27 clamp: 1
|
D | dqCopyAbs.decTest | 24 clamp: 1
|
D | ddCopyAbs.decTest | 27 clamp: 1
|
D | ddAbs.decTest | 26 clamp: 1
|
D | dqAbs.decTest | 23 clamp: 1
|
D | ddNextMinus.decTest | 27 clamp: 1
|
D | dqNextMinus.decTest | 24 clamp: 1
|
D | dqNextPlus.decTest | 24 clamp: 1
|
1234