Home
last modified time | relevance | path

Searched full:m (Results 1 – 25 of 5742) sorted by relevance

12345678910>>...230

/hardware/google/gfxstream/third-party/glm/include/glm/gtc/
Dmatrix_inverse.inl7 GLM_FUNC_QUALIFIER tmat3x3<T, P> affineInverse(tmat3x3<T, P> const & m) argument
9 tmat2x2<T, P> const Inv(inverse(tmat2x2<T, P>(m)));
14 tvec3<T, P>(-Inv * tvec2<T, P>(m[2]), static_cast<T>(1)));
18 GLM_FUNC_QUALIFIER tmat4x4<T, P> affineInverse(tmat4x4<T, P> const & m) argument
20 tmat3x3<T, P> const Inv(inverse(tmat3x3<T, P>(m)));
26 tvec4<T, P>(-Inv * tvec3<T, P>(m[3]), static_cast<T>(1)));
30 GLM_FUNC_QUALIFIER tmat2x2<T, P> inverseTranspose(tmat2x2<T, P> const & m) argument
32 T Determinant = m[0][0] * m[1][1] - m[1][0] * m[0][1];
35 + m[1][1] / Determinant,
36 - m[0][1] / Determinant,
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/detail/
Dfunc_matrix.inl28 GLM_FUNC_QUALIFIER static tmat2x2<T, P> call(tmat2x2<T, P> const & m)
31 result[0][0] = m[0][0];
32 result[0][1] = m[1][0];
33 result[1][0] = m[0][1];
34 result[1][1] = m[1][1];
42 GLM_FUNC_QUALIFIER static tmat3x2<T, P> call(tmat2x3<T, P> const & m)
45 result[0][0] = m[0][0];
46 result[0][1] = m[1][0];
47 result[1][0] = m[0][1];
48 result[1][1] = m[1][1];
[all …]
Dtype_mat3x3.inl24 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3(tmat3x3<T, P> const & m) argument
26 this->value[0] = m.value[0];
27 this->value[1] = m.value[1];
28 this->value[2] = m.value[2];
34 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3(tmat3x3<T, Q> const & m) argument
36 this->value[0] = m.value[0];
37 this->value[1] = m.value[1];
38 this->value[2] = m.value[2];
116 GLM_FUNC_QUALIFIER tmat3x3<T, P>::tmat3x3(tmat3x3<U, Q> const & m) argument
118 this->value[0] = col_type(m[0]);
[all …]
Dtype_mat4x2.inl30 GLM_FUNC_QUALIFIER tmat4x2<T, P>::tmat4x2(tmat4x2<T, P> const & m) argument
32 this->value[0] = m.value[0];
33 this->value[1] = m.value[1];
34 this->value[2] = m.value[2];
35 this->value[3] = m.value[3];
41 GLM_FUNC_QUALIFIER tmat4x2<T, P>::tmat4x2(tmat4x2<T, Q> const & m) argument
43 this->value[0] = m.value[0];
44 this->value[1] = m.value[1];
45 this->value[2] = m.value[2];
46 this->value[3] = m.value[3];
[all …]
Dtype_mat2x2.inl23 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, P> const & m) argument
25 this->value[0] = m.value[0];
26 this->value[1] = m.value[1];
32 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<T, Q> const & m) argument
34 this->value[0] = m.value[0];
35 this->value[1] = m.value[1];
93 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat2x2<U, Q> const & m) argument
95 this->value[0] = col_type(m[0]);
96 this->value[1] = col_type(m[1]);
100 GLM_FUNC_QUALIFIER tmat2x2<T, P>::tmat2x2(tmat3x3<T, P> const & m) argument
[all …]
Dtype_mat3x2.inl22 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2(tmat3x2<T, P> const & m) argument
24 this->value[0] = m.value[0];
25 this->value[1] = m.value[1];
26 this->value[2] = m.value[2];
32 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2(tmat3x2<T, Q> const & m) argument
34 this->value[0] = m.value[0];
35 this->value[1] = m.value[1];
36 this->value[2] = m.value[2];
114 GLM_FUNC_QUALIFIER tmat3x2<T, P>::tmat3x2(tmat3x2<U, Q> const & m) argument
116 this->value[0] = col_type(m[0]);
[all …]
Dtype_mat4x3.inl23 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, P> const & m) argument
25 this->value[0] = m.value[0];
26 this->value[1] = m.value[1];
27 this->value[2] = m.value[2];
28 this->value[3] = m.value[3];
34 GLM_FUNC_QUALIFIER tmat4x3<T, P>::tmat4x3(tmat4x3<T, Q> const & m) argument
36 this->value[0] = m.value[0];
37 this->value[1] = m.value[1];
38 this->value[2] = m.value[2];
39 this->value[3] = m.value[3];
[all …]
Dtype_mat4x4.inl25 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(tmat4x4<T, P> const & m) argument
27 this->value[0] = m[0];
28 this->value[1] = m[1];
29 this->value[2] = m[2];
30 this->value[3] = m[3];
36 GLM_FUNC_QUALIFIER tmat4x4<T, P>::tmat4x4(tmat4x4<T, Q> const & m) argument
38 this->value[0] = m[0];
39 this->value[1] = m[1];
40 this->value[2] = m[2];
41 this->value[3] = m[3];
[all …]
Dtype_mat2x4.inl21 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x4<T, P> const & m) argument
23 this->value[0] = m.value[0];
24 this->value[1] = m.value[1];
30 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x4<T, Q> const & m) argument
32 this->value[0] = m.value[0];
33 this->value[1] = m.value[1];
94 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x4<U, Q> const & m) argument
96 this->value[0] = col_type(m[0]);
97 this->value[1] = col_type(m[1]);
101 GLM_FUNC_QUALIFIER tmat2x4<T, P>::tmat2x4(tmat2x2<T, P> const & m) argument
[all …]
Dtype_mat3x4.inl22 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4(tmat3x4<T, P> const & m) argument
24 this->value[0] = m.value[0];
25 this->value[1] = m.value[1];
26 this->value[2] = m.value[2];
32 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4(tmat3x4<T, Q> const & m) argument
34 this->value[0] = m.value[0];
35 this->value[1] = m.value[1];
36 this->value[2] = m.value[2];
114 GLM_FUNC_QUALIFIER tmat3x4<T, P>::tmat3x4(tmat3x4<U, Q> const & m) argument
116 this->value[0] = col_type(m[0]);
[all …]
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_vecmathlib_none_4.h70 m[0] = p[0]; in vfloat4()
71 m[1] = p[1]; in vfloat4()
72 m[2] = p[2]; in vfloat4()
73 m[3] = p[3]; in vfloat4()
83 m[0] = a; in vfloat4()
84 m[1] = a; in vfloat4()
85 m[2] = a; in vfloat4()
86 m[3] = a; in vfloat4()
96 m[0] = a; in vfloat4()
97 m[1] = b; in vfloat4()
[all …]
Dastcenc_vecmathlib_sse_4.h65 m = _mm_loadu_ps(p); in vfloat4()
75 m = _mm_set1_ps(a); in vfloat4()
85 m = _mm_set_ps(d, c, b, a); in vfloat4()
93 m = a; in vfloat4()
101 return _mm_cvtss_f32(_mm_shuffle_ps(m, m, l)); in lane()
111 m = _mm_insert_ps(m, v, l << 6 | l << 4); in set_lane()
114 _mm_store_ps(idx, m); in set_lane()
116 m = _mm_load_ps(idx); in set_lane()
157 vfloat4 result(_mm_shuffle_ps(m, m, l0 | l1 << 2)); in swz()
168 vfloat4 result(_mm_shuffle_ps(m, m, l0 | l1 << 2 | l2 << 4)); in swz()
[all …]
Dastcenc_vecmathlib_avx2_8.h40 #define astcenc_mm256_set_m128i(m, n) _mm256_insertf128_si256(_mm256_castsi128_si256((n)), (m), 1) argument
64 m = _mm256_loadu_ps(p); in vfloat8()
74 m = _mm256_set1_ps(a); in vfloat8()
86 m = _mm256_set_ps(h, g, f, e, d, c, b, a); in vfloat8()
94 m = a; in vfloat8()
103 return m.m256_f32[l]; in lane()
105 union { __m256 m; float f[8]; } cvt; in lane()
106 cvt.m = m; in lane()
146 __m256 m; member
171 m = _mm256_loadu_si256(reinterpret_cast<const __m256i*>(p)); in vint8()
[all …]
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DSessionTaskMapTest.cpp44 std::vector<int64_t> getSessions(int taskId, const SessionTaskMap &m) { in getSessions() argument
46 m.forEachSessionInTask( in getSessions()
53 std::vector<int> getTasks(int64_t sessionId, const SessionTaskMap &m) { in getTasks() argument
55 m.forEachSessionValTasks([&](int64_t sessId, const auto & /*sve*/, const auto &linkedTasks) { in getTasks()
66 SessionTaskMap m; in TEST() local
67 EXPECT_TRUE(m.add(1, makeSession(1000), {10, 20, 30})); in TEST()
68 EXPECT_TRUE(m.add(2, makeSession(2000), {40, 50})); in TEST()
69 EXPECT_TRUE(m.add(3, makeSession(2000), {60})); in TEST()
70 EXPECT_FALSE(m.add(3, makeSession(2000), {70})); in TEST()
74 SessionTaskMap m; in TEST() local
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/simd/
Dmatrix.h34 GLM_FUNC_QUALIFIER glm_vec4 glm_mat4_mul_vec4(glm_vec4 const m[4], glm_vec4 v) in glm_mat4_mul_vec4()
41 __m128 m0 = _mm_mul_ps(m[0], v0); in glm_mat4_mul_vec4()
42 __m128 m1 = _mm_mul_ps(m[1], v1); in glm_mat4_mul_vec4()
43 __m128 m2 = _mm_mul_ps(m[2], v2); in glm_mat4_mul_vec4()
44 __m128 m3 = _mm_mul_ps(m[3], v3); in glm_mat4_mul_vec4()
53 GLM_FUNC_QUALIFIER __m128 glm_vec4_mul_mat4(glm_vec4 v, glm_vec4 const m[4]) in glm_vec4_mul_mat4()
55 __m128 i0 = m[0]; in glm_vec4_mul_mat4()
56 __m128 i1 = m[1]; in glm_vec4_mul_mat4()
57 __m128 i2 = m[2]; in glm_vec4_mul_mat4()
58 __m128 i3 = m[3]; in glm_vec4_mul_mat4()
[all …]
/hardware/google/graphics/common/libhwc2.1/libdrmresource/drm/
Ddrmmode.cpp32 DrmMode::DrmMode(drmModeModeInfoPtr m) in DrmMode() argument
34 clock_(m->clock), in DrmMode()
35 h_display_(m->hdisplay), in DrmMode()
36 h_sync_start_(m->hsync_start), in DrmMode()
37 h_sync_end_(m->hsync_end), in DrmMode()
38 h_total_(m->htotal), in DrmMode()
39 h_skew_(m->hskew), in DrmMode()
40 v_display_(m->vdisplay), in DrmMode()
41 v_sync_start_(m->vsync_start), in DrmMode()
42 v_sync_end_(m->vsync_end), in DrmMode()
[all …]
/hardware/google/gfxstream/third-party/glm/include/glm/gtx/
Dmatrix_query.inl7 GLM_FUNC_QUALIFIER bool isNull(tmat2x2<T, P> const & m, T const & epsilon) argument
10 for(length_t i = 0; result && i < m.length() ; ++i)
11 result = isNull(m[i], epsilon);
16 GLM_FUNC_QUALIFIER bool isNull(tmat3x3<T, P> const & m, T const & epsilon) argument
19 for(length_t i = 0; result && i < m.length() ; ++i)
20 result = isNull(m[i], epsilon);
25 GLM_FUNC_QUALIFIER bool isNull(tmat4x4<T, P> const & m, T const & epsilon) argument
28 for(length_t i = 0; result && i < m.length() ; ++i)
29 result = isNull(m[i], epsilon);
34 GLM_FUNC_QUALIFIER bool isIdentity(matType<T, P> const & m, T const & epsilon) argument
[all …]
Dsimd_mat4.inl88 mat4 const & m argument
91 this->Data[0] = fvec4SIMD(m[0]);
92 this->Data[1] = fvec4SIMD(m[1]);
93 this->Data[2] = fvec4SIMD(m[2]);
94 this->Data[3] = fvec4SIMD(m[3]);
114 fmat4x4SIMD const & m argument
117 this->Data[0] = m[0];
118 this->Data[1] = m[1];
119 this->Data[2] = m[2];
120 this->Data[3] = m[3];
[all …]
Dmatrix_major_storage.inl23 const tmat2x2<T, P>& m) argument
26 Result[0][0] = m[0][0];
27 Result[0][1] = m[1][0];
28 Result[1][0] = m[0][1];
29 Result[1][1] = m[1][1];
54 const tmat3x3<T, P>& m) argument
57 Result[0][0] = m[0][0];
58 Result[0][1] = m[1][0];
59 Result[0][2] = m[2][0];
60 Result[1][0] = m[0][1];
[all …]
Dmatrix_transform_2d.inl12 tmat3x3<T, P> const & m, argument
15 tmat3x3<T, P> Result(m);
16 Result[2] = m[0] * v[0] + m[1] * v[1] + m[2];
23 tmat3x3<T, P> const & m, argument
31 Result[0] = m[0] * c + m[1] * s;
32 Result[1] = m[0] * -s + m[1] * c;
33 Result[2] = m[2];
39 tmat3x3<T, P> const & m, argument
43 Result[0] = m[0] * v[0];
44 Result[1] = m[1] * v[1];
[all …]
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXthreads.h51 # define xmutex_init(m) mutex_init(m) argument
52 # define xmutex_clear(m) mutex_clear(m) argument
53 # define xmutex_lock(m) mutex_lock(m) argument
54 # define xmutex_unlock(m) mutex_unlock(m) argument
55 # define xmutex_set_name(m,str) mutex_set_name(m,str) argument
58 # define xcondition_wait(cv,m) condition_wait(cv,m) argument
87 # define xmutex_init(m) mutex_init(m,USYNC_THREAD,0) argument
88 # define xmutex_clear(m) mutex_destroy(m) argument
89 # define xmutex_lock(m) mutex_lock(m) argument
90 # define xmutex_unlock(m) mutex_unlock(m) argument
[all …]
/hardware/libhardware/modules/camera/3_0/
DExampleCamera.cpp48 Metadata m; in initStaticInfo() local
52 m.addInt32(ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, in initStaticInfo()
57 m.addInt32(ANDROID_CONTROL_AE_COMPENSATION_RANGE, in initStaticInfo()
62 m.addRational(ANDROID_CONTROL_AE_COMPENSATION_STEP, in initStaticInfo()
67 m.addInt32(ANDROID_CONTROL_MAX_REGIONS, in initStaticInfo()
73 m.addInt32(ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES, in initStaticInfo()
78 m.addInt32(ANDROID_JPEG_MAX_SIZE, in initStaticInfo()
84 m.addFloat(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, in initStaticInfo()
90 m.addInt32(ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, in initStaticInfo()
104 m.addInt32(ANDROID_SCALER_AVAILABLE_FORMATS, in initStaticInfo()
[all …]
/hardware/libhardware/modules/usbcamera/
DUsbCamera.cpp52 Metadata m; in initStaticInfo() local
56 m.addInt32(ANDROID_CONTROL_AE_AVAILABLE_TARGET_FPS_RANGES, in initStaticInfo()
61 m.addInt32(ANDROID_CONTROL_AE_COMPENSATION_RANGE, in initStaticInfo()
66 m.addRational(ANDROID_CONTROL_AE_COMPENSATION_STEP, in initStaticInfo()
71 m.addInt32(ANDROID_CONTROL_MAX_REGIONS, in initStaticInfo()
77 m.addInt32(ANDROID_JPEG_AVAILABLE_THUMBNAIL_SIZES, in initStaticInfo()
82 m.addInt32(ANDROID_JPEG_MAX_SIZE, in initStaticInfo()
88 m.addFloat(ANDROID_LENS_INFO_AVAILABLE_FOCAL_LENGTHS, in initStaticInfo()
94 m.addInt32(ANDROID_REQUEST_MAX_NUM_OUTPUT_STREAMS, in initStaticInfo()
108 m.addInt32(ANDROID_SCALER_AVAILABLE_FORMATS, in initStaticInfo()
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/images/
Dsparseimage_alignedmipsize.svg223M 13.229167,21.833334 H 66.145833 V 74.75 H 13.229167 Z m 5.291667,0 V 74.75 M 29.104167,21.833334…
228M 71.437501,21.833335 H 124.35416 V 74.75 H 71.437501 Z m 5.291667,0 V 74.75 M 87.312501,21.833335…
233M 129.64583,21.833334 H 182.5625 V 74.75 h -52.91667 z m 5.29167,0 V 74.75 M 145.52083,21.833334 V…
238M 13.229167,80.041667 H 39.687305 V 106.49981 H 13.229167 Z m 5.291628,0 v 26.458143 m 5.291627,-2…
243M 71.437501,80.041667 H 97.895639 V 106.49981 H 71.437501 Z m 5.291628,0 v 26.458143 m 5.291627,-2…
248m 129.64583,80.041667 h 26.45814 v 26.458143 h -26.45814 z m 5.29163,0 v 26.458143 m 5.29163,-26.4…
253m 13.229167,111.79167 15.875001,-3e-5 v 26.45815 l -15.875001,3e-5 z m 5.291629,0 v 26.45815 m 5.2…
259m 71.437501,111.79167 15.875001,-3e-5 v 26.45815 l -15.875001,3e-5 z m 5.291628,0 v 26.45815 m 5.2…
265m 129.64583,111.79167 15.875,-3e-5 v 26.45815 l -15.875,3e-5 z m 5.29163,0 v 26.45815 m 5.29162,-2…
Dsparseimage_singlemiptail.svg257M 13.229167,21.833333 H 66.145834 V 74.749999 H 13.229167 Z m 5.291667,0 V 74.749999 M 29.104168,2…
262M 71.437501,21.833334 H 124.35417 V 74.749999 H 71.437501 Z m 5.291669,0 V 74.749999 M 87.312503,2…
267m 129.64584,21.833333 h 52.91667 v 52.916666 h -52.91667 z m 5.29167,0 v 52.916666 m 10.58333,-52.…
272M 13.229167,80.041666 H 39.687305 V 106.49981 H 13.229167 Z m 5.291628,0 V 106.49981 M 23.812422,8…
277M 71.437501,80.041666 H 97.895647 V 106.49981 H 71.437501 Z m 5.291629,0 v 26.458144 m 5.291627,-2…
282m 129.64584,80.041666 h 26.45814 v 26.458144 h -26.45814 z m 5.29163,0 v 26.458144 m 5.29163,-26.4…
287 …d="m 19.843748,143.5417 h 3.96875 V 132.95836 H 13.229167 v 3.96875 m 5.29166,0 v -3.96875 m 1.322…
292 …d="m 18.520827,143.5417 v -6.61459 m 1.322921,1.32292 h -6.614581 m 6.614581,5.29167 h -6.614581 v…
297 …"m 13.229167,114.43752 v 13.22916 h 13.22916 v -13.22916 h -13.22916 m 5.291659,0 v 13.22916 m 5.2…
302m 26.458338,127.66668 h 2.64583 V 111.79169 H 13.229167 v 2.64584 m 5.29167,-2.64584 v 2.64584 m 5…
[all …]

12345678910>>...230