/device/generic/vulkan-cereal/include/glm/gtx/ |
D | fast_trigonometry.inl | 8 GLM_FUNC_QUALIFIER vecType<T, P> taylorCos(vecType<T, P> const & x) argument 11 - (x * x) / 2.f 12 + (x * x * x * x) / 24.f 13 - (x * x * x * x * x * x) / 720.f 14 + (x * x * x * x * x * x * x * x) / 40320.f; 18 GLM_FUNC_QUALIFIER T cos_52s(T x) argument 20 T const xx(x * x); 25 GLM_FUNC_QUALIFIER vecType<T, P> cos_52s(vecType<T, P> const & x) argument 27 return detail::functor1<T, T, P, vecType>::call(cos_52s, x); 39 GLM_FUNC_QUALIFIER vecType<T, P> wrapAngle(vecType<T, P> const & x) argument [all …]
|
D | integer.inl | 7 GLM_FUNC_QUALIFIER int pow(int x, int y) argument 11 int result = x; 13 result *= x; 18 GLM_FUNC_QUALIFIER int sqrt(int x) argument 20 if(x <= 1) return x; 22 int NextTrial = x >> 1; 28 NextTrial = (NextTrial + x / NextTrial) >> 1; 37 GLM_FUNC_QUALIFIER unsigned int ones32(unsigned int x) argument 43 x -= ((x >> 1) & 0x55555555); 44 x = (((x >> 2) & 0x33333333) + (x & 0x33333333)); [all …]
|
D | dual_quaternion.inl | 66 T(-0.5) * ( p.x*q.x + p.y*q.y + p.z*q.z), 67 T(+0.5) * ( p.x*q.w + p.y*q.z - p.z*q.y), 68 T(+0.5) * (-p.x*q.z + p.y*q.w + p.z*q.x), 69 T(+0.5) * ( p.x*q.y - p.y*q.x + p.z*q.w)) 168 tvec3<T, P> const real_v3(q.real.x,q.real.y,q.real.z); 169 tvec3<T, P> const dual_v3(q.dual.x,q.dual.y,q.dual.z); 232 …GLM_FUNC_QUALIFIER tdualquat<T, P> lerp(tdualquat<T, P> const & x, tdualquat<T, P> const & y, T co… argument 238 T const k = dot(x.real,y.real) < static_cast<T>(0) ? -a : a; 240 return tdualquat<T, P>(x * (one - a) + y * k); 252 GLM_FUNC_QUALIFIER tmat2x4<T, P> mat2x4_cast(tdualquat<T, P> const & x) argument [all …]
|
D | string_cast.inl | 135 GLM_FUNC_QUALIFIER static std::string call(tvec1<bool, P> const & x) 138 x[0] ? detail::LabelTrue : detail::LabelFalse); 145 GLM_FUNC_QUALIFIER static std::string call(tvec2<bool, P> const & x) 148 x[0] ? detail::LabelTrue : detail::LabelFalse, 149 x[1] ? detail::LabelTrue : detail::LabelFalse); 156 GLM_FUNC_QUALIFIER static std::string call(tvec3<bool, P> const & x) 159 x[0] ? detail::LabelTrue : detail::LabelFalse, 160 x[1] ? detail::LabelTrue : detail::LabelFalse, 161 x[2] ? detail::LabelTrue : detail::LabelFalse); 168 GLM_FUNC_QUALIFIER static std::string call(tvec4<bool, P> const & x) [all …]
|
D | fast_exponential.inl | 8 GLM_FUNC_QUALIFIER genType fastPow(genType x, genType y) argument 10 return exp(y * log(x)); 14 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<T, P> const & y) argument 16 return exp(y * log(x)); 20 GLM_FUNC_QUALIFIER T fastPow(T x, int y) argument 24 f *= x; 29 GLM_FUNC_QUALIFIER vecType<T, P> fastPow(vecType<T, P> const & x, vecType<int, P> const & y) argument 32 for(length_t i = 0, n = x.length(); i < n; ++i) 33 Result[i] = fastPow(x[i], y[i]); 40 GLM_FUNC_QUALIFIER T fastExp(T x) argument [all …]
|
D | simd_vec4.inl | 29 Data(_mm_set_ps(v.w, v.z, v.y, v.x)) 39 GLM_FUNC_QUALIFIER fvec4SIMD::fvec4SIMD(float const & x, float const & y, float const & z, float co… argument 40 // Data(_mm_setr_ps(x, y, z, w)) 41 Data(_mm_set_ps(w, z, y, x)) 57 Data(_mm_set_ps(s2, s1, v.y, v.x)) 61 Data(_mm_set_ps(s2, v.y, v.x, s1)) 65 Data(_mm_set_ps(v.y, v.x, s2, s1)) 69 Data(_mm_set_ps(s, v.z, v.y, v.x)) 73 Data(_mm_set_ps(v.z, v.y, v.x, s)) 77 Data(_mm_set_ps(v2.y, v2.x, v1.y, v1.x)) [all …]
|
/device/generic/vulkan-cereal/protocols/gles2/ |
D | gles2.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv3_dec/ |
D | gles3.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [all …]
|
/device/google/contexthub/firmware/external/freebsd/inc/sys/ |
D | endian.h | 38 #define bswap16(x) __bswap16(x) argument 39 #define bswap32(x) __bswap32(x) argument 40 #define bswap64(x) __bswap64(x) argument 47 #define htobe16(x) bswap16((x)) argument 48 #define htobe32(x) bswap32((x)) argument 49 #define htobe64(x) bswap64((x)) argument 50 #define htole16(x) ((uint16_t)(x)) argument 51 #define htole32(x) ((uint32_t)(x)) argument 52 #define htole64(x) ((uint64_t)(x)) argument 54 #define be16toh(x) bswap16((x)) argument [all …]
|
/device/generic/vulkan-cereal/third-party/angle/src/image_util/ |
D | loadimage.cpp | 42 size_t x = 0; in LoadA8ToRGBA8() local 45 for (; ((reinterpret_cast<intptr_t>(&dest[x]) & 0xF) != 0 && x < width); x++) in LoadA8ToRGBA8() 47 dest[x] = static_cast<uint32_t>(source[x]) << 24; in LoadA8ToRGBA8() 50 for (; x + 7 < width; x += 8) in LoadA8ToRGBA8() 53 _mm_loadl_epi64(reinterpret_cast<const __m128i *>(&source[x])); in LoadA8ToRGBA8() 60 _mm_store_si128(reinterpret_cast<__m128i *>(&dest[x]), lo); in LoadA8ToRGBA8() 61 _mm_store_si128(reinterpret_cast<__m128i *>(&dest[x + 4]), hi); in LoadA8ToRGBA8() 65 for (; x < width; x++) in LoadA8ToRGBA8() 67 dest[x] = static_cast<uint32_t>(source[x]) << 24; in LoadA8ToRGBA8() 84 for (size_t x = 0; x < width; x++) in LoadA8ToRGBA8() local [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/GLESv1_dec/ |
D | gles1.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [all …]
|
/device/generic/vulkan-cereal/protocols/gles1/ |
D | gles1.types | 1 GLbitfield 32 0x%08x 4 GLclampx 32 0x%08x 6 GLenum 32 0x%08x 7 GLfixed 32 0x%08x 10 GLintptr 32 0x%08lx 13 GLsizeiptr 32 0x%08lx 14 GLubyte 8 0x%02x 16 GLvoid 0 %x 18 GLenum* 32 0x%08x 19 GLboolean* 32 0x%08x [all …]
|
/device/sample/skins/WVGAMedDpi/ |
D | layout | 17 x 0 29 x 56 34 x 0 39 x 112 44 x 77 49 x 77 54 x 53 59 x 123 64 x 77 69 x 0 [all …]
|
/device/generic/vulkan-cereal/third-party/angle/src/tests/gl_tests/ |
D | ClipDistanceTest.cpp | 98 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 102 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::blue); in TEST_P() 107 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth(); ++x) in TEST_P() local 111 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() 126 for (int x = 0; x < getWindowWidth() / 4 - 1; ++x) in TEST_P() local 130 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() 135 for (int x = getWindowWidth() / 4 + 2; x < getWindowWidth(); ++x) in TEST_P() local 139 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::green); in TEST_P() 148 for (int x = 0; x < getWindowWidth(); ++x) in TEST_P() local 152 EXPECT_PIXEL_COLOR_EQ(x, y, GLColor::red); in TEST_P() [all …]
|
/device/generic/vulkan-cereal/include/glm/gtc/ |
D | ulp.inl | 71 GLM_FUNC_QUALIFIER float nextafterf(float x, float y) argument 76 GLM_GET_FLOAT_WORD(hx, x); 78 ix = hx&0x7fffffff; // |x| 81 if((ix>0x7f800000) || // x is nan 83 return x+y; 84 if(x==y) return y; // x=y, return y 85 if(ix==0) { // x == 0 86 GLM_SET_FLOAT_WORD(x,(hy&0x80000000)|1);// return +-minsubnormal 87 t = x*x; 88 if(t==x) return t; else return x; // raise underflow flag [all …]
|
D | quaternion.inl | 15 static GLM_FUNC_QUALIFIER T call(tquat<T, P> const& x, tquat<T, P> const& y) 17 tvec4<T, P> tmp(x.x * y.x, x.y * y.y, x.z * y.z, x.w * y.w); 18 return (tmp.x + tmp.y) + (tmp.z + tmp.w); 27 return tquat<T, P>(q.w + p.w, q.x + p.x, q.y + p.y, q.z + p.z); 36 return tquat<T, P>(q.w - p.w, q.x - p.x, q.y - p.y, q.z - p.z); 45 return tquat<T, P>(q.w * s, q.x * s, q.y * s, q.z * s); 54 return tquat<T, P>(q.w / s, q.x / s, q.y / s, q.z / s); 74 return (&x)[i]; 81 return (&x)[i]; 90 : x(0), y(0), z(0), w(1) [all …]
|
/device/generic/vulkan-cereal/include/glm/detail/ |
D | func_common.inl | 15 GLM_FUNC_QUALIFIER genType min(genType x, genType y) argument 18 return x < y ? x : y; 23 GLM_FUNC_QUALIFIER genType max(genType x, genType y) argument 27 return x > y ? x : y; 32 GLM_FUNC_QUALIFIER int32 abs(int32 x) argument 34 int32 const y = x >> 31; 35 return (x ^ y) - y; 43 GLM_FUNC_QUALIFIER genType round(genType x) argument 47 …return x < static_cast<genType>(0) ? static_cast<genType>(int(x - static_cast<genType>(0.5))) : st… 56 GLM_FUNC_QUALIFIER genType trunc(genType x) argument [all …]
|
D | type_vec3.inl | 38 : x(0), y(0), z(0) 46 : x(v.x), y(v.y), z(v.z) 53 : x(v.x), y(v.y), z(v.z) 64 : x(scalar), y(scalar), z(scalar) 69 : x(a), y(b), z(c) 77 x(static_cast<T>(a)), 85 x(static_cast<T>(a)), 95 x(static_cast<T>(a.x)), 103 x(static_cast<T>(a.x)), 105 z(static_cast<T>(b.x)) [all …]
|
D | type_vec2.inl | 25 : x(0), y(0) 33 : x(v.x), y(v.y) 40 : x(v.x), y(v.y) 51 : x(scalar), y(scalar) 56 : x(s1), y(s2) 64 : x(static_cast<T>(a)) 71 : x(static_cast<T>(a.x)) 72 , y(static_cast<T>(b.x)) 80 : x(static_cast<T>(v.x)) 87 : x(static_cast<T>(v.x)) [all …]
|
D | type_vec1.inl | 12 : x(0) 20 : x(v.x) 27 : x(v.x) 38 : x(scalar) 46 : x(static_cast<T>(v.x)) 52 : x(static_cast<T>(v.x)) 58 : x(static_cast<T>(v.x)) 64 : x(static_cast<T>(v.x)) 73 return (&x)[i]; 80 return (&x)[i]; [all …]
|
/device/generic/goldfish-opengl/system/renderControl_enc/ |
D | renderControl.types | 1 uint32_t 32 0x%08x 2 uint64_t 64 0x%016lx 3 EGLint 32 0x%08x 4 GLint 32 0x%08x 5 GLuint 32 0x%08x 6 GLenum 32 0x%08x 7 EGLenum 32 0x%08x 8 uint32_t* 32 0x%08x 9 EGLint* 32 0x%08x 10 int* 32 0x%08x [all …]
|
/device/generic/vulkan-cereal/protocols/renderControl/ |
D | renderControl.types | 1 uint32_t 32 0x%08x 2 uint64_t 64 0x%016lx 3 EGLint 32 0x%08x 4 GLint 32 0x%08x 5 GLuint 32 0x%08x 6 GLenum 32 0x%08x 7 EGLenum 32 0x%08x 8 uint32_t* 32 0x%08x 9 EGLint* 32 0x%08x 10 int* 32 0x%08x [all …]
|
/device/generic/opengl-transport/host/libs/virglrenderer/renderControl_dec/ |
D | renderControl.types | 1 uint32_t 32 0x%08x 2 uint64_t 64 0x%016lx 3 EGLint 32 0x%08x 4 GLint 32 0x%08x 5 GLuint 32 0x%08x 6 GLenum 32 0x%08x 7 EGLenum 32 0x%08x 8 uint32_t* 32 0x%08x 9 EGLint* 32 0x%08x 10 int* 32 0x%08x [all …]
|
/device/google/contexthub/firmware/lib/libm/ |
D | sf_atan.c | 68 float atanf(float x) in atanf() argument 70 float atanf(x) in atanf() 71 float x; in atanf() 77 GET_FLOAT_WORD(hx,x); 81 return x+x; /* NaN */ 86 if(huge+x>one) return x; /* raise inexact */ 90 x = fabsf(x); 93 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); 95 id = 1; x = (x-one)/(x+one); 99 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); [all …]
|
/device/google/contexthub/firmware/external/freebsd/lib/msun/src/ |
D | s_atanf.c | 49 atanf(float x) in atanf() argument 54 GET_FLOAT_WORD(hx,x); in atanf() 58 return x+x; /* NaN */ in atanf() 63 if(huge+x>one) return x; /* raise inexact */ in atanf() 67 x = fabsf(x); in atanf() 70 id = 0; x = ((float)2.0*x-one)/((float)2.0+x); in atanf() 72 id = 1; x = (x-one)/(x+one); in atanf() 76 id = 2; x = (x-(float)1.5)/(one+(float)1.5*x); in atanf() 78 id = 3; x = -(float)1.0/x; in atanf() 82 z = x*x; in atanf() [all …]
|