Home
last modified time | relevance | path

Searched refs:v2 (Results 1 – 25 of 113) sorted by relevance

12345

/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 …_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v1, tvec4<float, P> const & v2)
96 result.data = _mm_min_ps(v1.data, v2.data);
104 …_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<int32, P> const & v1, tvec4<int32, P> const & v2)
107 result.data = _mm_min_epi32(v1.data, v2.data);
115 …UNC_QUALIFIER static tvec4<int32, P> call(tvec4<uint32, P> const & v1, tvec4<uint32, P> const & v2)
118 result.data = _mm_min_epu32(v1.data, v2.data);
126 …_FUNC_QUALIFIER static tvec4<float, P> call(tvec4<float, P> const & v1, tvec4<float, P> const & v2)
129 result.data = _mm_max_ps(v1.data, v2.data);
137 …_FUNC_QUALIFIER static tvec4<int32, P> call(tvec4<int32, P> const & v1, tvec4<int32, P> const & v2)
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/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/google/gfxstream/third-party/glm/include/glm/gtx/
Dmatrix_major_storage.inl10 tvec2<T, P> const & v2 argument
16 Result[0][1] = v2.x;
17 Result[1][1] = v2.y;
36 const tvec3<T, P>& v2, argument
43 Result[0][1] = v2.x;
44 Result[1][1] = v2.y;
45 Result[2][1] = v2.z;
72 const tvec4<T, P>& v2, argument
81 Result[0][1] = v2.x;
82 Result[1][1] = v2.y;
[all …]
Dmatrix_major_storage.hpp33 tvec2<T, P> const & v2);
46 tvec3<T, P> const & v2,
60 tvec4<T, P> const & v2,
75 tvec2<T, P> const & v2);
88 tvec3<T, P> const & v2,
102 tvec4<T, P> const & v2,
Dspline.inl10 genType const & v2, argument
25 return (f1 * v1 + f2 * v2 + f3 * v3 + f4 * v4) / typename genType::value_type(2);
34 genType const & v2, argument
48 return f1 * v1 + f2 * v2 + f3 * t1 + f4 * t2;
55 genType const & v2, argument
61 return ((v1 * s + v2) * s + v3) * s + v4;
Dspline.hpp33 genType const & v2,
44 genType const & v2,
53 genType const & v2,
Dmixed_product.inl10 tvec3<T, P> const & v2, argument
14 return dot(cross(v1, v2), v3);
/hardware/google/gfxstream/guest/mesa/include/CL/
Dcl_platform.h567 __cl_char2 v2; member
580 __cl_char2 v2[2]; member
599 __cl_char2 v2[4]; member
618 __cl_char2 v2[8]; member
642 __cl_uchar2 v2; member
655 __cl_uchar2 v2[2]; member
674 __cl_uchar2 v2[4]; member
693 __cl_uchar2 v2[8]; member
717 __cl_short2 v2; member
730 __cl_short2 v2[2]; member
[all …]
/hardware/google/gfxstream/host/tests/
DMagma_unittest.cpp44 auto v2 = m.get(k2); in TEST_F() local
45 ASSERT_NE(v2, nullptr); in TEST_F()
46 EXPECT_EQ(v2->x, 5 + 3); in TEST_F()
58 EXPECT_EQ(v2, v2b); in TEST_F()
/hardware/google/gfxstream/guest/mesa/src/util/
Dxxhash.h327 XXH32_hash_t v2; member
341 XXH64_hash_t v2; member
792 xxh_u32 v2 = seed + PRIME32_2; in XXH32_endian_align() local
798 v2 = XXH32_round(v2, XXH_get32bits(input)); input += 4; in XXH32_endian_align()
803 h32 = XXH_rotl32(v1, 1) + XXH_rotl32(v2, 7) in XXH32_endian_align()
859 state.v2 = seed + PRIME32_2; in XXH32_reset()
894 state->v2 = XXH32_round(state->v2, XXH_readLE32(p32)); p32++; in XXH32_update()
905 xxh_u32 v2 = state->v2; in XXH32_update() local
911 v2 = XXH32_round(v2, XXH_readLE32(p)); p+=4; in XXH32_update()
917 state->v2 = v2; in XXH32_update()
[all …]
/hardware/google/gfxstream/include/OpenGLESDispatch/
Dgles31_only_functions.h26 …nt program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2), (program, location, v0, v1, v2)) \
27 …ram, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3), (program, location, v0, v1,
30 … (GLuint program, GLint location, GLint v0, GLint v1, GLint v2), (program, location, v0, v1, v2)) \
31 …nt program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3), (program, location, v0, v1, v…
34 …(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2), (program, location, v0, v1, v2)) \
35 …t program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3), (program, location, v0, v1, v…
Dgles31_only_static_translator_namespaced_header.h26 …GL_APIENTRY glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
27 …glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
30 … void GL_APIENTRY glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
31 …PIENTRY glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
34 …oid GL_APIENTRY glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2);
35 …ENTRY glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3);
/hardware/google/gfxstream/host/gl/OpenGLESDispatch/
Dgles31_only_dispatch_logging_wrappers.impl79 …form3f_dispatchLoggingWrapper(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) {
80 …"glProgramUniform3f(program:%d, location:%d, v0:%f, v1:%f, v2:%f)", program, location, v0, v1, v2);
81 GLDispatch::glProgramUniform3f_underlying(program, location, v0, v1, v2);
84 …tchLoggingWrapper(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) {
85 …ogramUniform4f(program:%d, location:%d, v0:%f, v1:%f, v2:%f, v3:%f)", program, location, v0, v1, v…
86 GLDispatch::glProgramUniform4f_underlying(program, location, v0, v1, v2, v3);
99 …ramUniform3i_dispatchLoggingWrapper(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) {
100 …"glProgramUniform3i(program:%d, location:%d, v0:%d, v1:%d, v2:%d)", program, location, v0, v1, v2);
101 GLDispatch::glProgramUniform3i_underlying(program, location, v0, v1, v2);
104 …4i_dispatchLoggingWrapper(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) {
[all …]
Dgles31_only.entries36 void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
37 void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat…
40 void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
41 void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
44 void glProgramUniform3ui(GLuint program, GLint location, GLint v0, GLint v1, GLuint v2);
45 void glProgramUniform4ui(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLuint v3);
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DAstc.comp263 void swap(inout ivec4 v1, inout ivec4 v2) {
265 v1 = v2;
266 v2 = tmp;
286 int v2 = int(vals[start_idx + 2]);
309 endpoint_low_rgba = ivec4(v0, v0, v0, v2);
315 bit_transfer_signed(v3, v2);
317 endpoint_low_rgba = clamp(ivec4(v0, v0, v0, v2), 0, 255);
319 endpoint_high_rgba = clamp(ivec4(high_luma, high_luma, high_luma, v2 + v3), 0, 255);
323 endpoint_high_rgba = ivec4(v0, v1, v2, 255);
332 const int s0 = v0 + v2 + v4;
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_unquantize.cpp384 int v2 = unquant_color(quant_level, input[2]); in hdr_rgbo_unpack() local
387 int modeval = ((v0 & 0xC0) >> 6) | (((v1 & 0x80) >> 7) << 2) | (((v2 & 0x80) >> 7) << 3); in hdr_rgbo_unpack()
409 int blue = v2 & 0x1F; in hdr_rgbo_unpack()
414 int bit2 = (v2 >> 6) & 1; in hdr_rgbo_unpack()
415 int bit3 = (v2 >> 5) & 1; in hdr_rgbo_unpack()
537 int v2 = unquant_color(quant_level, input[2]); in hdr_rgb_unpack() local
543 int modeval = ((v1 & 0x80) >> 7) | (((v2 & 0x80) >> 7) << 1) | (((v3 & 0x80) >> 7) << 2); in hdr_rgb_unpack()
549 output0 = vint4(v0 << 8, v2 << 8, (v4 & 0x7F) << 9, 0x7800); in hdr_rgb_unpack()
555 int b0 = v2 & 0x3f; in hdr_rgb_unpack()
566 int bit0 = (v2 >> 6) & 1; in hdr_rgb_unpack()
/hardware/interfaces/camera/provider/
DREADME.md29 and operation of the pre-HIDL camera HAL module v2.4.
37 callbacks v2.4.

12345