Home
last modified time | relevance | path

Searched refs:v1 (Results 1 – 25 of 150) sorted by relevance

123456

/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dtype_vec2.inl468 GLM_FUNC_QUALIFIER tvec2<T, P> operator+(tvec2<T, P> const & v1, tvec1<T, P> const & v2) argument
471 v1.x + v2.x,
472 v1.y + v2.x);
484 GLM_FUNC_QUALIFIER tvec2<T, P> operator+(tvec1<T, P> const & v1, tvec2<T, P> const & v2) argument
487 v1.x + v2.x,
488 v1.x + v2.y);
492 GLM_FUNC_QUALIFIER tvec2<T, P> operator+(tvec2<T, P> const & v1, tvec2<T, P> const & v2) argument
495 v1.x + v2.x,
496 v1.y + v2.y);
508 GLM_FUNC_QUALIFIER tvec2<T, P> operator-(tvec2<T, P> const & v1, tvec1<T, P> const & v2) argument
[all …]
Dtype_vec2.hpp106 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR tvec2(tvec1<A, P> const & v1, tvec1<B, P> const & v2);
222 GLM_FUNC_DECL tvec2<T, P> operator+(tvec2<T, P> const & v1, tvec1<T, P> const & v2);
228 GLM_FUNC_DECL tvec2<T, P> operator+(tvec1<T, P> const & v1, tvec2<T, P> const & v2);
231 GLM_FUNC_DECL tvec2<T, P> operator+(tvec2<T, P> const & v1, tvec2<T, P> const & v2);
237 GLM_FUNC_DECL tvec2<T, P> operator-(tvec2<T, P> const & v1, tvec1<T, P> const & v2);
243 GLM_FUNC_DECL tvec2<T, P> operator-(tvec1<T, P> const & v1, tvec2<T, P> const & v2);
246 GLM_FUNC_DECL tvec2<T, P> operator-(tvec2<T, P> const & v1, tvec2<T, P> const & v2);
252 GLM_FUNC_DECL tvec2<T, P> operator*(tvec2<T, P> const & v1, tvec1<T, P> const & v2);
258 GLM_FUNC_DECL tvec2<T, P> operator*(tvec1<T, P> const & v1, tvec2<T, P> const & v2);
261 GLM_FUNC_DECL tvec2<T, P> operator*(tvec2<T, P> const & v1, tvec2<T, P> const & v2);
[all …]
Dtype_vec3.hpp249 GLM_FUNC_DECL tvec3<T, P> operator+(tvec1<T, P> const & v1, tvec3<T, P> const & v2);
252 GLM_FUNC_DECL tvec3<T, P> operator+(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
258 GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v1, tvec1<T, P> const & v2);
264 GLM_FUNC_DECL tvec3<T, P> operator-(tvec1<T, P> const & v1, tvec3<T, P> const & v2);
267 GLM_FUNC_DECL tvec3<T, P> operator-(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
273 GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v1, tvec1<T, P> const & v2);
279 GLM_FUNC_DECL tvec3<T, P> operator*(tvec1<T, P> const & v1, tvec3<T, P> const & v2);
282 GLM_FUNC_DECL tvec3<T, P> operator*(tvec3<T, P> const & v1, tvec3<T, P> const & v2);
288 GLM_FUNC_DECL tvec3<T, P> operator/(tvec3<T, P> const & v1, tvec1<T, P> const & v2);
294 GLM_FUNC_DECL tvec3<T, P> operator/(tvec1<T, P> const & v1, tvec3<T, P> const & v2);
[all …]
Dtype_vec4.inl130 GLM_FUNC_QUALIFIER static bool call(tvec4<T, P> const & v1, tvec4<T, P> const & v2)
132 return (v1.x == v2.x) && (v1.y == v2.y) && (v1.z == v2.z) && (v1.w == v2.w);
139 GLM_FUNC_QUALIFIER static bool call(tvec4<T, P> const & v1, tvec4<T, P> const & v2)
141 return (v1.x != v2.x) || (v1.y != v2.y) || (v1.z != v2.z) || (v1.w != v2.w);
639 GLM_FUNC_QUALIFIER tvec4<T, P> operator+(tvec4<T, P> const & v1, tvec1<T, P> const & v2) argument
641 return tvec4<T, P>(v1) += v2;
651 GLM_FUNC_QUALIFIER tvec4<T, P> operator+(tvec1<T, P> const & v1, tvec4<T, P> const & v2) argument
653 return tvec4<T, P>(v2) += v1;
657 GLM_FUNC_QUALIFIER tvec4<T, P> operator+(tvec4<T, P> const & v1, tvec4<T, P> const & v2) argument
659 return tvec4<T, P>(v1) += v2;
[all …]
Dtype_vec1.hpp199 GLM_FUNC_DECL tvec1<T, P> operator+(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
208 GLM_FUNC_DECL tvec1<T, P> operator- (tvec1<T, P> const & v1, tvec1<T, P> const & v2);
217 GLM_FUNC_DECL tvec1<T, P> operator*(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
226 GLM_FUNC_DECL tvec1<T, P> operator/(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
235 GLM_FUNC_DECL tvec1<T, P> operator%(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
244 GLM_FUNC_DECL tvec1<T, P> operator&(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
253 GLM_FUNC_DECL tvec1<T, P> operator|(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
262 GLM_FUNC_DECL tvec1<T, P> operator^(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
271 GLM_FUNC_DECL tvec1<T, P> operator<<(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
280 GLM_FUNC_DECL tvec1<T, P> operator>>(tvec1<T, P> const & v1, tvec1<T, P> const & v2);
[all …]
Dtype_vec3.inl573 GLM_FUNC_QUALIFIER tvec3<T, P> operator+(tvec3<T, P> const & v1, tvec3<T, P> const & v2) argument
576 v1.x + v2.x,
577 v1.y + v2.y,
578 v1.z + v2.z);
618 GLM_FUNC_QUALIFIER tvec3<T, P> operator-(tvec3<T, P> const & v1, tvec3<T, P> const & v2) argument
621 v1.x - v2.x,
622 v1.y - v2.y,
623 v1.z - v2.z);
663 GLM_FUNC_QUALIFIER tvec3<T, P> operator*(tvec3<T, P> const & v1, tvec3<T, P> const & v2) argument
666 v1.x * v2.x,
[all …]
Dtype_vec1.inl328 GLM_FUNC_QUALIFIER tvec1<T, P> operator+(tvec1<T, P> const & v1, tvec1<T, P> const & v2) argument
331 v1.x + v2.x);
350 GLM_FUNC_QUALIFIER tvec1<T, P> operator-(tvec1<T, P> const & v1, tvec1<T, P> const & v2) argument
353 v1.x - v2.x);
371 GLM_FUNC_QUALIFIER tvec1<T, P> operator*(tvec1<T, P> const & v1, tvec1<T, P> const & v2) argument
374 v1.x * v2.x);
392 GLM_FUNC_QUALIFIER tvec1<T, P> operator/(tvec1<T, P> const & v1, tvec1<T, P> const & v2) argument
395 v1.x / v2.x);
415 GLM_FUNC_QUALIFIER tvec1<T, P> operator%(tvec1<T, P> const & v1, tvec1<T, P> const & v2) argument
418 v1.x % v2.x);
[all …]
Dfunc_common_simd.inl93 …GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v1, tvec4<float, P> const &…
96 result.data = _mm_min_ps(v1.data, v2.data);
104 …GLM_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<int32, P> const & v1, tvec4<int32, P> const &…
107 result.data = _mm_min_epi32(v1.data, v2.data);
115 …GLM_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<uint32, P> const & v1, tvec4<uint32, P> const…
118 result.data = _mm_min_epu32(v1.data, v2.data);
126 …GLM_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v1, tvec4<float, P> const &…
129 result.data = _mm_max_ps(v1.data, v2.data);
137 …GLM_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<int32, P> const & v1, tvec4<int32, P> const &…
140 result.data = _mm_max_epi32(v1.data, v2.data);
[all …]
Dtype_vec4.hpp288 GLM_FUNC_DECL tvec4<T, P> operator+(tvec4<T, P> const & v1, tvec1<T, P> const & v2);
294 GLM_FUNC_DECL tvec4<T, P> operator+(tvec1<T, P> const & v1, tvec4<T, P> const & v2);
297 GLM_FUNC_DECL tvec4<T, P> operator+(tvec4<T, P> const & v1, tvec4<T, P> const & v2);
303 GLM_FUNC_DECL tvec4<T, P> operator-(tvec4<T, P> const & v1, tvec1<T, P> const & v2);
309 GLM_FUNC_DECL tvec4<T, P> operator-(tvec1<T, P> const & v1, tvec4<T, P> const & v2);
312 GLM_FUNC_DECL tvec4<T, P> operator-(tvec4<T, P> const & v1, tvec4<T, P> const & v2);
318 GLM_FUNC_DECL tvec4<T, P> operator*(tvec4<T, P> const & v1, tvec1<T, P> const & v2);
324 GLM_FUNC_DECL tvec4<T, P> operator*(tvec1<T, P> const & v1, tvec4<T, P> const & v2);
327 GLM_FUNC_DECL tvec4<T, P> operator*(tvec4<T, P> const & v1, tvec4<T, P> const & v2);
333 GLM_FUNC_DECL tvec4<T, P> operator/(tvec4<T, P> const & v1, tvec1<T, P> const & v2);
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dmatrix_major_storage.inl9 tvec2<T, P> const & v1, argument
14 Result[0][0] = v1.x;
15 Result[1][0] = v1.y;
35 const tvec3<T, P>& v1, argument
40 Result[0][0] = v1.x;
41 Result[1][0] = v1.y;
42 Result[2][0] = v1.z;
71 const tvec4<T, P>& v1, argument
77 Result[0][0] = v1.x;
78 Result[1][0] = v1.y;
[all …]
Dvector_query.inl15 …GLM_FUNC_QUALIFIER static bool call(tvec2<T, P> const & v0, tvec2<T, P> const & v1, T const & epsi…
17 …return length(cross(tvec3<T, P>(v0, static_cast<T>(0)), tvec3<T, P>(v1, static_cast<T>(0)))) < eps…
24 …GLM_FUNC_QUALIFIER static bool call(tvec3<T, P> const & v0, tvec3<T, P> const & v1, T const & epsi…
26 return length(cross(v0, v1)) < epsilon;
33 …GLM_FUNC_QUALIFIER static bool call(tvec4<T, P> const & v0, tvec4<T, P> const & v1, T const & epsi…
35 return length(cross(tvec3<T, P>(v0), tvec3<T, P>(v1))) < epsilon;
84 vecType<T, P> const & v1, argument
90 return detail::compute_areCollinear<T, P, vecType>::call(v0, v1, epsilon);
97 vecType<T, P> const & v1, argument
103 return abs(dot(v0, v1)) <= max(
[all …]
Dmatrix_major_storage.hpp32 tvec2<T, P> const & v1,
45 tvec3<T, P> const & v1,
59 tvec4<T, P> const & v1,
74 tvec2<T, P> const & v1,
87 tvec3<T, P> const & v1,
101 tvec4<T, P> const & v1,
Dspline.inl9 genType const & v1, argument
25 return (f1 * v1 + f2 * v2 + f3 * v3 + f4 * v4) / typename genType::value_type(2);
32 genType const & v1, argument
48 return f1 * v1 + f2 * v2 + f3 * t1 + f4 * t2;
54 genType const & v1, argument
61 return ((v1 * s + v2) * s + v3) * s + v4;
Dspline.hpp32 genType const & v1,
42 genType const & v1,
52 genType const & v1,
Dvector_query.hpp32 …GLM_FUNC_DECL bool areCollinear(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & epsi…
37 …GLM_FUNC_DECL bool areOrthogonal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & eps…
57 …GLM_FUNC_DECL bool areOrthonormal(vecType<T, P> const & v0, vecType<T, P> const & v1, T const & ep…
Dmixed_product.inl9 tvec3<T, P> const & v1, argument
14 return dot(cross(v1, v2), v3);
/hardware/google/gfxstream/third-party/glm/include/glm/simd/
Dgeometric.h10 GLM_FUNC_DECL glm_vec4 glm_vec4_dot(glm_vec4 v1, glm_vec4 v2);
11 GLM_FUNC_DECL glm_vec4 glm_vec1_dot(glm_vec4 v1, glm_vec4 v2);
27 GLM_FUNC_QUALIFIER glm_vec4 glm_vec4_dot(glm_vec4 v1, glm_vec4 v2) in glm_vec4_dot() argument
30 return _mm_dp_ps(v1, v2, 0xff); in glm_vec4_dot()
32 glm_vec4 const mul0 = _mm_mul_ps(v1, v2); in glm_vec4_dot()
37 glm_vec4 const mul0 = _mm_mul_ps(v1, v2); in glm_vec4_dot()
46 GLM_FUNC_QUALIFIER glm_vec4 glm_vec1_dot(glm_vec4 v1, glm_vec4 v2) in glm_vec1_dot() argument
49 return _mm_dp_ps(v1, v2, 0xff); in glm_vec1_dot()
51 glm_vec4 const mul0 = _mm_mul_ps(v1, v2); in glm_vec1_dot()
56 glm_vec4 const mul0 = _mm_mul_ps(v1, v2); in glm_vec1_dot()
[all …]
/hardware/libhardware/modules/sensors/
Dmultihal.cpp288 static bool halSupportDirectSensorReport(sensors_poll_device_1_t* v1) { in halSupportDirectSensorReport() argument
289 return v1 != nullptr && HAL_VERSION_IS_COMPLIANT(v1->common.version) && in halSupportDirectSensorReport()
290 v1->register_direct_channel != nullptr && v1->config_direct_report != nullptr; in halSupportDirectSensorReport()
407 sensors_poll_device_1_t* v1 = this->get_v1_device_by_handle(handle); in batch() local
408 if (halIsCompliant(this, handle) && local_handle >= 0 && v1) { in batch()
409 retval = v1->batch(v1, local_handle, flags, period_ns, timeout); in batch()
421 sensors_poll_device_1_t* v1 = this->get_v1_device_by_handle(handle); in flush() local
422 if (halIsCompliant(this, handle) && local_handle >= 0 && v1) { in flush()
423 retval = v1->flush(v1, local_handle); in flush()
436 sensors_poll_device_1_t* v1 = get_primary_v1_device(); in inject_sensor_data() local
[all …]
/hardware/google/gfxstream/include/OpenGLESDispatch/
Dgles31_only_functions.h25 …Uniform2f, (GLuint program, GLint location, GLfloat v0, GLfloat v1), (program, location, v0, v1)) \
26 …, (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2), (program, location, v0, v1
27 …int program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3), (program, location, …
29 …gramUniform2i, (GLuint program, GLint location, GLint v0, GLint v1), (program, location, v0, v1)) \
30 …orm3i, (GLuint program, GLint location, GLint v0, GLint v1, GLint v2), (program, location, v0, v1,…
31 …, (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3), (program, location, v0…
33 …amUniform2ui, (GLuint program, GLint location, GLint v0, GLuint v1), (program, location, v0, v1)) \
34 …m3ui, (GLuint program, GLint location, GLint v0, GLint v1, GLuint v2), (program, location, v0, v1,…
35 … (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3), (program, location, v0…
Dgles31_only_static_translator_namespaced_header.h25 …PICALL void GL_APIENTRY glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1);
26 …GL_APIENTRY glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
27 …TRY glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat…
29 GL_APICALL void GL_APIENTRY glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1);
30 GL_APICALL void GL_APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, …
31 GL_APICALL void GL_APIENTRY glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, …
33 GL_APICALL void GL_APIENTRY glProgramUniform2ui(GLuint program, GLint location, GLint v0, GLuint v1
34 GL_APICALL void GL_APIENTRY glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1,…
35 GL_APICALL void GL_APIENTRY glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1,…
/hardware/google/gfxstream/guest/mesa/src/util/
Dxxhash.h326 XXH32_hash_t v1; member
340 XXH64_hash_t v1; member
791 xxh_u32 v1 = seed + PRIME32_1 + PRIME32_2; in XXH32_endian_align() local
797 v1 = XXH32_round(v1, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
803 h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) in XXH32_endian_align()
858 state.v1 = seed + PRIME32_1 + PRIME32_2; in XXH32_reset()
893 state->v1 = XXH32_round(state->v1, XXH_readLE32(p32)); p32++; in XXH32_update()
904 xxh_u32 v1 = state->v1; in XXH32_update() local
910 v1 = XXH32_round(v1, XXH_readLE32(p)); p+=4; in XXH32_update()
916 state->v1 = v1; in XXH32_update()
[all …]
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles31_only_dispatch_logging_wrappers.impl74 …glProgramUniform2f_dispatchLoggingWrapper(GLuint program, GLint location, GLfloat v0, GLfloat v1) {
75 …_DEBUG_LOG("glProgramUniform2f(program:%d, location:%d, v0:%f, v1:%f)", program, location, v0, v1);
76 GLDispatch::glProgramUniform2f_underlying(program, location, v0, v1);
79 …form3f_dispatchLoggingWrapper(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) {
80 …LOG("glProgramUniform3f(program:%d, location:%d, v0:%f, v1:%f, v2:%f)", program, location, v0, v1,…
81 GLDispatch::glProgramUniform3f_underlying(program, location, v0, v1, v2);
84 …dispatchLoggingWrapper(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat…
85 …"glProgramUniform4f(program:%d, location:%d, v0:%f, v1:%f, v2:%f, v3:%f)", program, location, v0,
86 GLDispatch::glProgramUniform4f_underlying(program, location, v0, v1, v2, v3);
94 void glProgramUniform2i_dispatchLoggingWrapper(GLuint program, GLint location, GLint v0, GLint v1) {
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_unquantize.cpp294 int v1 = unquant_color(quant_level, input[1]); in luminance_delta_unpack() local
295 int l0 = (v0 >> 2) | (v1 & 0xC0); in luminance_delta_unpack()
296 int l1 = l0 + (v1 & 0x3F); in luminance_delta_unpack()
383 int v1 = unquant_color(quant_level, input[1]); in hdr_rgbo_unpack() local
387 int modeval = ((v0 & 0xC0) >> 6) | (((v1 & 0x80) >> 7) << 2) | (((v2 & 0x80) >> 7) << 3); in hdr_rgbo_unpack()
408 int green = v1 & 0x1F; in hdr_rgbo_unpack()
412 int bit0 = (v1 >> 6) & 1; in hdr_rgbo_unpack()
413 int bit1 = (v1 >> 5) & 1; in hdr_rgbo_unpack()
536 int v1 = unquant_color(quant_level, input[1]); in hdr_rgb_unpack() local
543 int modeval = ((v1 & 0x80) >> 7) | (((v2 & 0x80) >> 7) << 1) | (((v3 & 0x80) >> 7) << 2); in hdr_rgb_unpack()
[all …]
/hardware/interfaces/automotive/evs/1.1/vts/functional/
DVtsHalEvsV1_1TargetTest.cpp138 LOG(INFO) << "Found camera " << cam.v1.cameraId; in loadCameraList()
194 if (it->v1.cameraId == id) { in getPhysicalCameraIds()
297 auto devices = getPhysicalCameraIds(cam.v1.cameraId, isLogicalCam); in TEST_P()
299 LOG(INFO) << "Skip a logical device, " << cam.v1.cameraId << " for HW target."; in TEST_P()
310 sp<IEvsCamera_1_1> pCam = pEnumerator->openCamera_1_1(cam.v1.cameraId, targetCfg); in TEST_P()
317 matched = devName == info.v1.cameraId; in TEST_P()
327 LOG(DEBUG) << "Found camera " << desc.v1.cameraId; in TEST_P()
328 EXPECT_EQ(cam.v1.cameraId, desc.v1.cameraId); in TEST_P()
377 getPhysicalCameraIds(cam.v1.cameraId, isLogicalCam); in TEST_P()
379 LOG(INFO) << "Skip a logical device, " << cam.v1.cameraId << " for HW target."; in TEST_P()
[all …]
/hardware/google/gfxstream/host/tests/
DMagma_unittest.cpp38 auto v1 = m.get(k1); in TEST_F() local
39 ASSERT_NE(v1, nullptr); in TEST_F()
40 EXPECT_EQ(v1->x, 42 + 5); in TEST_F()

123456