/device/sample/skins/WVGAMedDpi/ |
D | layout | 18 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/ |
D | ef_rem_pio2.c | 99 __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 …]
|
D | wf_pow.c | 24 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 …]
|
D | wf_fmod.c | 24 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 …]
|
D | sf_cos.c | 25 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);
|
D | sf_sin.c | 25 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]);
|
D | wf_atan2.c | 25 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);
|
D | ef_atan2.c | 32 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 */
|
D | ef_exp.c | 49 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;
|
D | kf_sin.c | 32 float __kernel_sinf(float x, float y, int iy) in __kernel_sinf() argument 34 float __kernel_sinf(x, y, iy) in __kernel_sinf() 35 float x,y; int iy; /* iy=0 if y is zero */ in __kernel_sinf() 48 else return x-((z*(half*y-v*r)-y)-v*S1);
|
/device/google/contexthub/firmware/os/algos/common/math/ |
D | vec.h | 49 float x, y, z; member 53 float x, y, z, w; member 57 static inline void initVec3(struct Vec3 *v, float x, float y, float z) { in initVec3() argument 60 v->y = y; in initVec3() 69 v->y += w->y; in vec3Add() 80 u->y = v->y + w->y; in vec3AddVecs() 89 v->y -= w->y; in vec3Sub() 100 u->y = v->y - w->y; in vec3SubVecs() 108 v->y *= c; in vec3ScalarMul() 116 return v->x * w->x + v->y * w->y + v->z * w->z; in vec3Dot() [all …]
|
D | kasa.c | 18 void kasaAccumulate(struct KasaFit *kasa, float x, float y, float z) { in kasaAccumulate() argument 19 float w = x * x + y * y + z * z; in kasaAccumulate() 22 kasa->acc_y += y; in kasaAccumulate() 27 kasa->acc_xy += x * y; in kasaAccumulate() 31 kasa->acc_yy += y * y; in kasaAccumulate() 32 kasa->acc_yz += y * z; in kasaAccumulate() 33 kasa->acc_yw += y * w; in kasaAccumulate() 105 initVec3(&v, out.x, out.y, out.z); in kasaFit() 111 initVec3(bias, v.x, v.y, v.z); in kasaFit()
|
D | quat.c | 27 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/generic/goldfish/camera/ |
D | Converters.cpp | 44 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() local 45 Y = Y_pos + y_stride * y; in _YUV420SToRGB565() 46 U = U_pos + uv_stride * (y / 2); in _YUV420SToRGB565() 47 V = V_pos + uv_stride * (y / 2); in _YUV420SToRGB565() 73 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() local 74 Y = Y_pos + y_stride * y; in _YUV420SToRGB32() 75 U = U_pos + uv_stride * (y / 2); in _YUV420SToRGB32() 76 V = V_pos + uv_stride * (y / 2); in _YUV420SToRGB32() 173 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB565() local 174 _NVXXToRGB565(y, y + pix_total, y + pix_total + 1, in NV12ToRGB565() [all …]
|
D | Converters.h | 153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV() argument 155 *y = RGB2Y((int)r, (int)g, (int)b); in R8G8B8ToYUV() 162 RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB565ToYUV() argument 164 R8G8B8ToYUV(R16_32(rgb), G16_32(rgb), B16_32(rgb), y, u, v); in RGB565ToYUV() 169 RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB32ToYUV() argument 173 R8G8B8ToYUV(rgb_c.r, rgb_c.g, rgb_c.b, y, u, v); in RGB32ToYUV() 199 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) argument 200 #define YUV2G(y, u, v) clamp((298 * ((y)-16) - 100 * ((u)-128) - 208 * ((v)-128) + 128) >> 8) argument 201 #define YUV2B(y, u, v) clamp((298 * ((y)-16) + 516 * ((u)-128) + 128) >> 8) argument 206 YUVToRGB565(int y, int u, int v) in YUVToRGB565() argument [all …]
|
D | EmulatedFakeCameraDevice.cpp | 280 for(int y = 0; y < mFrameHeight; y++) { in drawCheckerboard() local 283 uint8_t* Y = currentFrame + mYStride * y; in drawCheckerboard() 284 uint8_t* U = frameU + mUVStride * (y / 2); in drawCheckerboard() 285 uint8_t* V = frameV + mUVStride * (y / 2); in drawCheckerboard() 344 int y, in drawSquare() argument 353 const int square_ystop = std::min(mFrameHeight, y + size); in drawSquare() 354 uint8_t* Y_pos = currentFrame + y * mYStride + x; in drawSquare() 360 for (; y < square_ystop; y++) { in drawSquare() 361 const int iUV = (y / 2) * mUVStride + (x / 2) * mUVStep; in drawSquare() 387 for (int y = 0; y < mFrameHeight / 2; ++y) { in drawSolid() local [all …]
|
/device/google/cuttlefish/guest/hals/camera/ |
D | Converters.cpp | 34 for (int y = 0; y < height; y++) { in _YUV420SToRGB565() local 45 if (y & 0x1) { in _YUV420SToRGB565() 61 for (int y = 0; y < height; y++) { in _YUV420SToRGB32() local 72 if (y & 0x1) { in _YUV420SToRGB32() 124 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB565() local 125 _NVXXToRGB565(y, y + pix_total, y + pix_total + 1, in NV12ToRGB565() 131 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv12); in NV12ToRGB32() local 132 _NVXXToRGB32(y, y + pix_total, y + pix_total + 1, in NV12ToRGB32() 138 const uint8_t* y = reinterpret_cast<const uint8_t*>(nv21); in NV21ToRGB565() local 139 _NVXXToRGB565(y, y + pix_total + 1, y + pix_total, in NV21ToRGB565() [all …]
|
D | Converters.h | 169 static __inline__ void R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, in R8G8B8ToYUV() argument 171 *y = RGB2Y((int)r, (int)g, (int)b); in R8G8B8ToYUV() 177 static __inline__ void RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, in RGB565ToYUV() argument 179 R8G8B8ToYUV(R16_32(rgb), G16_32(rgb), B16_32(rgb), y, u, v); in RGB565ToYUV() 183 static __inline__ void RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, in RGB32ToYUV() argument 187 R8G8B8ToYUV(rgb_c.r, rgb_c.g, rgb_c.b, y, u, v); in RGB32ToYUV() 213 #define YUV2R(y, u, v) clamp((298 * ((y)-16) + 409 * ((v)-128) + 128) >> 8) argument 214 #define YUV2G(y, u, v) \ argument 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) argument [all …]
|
/device/linaro/dragonboard/qcom/rmtfs/ |
D | util.h | 4 #define MIN(x, y) ((x) < (y) ? (x) : (y)) argument 5 #define MAX(x, y) ((x) > (y) ? (x) : (y)) argument
|
/device/google/contexthub/firmware/os/inc/ |
D | toolchain.h | 66 #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/variant/nucleo/inc/variant/ |
D | variant.h | 43 #define BMI160_TO_ANDROID_COORDINATE(x, y, z) \ argument 45 float xi = x, yi = y, zi = z; \ 46 x = xi; y = yi; z = zi; \ 49 #define BMM150_TO_ANDROID_COORDINATE(x, y, z) \ argument 51 float xi = x, yi = y, zi = z; \ 52 x = xi; y = -yi; z = -zi; \
|
/device/google/contexthub/firmware/variant/lunchbox/inc/variant/ |
D | variant.h | 50 #define BMI160_TO_ANDROID_COORDINATE(x, y, z) \ argument 52 float xi = x, yi = y, zi = z; \ 53 x = -yi; y = xi; z = zi; \ 56 #define BMM150_TO_ANDROID_COORDINATE(x, y, z) \ argument 58 float xi = x, yi = y, zi = z; \ 59 x = xi; y = -yi; z = -zi; \
|
/device/google/contexthub/firmware/variant/neonkey/inc/variant/ |
D | variant.h | 61 #define BMI160_TO_ANDROID_COORDINATE(x, y, z) \ argument 63 float xi = x, yi = y, zi = z; \ 64 x = xi; y = yi; z = zi; \ 67 #define BMM150_TO_ANDROID_COORDINATE(x, y, z) \ argument 69 float xi = x, yi = y, zi = z; \ 70 x = xi; y = -yi; z = -zi; \
|
/device/google/cuttlefish/host/libs/wayland/ |
D | wayland_compositor.cpp | 39 int32_t y, in region_add() argument 45 << " y=" << y in region_add() 51 region->y = y; in region_add() 59 int32_t y, in region_subtract() argument 65 << " y=" << y in region_subtract() 85 int32_t y) { in surface_attach() argument 90 << " y=" << y; in surface_attach() 98 int32_t y, in surface_damage() argument 104 << " y=" << y in surface_damage() 160 int32_t y, in surface_damage_buffer() argument [all …]
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | e_atan2f.c | 33 __ieee754_atan2f(float y, float x) in __ieee754_atan2f() argument 40 GET_FLOAT_WORD(hy,y); in __ieee754_atan2f() 44 return x+y; in __ieee754_atan2f() 45 if(hx==0x3f800000) return atanf(y); /* x=1.0 */ in __ieee754_atan2f() 52 case 1: return y; /* atan(+-0,+anything)=+-0 */ in __ieee754_atan2f() 88 else z=atanf(fabsf(y/x)); /* safe to do y/x */ in __ieee754_atan2f()
|