Home
last modified time | relevance | path

Searched refs:y (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/device/sample/skins/WVGAMedDpi/
Dlayout18 y 0
30 y 142
35 y 142
40 y 142
45 y 53
50 y 106
55 y 53
60 y 53
65 y 81
70 y 71
[all …]
/device/google/contexthub/firmware/lib/libm/
Def_rem_pio2.c99 __int32_t __ieee754_rem_pio2f(float x, float *y) in __ieee754_rem_pio2f() argument
101 __int32_t __ieee754_rem_pio2f(x,y) in __ieee754_rem_pio2f()
102 float x,y[]; in __ieee754_rem_pio2f()
113 {y[0] = x; y[1] = 0; return 0;}
118 y[0] = z - pio2_1t;
119 y[1] = (z-y[0])-pio2_1t;
122 y[0] = z - pio2_2t;
123 y[1] = (z-y[0])-pio2_2t;
129 y[0] = z + pio2_1t;
130 y[1] = (z-y[0])+pio2_1t;
[all …]
Dwf_pow.c24 float powf(float x, float y) /* wrapper powf */ in powf() argument
26 float powf(x,y) /* wrapper powf */ in powf()
27 float x,y; in powf()
31 return __ieee754_powf(x,y);
35 z=__ieee754_powf(x,y);
36 if(_LIB_VERSION == _IEEE_|| isnan(y)) return z;
38 if(y==(float)0.0) {
45 exc.arg2 = (double)y;
59 if(y==(float)0.0) {
66 exc.arg2 = (double)y;
[all …]
Dwf_fmod.c24 float fmodf(float x, float y) /* wrapper fmodf */ in fmodf() argument
26 float fmodf(x,y) /* wrapper fmodf */ in fmodf()
27 float x,y; in fmodf()
31 return __ieee754_fmodf(x,y);
35 z = __ieee754_fmodf(x,y);
36 if(_LIB_VERSION == _IEEE_ ||isnan(y)||isnan(x)) return z;
37 if(y==(float)0.0) {
43 exc.arg2 = (double)y;
64 double fmod(double x, double y) in fmod() argument
66 double fmod(x,y) in fmod()
[all …]
Dsf_sin.c25 float y[2],z=0.0; local
39 n = __ieee754_rem_pio2f(x,y);
41 case 0: return __kernel_sinf(y[0],y[1],1);
42 case 1: return __kernel_cosf(y[0],y[1]);
43 case 2: return -__kernel_sinf(y[0],y[1],1);
45 return -__kernel_cosf(y[0],y[1]);
Dsf_cos.c25 float y[2],z=0.0; local
39 n = __ieee754_rem_pio2f(x,y);
41 case 0: return __kernel_cosf(y[0],y[1]);
42 case 1: return -__kernel_sinf(y[0],y[1],1);
43 case 2: return -__kernel_cosf(y[0],y[1]);
45 return __kernel_sinf(y[0],y[1],1);
Dwf_atan2.c25 float atan2f(float y, float x) /* wrapper atan2f */ in atan2f() argument
27 float atan2f(y,x) /* wrapper atan2 */ in atan2f()
28 float y,x; in atan2f()
31 return __ieee754_atan2f(y,x);
37 double atan2(double y, double x) in atan2() argument
39 double atan2(y,x) in atan2()
40 double y,x; in atan2()
43 return (double) atan2f((float) y, (float) x);
Dkf_rem_pio2.c56 int __kernel_rem_pio2f(float *x, float *y, int e0, int nx, int prec, const __int32_t *ipio2) in __kernel_rem_pio2f() argument
58 int __kernel_rem_pio2f(x,y,e0,nx,prec,ipio2) in __kernel_rem_pio2f()
59 float x[], y[]; int e0,nx,prec; __int32_t ipio2[]; in __kernel_rem_pio2f()
179 y[0] = (ih==0)? fw: -fw;
185 y[0] = (ih==0)? fw: -fw;
188 y[1] = (ih==0)? fw: -fw;
203 y[0] = fq[0]; y[1] = fq[1]; y[2] = fw;
205 y[0] = -fq[0]; y[1] = -fq[1]; y[2] = -fw;
Def_atan2.c32 float __ieee754_atan2f(float y, float x) in __ieee754_atan2f() argument
34 float __ieee754_atan2f(y,x) in __ieee754_atan2f()
35 float y,x; in __ieee754_atan2f()
43 GET_FLOAT_WORD(hy,y);
47 return x+y;
48 if(hx==0x3f800000) return atanf(y); /* x=1.0 */
55 case 1: return y; /* atan(+-0,+anything)=+-0 */
88 else z=atanf(fabsf(y/x)); /* safe to do y/x */
Def_exp.c49 float y,hi,lo,c,t; local
87 else y = one-((lo-(x*c)/((float)2.0-c))-hi);
90 GET_FLOAT_WORD(hy,y);
91 SET_FLOAT_WORD(y,hy+(k<<23)); /* add k to y's exponent */
92 return y;
95 GET_FLOAT_WORD(hy,y);
96 SET_FLOAT_WORD(y,hy+((k+100)<<23)); /* add k to y's exponent */
97 return y*twom100;
/device/google/contexthub/firmware/os/algos/common/math/
Dvec.h50 float x, y, z; member
54 float x, y, z, w; member
58 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument
61 v->y = y; in initVec3()
70 v->y += w->y; in vec3Add()
81 u->y = v->y + w->y; in vec3AddVecs()
90 v->y -= w->y; in vec3Sub()
101 u->y = v->y - w->y; in vec3SubVecs()
109 v->y *= c; in vec3ScalarMul()
117 return v->x * w->x + v->y * w->y + v->z * w->z; in vec3Dot()
[all …]
Dkasa.c19 void kasaAccumulate(struct KasaFit *kasa, float x, float y, float z) { in kasaAccumulate() argument
26 kasa->acc_mean_y = y; in kasaAccumulate()
31 y = y - kasa->acc_mean_y; in kasaAccumulate()
35 float w = x * x + y * y + z * z; in kasaAccumulate()
38 kasa->acc_y += y; in kasaAccumulate()
43 kasa->acc_xy += x * y; in kasaAccumulate()
47 kasa->acc_yy += y * y; in kasaAccumulate()
48 kasa->acc_yz += y * z; in kasaAccumulate()
49 kasa->acc_yw += y * w; in kasaAccumulate()
121 initVec3(&v, out.x, out.y, out.z); in kasaFit()
[all …]
Dquat.c27 q->y = sqrtf(clamp(-Hx + My - Az + 1.0f) * 0.25f); in initQuat()
31 q->y = copysignf(q->y, R->elem[2][0] - R->elem[0][2]); in initQuat()
38 float q2 = q->y; in quatToMatrix()
64 q->y = -q->y; in quatNormalize()
70 1.0f / sqrtf(q->x * q->x + q->y * q->y + q->z * q->z + q->w * q->w); in quatNormalize()
73 q->y *= invNorm; in quatNormalize()
/device/google/contexthub/firmware/os/cpu/cortexm4/inc/cpu/cmsis/
Darm_math.h502 q31_t y) in mult32x64() argument
504 return ((((q63_t) (x & 0x00000000FFFFFFFF) * y) >> 32) + in mult32x64()
505 (((q63_t) (x >> 32) * y))); in mult32x64()
647 uint32_t y) in __SSAT() argument
653 for (i = 0; i < (y - 1); i++) in __SSAT()
695 q31_t y) in __QADD8() argument
702 s = (q7_t) y; in __QADD8()
705 s = __SSAT(((q31_t) (((x << 16) >> 24) + ((y << 16) >> 24))), 8); in __QADD8()
706 t = __SSAT(((q31_t) (((x << 8) >> 24) + ((y << 8) >> 24))), 8); in __QADD8()
707 u = __SSAT(((q31_t) ((x >> 24) + (y >> 24))), 8); in __QADD8()
[all …]
/device/google/contexthub/firmware/os/inc/
Dtoolchain.h66 #define SET_INTERNAL_LOCATION(x, y) _Pragma((x, y)) __root argument
68 #define SET_INTERNAL_LOCATION_ATTRIBUTES(x, y) argument
70 #define SET_EXTERNAL_APP_ATTRIBUTES(x, y, z) argument
72 #define SET_EXTERNAL_APP_VERSION(x, y, z) argument
109 #define SET_INTERNAL_LOCATION(x, y)
111 #define SET_INTERNAL_LOCATION_ATTRIBUTES(x, y) __attribute__((x,y))
113 #define SET_EXTERNAL_APP_ATTRIBUTES(x, y, z) __attribute__((x, y, z))
115 #define SET_EXTERNAL_APP_VERSION(x, y, z) __attribute__((x, y, z))
/device/google/contexthub/firmware/os/algos/
Dfusion.c207 findOrthogonalVector(up.x, up.y, up.z, &east.x, &east.y, &east.z); in fusion_init_complete()
239 out->elem[2][0] = -p->y; in matrixCross()
240 out->elem[0][2] = p->y; in matrixCross()
314 O.elem[3][1] = -psi.y; in fusionPredict()
319 O.elem[1][3] = psi.y; in fusionPredict()
348 fusion->x0.y = -fusion->x0.y; in fusionPredict()
424 F[0].x = q->w; F[1].x = -q->z; F[2].x = q->y; in getF()
425 F[0].y = q->z; F[1].y = q->w; F[2].y = -q->x; in getF()
426 F[0].z = -q->y; F[1].z = q->x; F[2].z = q->w; in getF()
427 F[0].w = -q->x; F[1].w = -q->y; F[2].w = -q->z; in getF()
[all …]
/device/google/cuttlefish/host/libs/wayland/
Dwayland_compositor.cpp40 int32_t y, in region_add() argument
46 << " y=" << y in region_add()
52 region->y = y; in region_add()
60 int32_t y, in region_subtract() argument
66 << " y=" << y in region_subtract()
88 int32_t y) { in surface_attach() argument
93 << " y=" << y; in surface_attach()
101 int32_t y, in surface_damage() argument
107 << " y=" << y in surface_damage()
163 int32_t y, in surface_damage_buffer() argument
[all …]
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.c67 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
70 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in moc_eigen_test()
73 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in moc_eigen_test()
142 float x, float y, float z) { in magCalUpdate() argument
146 diversityCheckerUpdate(&moc->diversity_checker, x, y, z); in magCalUpdate()
149 kasaAccumulate(&moc->kasa, x, y, z); in magCalUpdate()
170 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate()
179 if (diversityCheckerNormQuality(&moc->diversity_checker, bias.x, bias.y, in magCalUpdate()
193 CAL_ENCODE_FLOAT(bias.x, 3), CAL_ENCODE_FLOAT(bias.y, 3), in magCalUpdate()
212 moc->y_bias = bias.y; in magCalUpdate()
[all …]
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/
Dmath_private.h463 cpackf(float x, float y) in cpackf() argument
468 IMAGPART(z) = y; in cpackf()
473 cpack(double x, double y) in cpack() argument
478 IMAGPART(z) = y; in cpack()
483 cpackl(long double x, long double y) in cpackl() argument
488 IMAGPART(z) = y; in cpackl()
641 #define RETURN2P(x, y) do { \ argument
642 DOPRINT_END2((x), (y)); \
643 RETURNF((x) + (y)); \
645 #define RETURN2PI(x, y) do { \ argument
[all …]
/device/generic/goldfish/camera/
Djpeg.cpp49 const uint8_t* y[kJpegMCUSize]; in compressYUVImplPixelsFast() local
52 const uint8_t** planes[] = { y, cb, cr }; in compressYUVImplPixelsFast()
66 y[i] = static_cast<const uint8_t*>(image.y) + nscli * ystride; in compressYUVImplPixelsFast()
91 uint8_t* y[kJpegMCUSize]; in compressYUVImplPixelsSlow() local
94 uint8_t** planes[] = { y, cb, cr }; in compressYUVImplPixelsSlow()
99 y[i] = y0; in compressYUVImplPixelsSlow()
127 memcpy(y[i], static_cast<const uint8_t*>(image.y) + nscli * ystride, width); in compressYUVImplPixelsSlow()
243 static_cast<const uint8_t*>(srcYCbCr.y), srcYCbCr.ystride, in resizeYUV()
247 static_cast<uint8_t*>(dstYCbCr.y), dstYCbCr.ystride, in resizeYUV()
333 if (!thumbmnail.y) { in compressYUV()
/device/google/cuttlefish/host/frontend/webrtc/html_client/js/
Dtouch.js26 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, t… property
36 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, f… property
46 …sendEventUpdate(dc, e.target, [{x: e.offsetX, y: e.offsetY, id: e.pointerId}], scaleCoordinates, t… property
56 function scaleDisplayCoordinates(deviceDisplayElement, x, y) { argument
64 return [Math.trunc(x * scaling), Math.trunc(y * scaling)];
68 return (touchpadElement, x, y) => {
71 return [Math.trunc(x * scaling), Math.trunc(y * scaling)];
86 const [x_scaled, y_scaled] = scaleCoordinates(touchInputElement, e.x, e.y);
/device/google/contexthub/firmware/os/drivers/orientation/
Dorientation.c92 float x, y, z; member
249 mTask.samples[index][w].y = curr_sample->y + weight_next * in fillSamples()
250 (next_sample->y - curr_sample->y); in fillSamples()
299 static bool addSample(struct FusionSensor *mSensor, uint64_t time, float x, float y, float z) in addSample() argument
329 sample->y = y; in addSample()
358 attitude.y, in updateOutput()
372 g.y, in updateOutput()
387 mTask.samples[0][last_accel_sample_index].y, in updateOutput()
393 a.y - g.y, in updateOutput()
407 float y = atan2f(-R.elem[1][2], R.elem[2][2]) * kRad2deg; in updateOutput() local
[all …]
/device/google/contexthub/firmware/os/algos/calibration/accelerometer/
Daccel_cal.c238 uint64_t sample_time_nanos, float x, float y, in accelStillnessDetection() argument
247 asd->acc_y += y; in accelStillnessDetection()
248 asd->acc_yy += y * y; in accelStillnessDetection()
399 float evmax = (eigenvals.x > eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
402 float evmin = (eigenvals.x < eigenvals.y) ? eigenvals.x : eigenvals.y; in accEigenTest()
405 float eigenvals_sum = eigenvals.x + eigenvals.y + eigenvals.z; in accEigenTest()
414 agd->e_y = eigenvals.y; in accEigenTest()
421 bool accelCalUpdateBias(struct AccelCal *acc, float *x, float *y, float *z) { in accelCalUpdateBias() argument
423 *y = acc->y_bias_new; in accelCalUpdateBias()
442 void accelCalBiasSet(struct AccelCal *acc, float x, float y, float z) { in accelCalBiasSet() argument
[all …]
/device/google/cuttlefish/guest/commands/sensor_injection/
Dmain.cpp88 vec3.y = 9.2 * std::cos(rad); in InjectOrientation()
110 void InjectAccelerometer(double x, double y, double z) { in InjectAccelerometer() argument
119 vec3.y = y; in InjectAccelerometer()
130 void InjectMagnetometer(double x, double y, double z) { in InjectMagnetometer() argument
139 vec3.y = y; in InjectMagnetometer()
150 void InjectGyroscope(double x, double y, double z){ in InjectGyroscope() argument
159 vec3.y = y; in InjectGyroscope()
/device/linaro/dragonboard/shared/utils/rmtfs/
Dutil.h4 #define MIN(x, y) ((x) < (y) ? (x) : (y)) argument
5 #define MAX(x, y) ((x) > (y) ? (x) : (y)) argument

12345678910>>...12