Home
last modified time | relevance | path

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

12345678910>>...22

/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/generic/vulkan-cereal/third-party/astc-encoder/Source/
Dastcenccli_image.cpp105 for (unsigned int y = 0; y < dim_y; y++) in determine_image_components() local
109 int r = data8[(4 * dim_x * y) + (4 * x )]; in determine_image_components()
110 int g = data8[(4 * dim_x * y) + (4 * x + 1)]; in determine_image_components()
111 int b = data8[(4 * dim_x * y) + (4 * x + 2)]; in determine_image_components()
112 int a = data8[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components()
126 for (unsigned int y = 0; y < dim_y; y++) in determine_image_components() local
130 int r = data16[(4 * dim_x * y) + (4 * x )]; in determine_image_components()
131 int g = data16[(4 * dim_x * y) + (4 * x + 1)]; in determine_image_components()
132 int b = data16[(4 * dim_x * y) + (4 * x + 2)]; in determine_image_components()
133 int a = data16[(4 * dim_x * y) + (4 * x + 3)]; in determine_image_components()
[all …]
Dastcenc_compute_variance.cpp150 #define VARBUF1(z, y, x) varbuf1[z * zst + y * yst + x] in compute_pixel_region_variance() argument
151 #define VARBUF2(z, y, x) varbuf2[z * zst + y * yst + x] in compute_pixel_region_variance() argument
167 for (int y = 1; y < padsize_y; y++) in compute_pixel_region_variance() local
169 int y_src = (y - 1) + offset_y - kernel_radius_xy; in compute_pixel_region_variance()
192 VARBUF1(z, y, x) = d; in compute_pixel_region_variance()
193 VARBUF2(z, y, x) = d * d; in compute_pixel_region_variance()
211 for (int y = 1; y < padsize_y; y++) in compute_pixel_region_variance() local
213 int y_src = (y - 1) + offset_y - kernel_radius_xy; in compute_pixel_region_variance()
229 VARBUF1(z, y, x) = d; in compute_pixel_region_variance()
230 VARBUF2(z, y, x) = d * d; in compute_pixel_region_variance()
[all …]
Dastcenccli_image_load_store.cpp698 unsigned int y; member
775 unsigned int y, in get_format() argument
781 if ((it.x == x) && (it.y == y) && (it.z == z) && (it.is_srgb == is_srgb)) in get_format()
1144 for (unsigned int y = 0; y < dim_y; y++) in load_ktx_uncompressed_image() local
1146 unsigned int ymod = y_flip ? dim_y - y - 1 : y; in load_ktx_uncompressed_image()
1162 uint8_t *src = buf + (z * ystride) + (y * xstride); in load_ktx_uncompressed_image()
1271 img.block_y = fmt->y; in load_ktx_compressed_image()
1415 for (unsigned int y = 1; y < dim_y; y++) in store_ktx_uncompressed_image() local
1417 row_pointers8[z][y] = row_pointers8[z][0] + dim_x * image_components * y; in store_ktx_uncompressed_image()
1424 for (unsigned int y = 0; y < dim_y; y++) in store_ktx_uncompressed_image() local
[all …]
Dastcenccli_error_metrics.cpp150 for (unsigned int y = 0; y < dim_y; y++) in compute_error_metrics() local
162 data8[(4 * xsize1 * y) + (4 * x )], in compute_error_metrics()
163 data8[(4 * xsize1 * y) + (4 * x + 1)], in compute_error_metrics()
164 data8[(4 * xsize1 * y) + (4 * x + 2)], in compute_error_metrics()
165 data8[(4 * xsize1 * y) + (4 * x + 3)]); in compute_error_metrics()
174 data16[(4 * xsize1 * y) + (4 * x )], in compute_error_metrics()
175 data16[(4 * xsize1 * y) + (4 * x + 1)], in compute_error_metrics()
176 data16[(4 * xsize1 * y) + (4 * x + 2)], in compute_error_metrics()
177 data16[(4 * xsize1 * y) + (4 * x + 3)]); in compute_error_metrics()
188 data32[(4 * xsize1 * y) + (4 * x )], in compute_error_metrics()
[all …]
Dstb_image_write.h180 STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int qu…
193 STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, c…
451 static void stbiw__write_pixels(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int co… in stbiw__write_pixels() argument
456 if (y <= 0) in stbiw__write_pixels()
463 j_end = -1; j = y-1; in stbiw__write_pixels()
465 j_end = y; j = 0; in stbiw__write_pixels()
478 static int stbiw__outfile(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int comp, in… in stbiw__outfile() argument
480 if (y < 0 || x < 0) { in stbiw__outfile()
487 stbiw__write_pixels(s,rgb_dir,vdir,x,y,comp,data,alpha,pad, expand_mono); in stbiw__outfile()
492 static int stbi_write_bmp_core(stbi__write_context *s, int x, int y, int comp, const void *data) in stbi_write_bmp_core() argument
[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 …]
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtc/
Dnoise.inl27 …tvec4<T, P> Pi = glm::floor(tvec4<T, P>(Position.x, Position.y, Position.x, Position.y)) + tvec4<T…
28 …tvec4<T, P> Pf = glm::fract(tvec4<T, P>(Position.x, Position.y, Position.x, Position.y)) - tvec4<T…
31 tvec4<T, P> iy(Pi.y, Pi.y, Pi.w, Pi.w);
33 tvec4<T, P> fy(Pf.y, Pf.y, Pf.w, Pf.w);
43 tvec2<T, P> g10(gx.y, gy.y);
49 g01 *= norm.y;
54 T n10 = dot(g10, tvec2<T, P>(fx.y, fy.y));
58 tvec2<T, P> fade_xy = detail::fade(tvec2<T, P>(Pf.x, Pf.y));
60 T n_xy = mix(n_x.x, n_x.y, fade_xy.y);
75 tvec4<T, P> iy = tvec4<T, P>(tvec2<T, P>(Pi0.y), tvec2<T, P>(Pi1.y));
[all …]
Dquaternion.inl15 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);
90 : x(0), y(0), z(0), w(1)
98 : x(q.x), y(q.y), z(q.z), w(q.w)
105 : x(q.x), y(q.y), z(q.z), w(q.w)
[all …]
Depsilon.inl18 float const & y, argument
22 return abs(x - y) < epsilon;
29 double const & y, argument
33 return abs(x - y) < epsilon;
40 float const & y, argument
44 return abs(x - y) >= epsilon;
51 double const & y, argument
55 return abs(x - y) >= epsilon;
62 vecType<T, P> const & y, argument
66 return lessThan(abs(x - y), vecType<T, P>(epsilon));
[all …]
Dulp.inl71 GLM_FUNC_QUALIFIER float nextafterf(float x, float y) argument
77 GLM_GET_FLOAT_WORD(hy, y);
79 iy = hy&0x7fffffff; // |y|
82 (iy>0x7f800000)) // y is nan
83 return x+y;
84 if(x==y) return y; // x=y, return y
91 if(hx>hy) { // x > y, x -= ulp
93 } else { // x < y, x += ulp
97 if(hy>=0||hx>hy){ // x < y, x -= ulp
99 } else { // x > y, x += ulp
[all …]
Dbitfield.inl10 GLM_FUNC_DECL RET bitfieldInterleave(PARAM x, PARAM y);
13 GLM_FUNC_DECL RET bitfieldInterleave(PARAM x, PARAM y, PARAM z);
16 GLM_FUNC_DECL RET bitfieldInterleave(PARAM x, PARAM y, PARAM z, PARAM w);
19 GLM_FUNC_QUALIFIER glm::uint16 bitfieldInterleave(glm::uint8 x, glm::uint8 y) argument
22 glm::uint16 REG2(y);
37 GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint16 x, glm::uint16 y) argument
40 glm::uint32 REG2(y);
58 GLM_FUNC_QUALIFIER glm::uint64 bitfieldInterleave(glm::uint32 x, glm::uint32 y) argument
61 glm::uint64 REG2(y);
82 GLM_FUNC_QUALIFIER glm::uint32 bitfieldInterleave(glm::uint8 x, glm::uint8 y, glm::uint8 z) argument
[all …]
Dbitfield.hpp97 GLM_FUNC_DECL int16 bitfieldInterleave(int8 x, int8 y);
104 GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
111 GLM_FUNC_DECL int32 bitfieldInterleave(int16 x, int16 y);
118 GLM_FUNC_DECL uint32 bitfieldInterleave(uint16 x, uint16 y);
125 GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y);
132 GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y);
139 GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z);
146 GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z);
153 GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z);
160 GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z);
[all …]
/device/generic/vulkan-cereal/third-party/glm/include/glm/detail/
Dtype_vec2.inl25 : 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)
65 , y(static_cast<T>(b))
72 , y(static_cast<T>(b.x))
81 , y(static_cast<T>(v.y))
88 , y(static_cast<T>(v.y))
95 , y(static_cast<T>(v.y))
[all …]
Dtype_vec3.inl38 : 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)
78 y(static_cast<T>(b)),
86 y(static_cast<T>(b)),
96 y(static_cast<T>(a.y)),
104 y(static_cast<T>(a.y)),
112 y(static_cast<T>(b.x)),
[all …]
D_vectorize.hpp31 return tvec2<R, P>(Func(v.x), Func(v.y)); in call()
40 return tvec3<R, P>(Func(v.x), Func(v.y), Func(v.z)); in call()
49 return tvec4<R, P>(Func(v.x), Func(v.y), Func(v.z), Func(v.w)); in call()
59 …GLM_FUNC_QUALIFIER static tvec1<T, P> call(T (*Func) (T x, T y), tvec1<T, P> const & a, tvec1<T, P… in call()
68 …GLM_FUNC_QUALIFIER static tvec2<T, P> call(T (*Func) (T x, T y), tvec2<T, P> const & a, tvec2<T, P… in call()
70 return tvec2<T, P>(Func(a.x, b.x), Func(a.y, b.y)); in call()
77 …GLM_FUNC_QUALIFIER static tvec3<T, P> call(T (*Func) (T x, T y), tvec3<T, P> const & a, tvec3<T, P… in call()
79 return tvec3<T, P>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z)); in call()
86 …GLM_FUNC_QUALIFIER static tvec4<T, P> call(T (*Func) (T x, T y), tvec4<T, P> const & a, tvec4<T, P… in call()
88 return tvec4<T, P>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z), Func(a.w, b.w)); in call()
[all …]
/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 …]
/device/generic/vulkan-cereal/fake-android-guest/ui/
DPoint.h25 int y; variable
31 inline Point(int _x, int _y) : x(_x), y(_y) { in Point()
34 return (x == rhs.x) && (y == rhs.y);
40 return !(x|y); in isOrigin()
45 return y<rhs.y || (y==rhs.y && x<rhs.x);
49 y = -y;
55 y += rhs.y;
60 y -= rhs.y;
65 const Point result(x+rhs.x, y+rhs.y);
69 const Point result(x-rhs.x, y-rhs.y);
/device/generic/vulkan-cereal/third-party/glm/include/glm/gtx/
Dassociated_min_max.inl8 GLM_FUNC_QUALIFIER U associatedMin(T x, U a, T y, U b) argument
10 return x < y ? a : b;
17 vecType<T, P> const & y, vecType<U, P> const & b argument
22 Result[i] = x[i] < y[i] ? a[i] : b[i];
30 T y, const vecType<U, P>& b
35 Result[i] = x < y ? a[i] : b[i];
43 vecType<T, P> const & y, U b argument
48 Result[i] = x[i] < y[i] ? a : b;
57 T y, U b, argument
61 U Result = x < y ? (x < z ? a : c) : (y < z ? b : c);
[all …]
Dinteger.inl7 GLM_FUNC_QUALIFIER int pow(int x, int y) argument
9 if(y == 0)
12 for(int i = 1; i < y; ++i)
66 GLM_FUNC_QUALIFIER int mod(int x, int y) argument
68 return x - y * (x / y);
88 factorial(x.y));
97 factorial(x.y),
107 factorial(x.y),
112 GLM_FUNC_QUALIFIER uint pow(uint x, uint y) argument
115 for(uint i = 1; i < y; ++i)
[all …]
Dextended_min_max.inl9 T const & y, argument
12 return glm::min(glm::min(x, y), z);
19 typename C<T>::T const & y, argument
23 return glm::min(glm::min(x, y), z);
30 C<T> const & y, argument
34 return glm::min(glm::min(x, y), z);
41 T const & y, argument
46 return glm::min(glm::min(x, y), glm::min(z, w));
53 typename C<T>::T const & y, argument
58 return glm::min(glm::min(x, y), glm::min(z, w));
[all …]
Ddual_quaternion.inl66 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);
254 return tmat2x4<T, P>( x[0].x, x[0].y, x[0].z, x[0].w, x[1].x, x[1].y, x[1].z, x[1].w );
[all …]
Dcompatibility.hpp38 …template <typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);} … in lerp() argument
39 …LIFIER tvec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& y, T a){return mix(x, y, a);} … in lerp() argument
41 …LIFIER tvec3<T, P> lerp(const tvec3<T, P>& x, const tvec3<T, P>& y, T a){return mix(x, y, a);} … in lerp() argument
42 …LIFIER tvec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& y, T a){return mix(x, y, a);} … in lerp() argument
43 …ec2<T, P> lerp(const tvec2<T, P>& x, const tvec2<T, P>& y, const tvec2<T, P>& a){return mix(x, y, … in lerp() argument
44 …ec3<T, P> lerp(const tvec3<T, P>& x, const tvec3<T, P>& y, const tvec3<T, P>& a){return mix(x, y, … in lerp() argument
45 …ec4<T, P> lerp(const tvec4<T, P>& x, const tvec4<T, P>& y, const tvec4<T, P>& a){return mix(x, y, … in lerp() argument
52 …template <typename T, precision P> GLM_FUNC_QUALIFIER T atan2(T x, T y){return atan(x, y);} … in atan2() argument
53 …ALIFIER tvec2<T, P> atan2(const tvec2<T, P>& x, const tvec2<T, P>& y){return atan(x, y);} //!< \br… in atan2() argument
54 …ALIFIER tvec3<T, P> atan2(const tvec3<T, P>& x, const tvec3<T, P>& y){return atan(x, y);} //!< \br… in atan2() argument
[all …]
/device/generic/vulkan-cereal/third-party/stb/include/stb/
Dstb_image_write.h180 STBIWDEF int stbi_write_jpg(char const *filename, int x, int y, int comp, const void *data, int qu…
193 STBIWDEF int stbi_write_jpg_to_func(stbi_write_func *func, void *context, int x, int y, int comp, c…
451 static void stbiw__write_pixels(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int co… in stbiw__write_pixels() argument
456 if (y <= 0) in stbiw__write_pixels()
463 j_end = -1; j = y-1; in stbiw__write_pixels()
465 j_end = y; j = 0; in stbiw__write_pixels()
478 static int stbiw__outfile(stbi__write_context *s, int rgb_dir, int vdir, int x, int y, int comp, in… in stbiw__outfile() argument
480 if (y < 0 || x < 0) { in stbiw__outfile()
487 stbiw__write_pixels(s,rgb_dir,vdir,x,y,comp,data,alpha,pad, expand_mono); in stbiw__outfile()
492 static int stbi_write_bmp_core(stbi__write_context *s, int x, int y, int comp, const void *data) in stbi_write_bmp_core() argument
[all …]

12345678910>>...22