/hardware/google/gfxstream/third-party/glm/include/glm/gtc/ |
D | matrix_inverse.inl | 7 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/astc-encoder/Source/ |
D | astcenc_vecmathlib_none_4.h | 70 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 …]
|
D | astcenc_vecmathlib_avx2_8.h | 40 #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 …]
|
D | astcenc_vecmathlib_sse_4.h | 65 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 …]
|
D | astcenc_vecmathlib_neon_4.h | 64 m = vld1q_f32(p); in vfloat4() 74 m = vdupq_n_f32(a); in vfloat4() 85 m = vld1q_f32(v); in vfloat4() 93 m = a; in vfloat4() 101 return vgetq_lane_f32(m, l); in lane() 109 m = vld1q_lane_f32(&a, m, l); in set_lane() 172 float32x4_t m; member 197 m = vld1q_s32(p); in vint4() 209 m = vreinterpretq_s32_u32(vmovl_u16(t16)); in vint4() 219 m = vdupq_n_s32(a); in vint4() [all …]
|
/hardware/google/gfxstream/third-party/glm/include/glm/detail/ |
D | func_matrix.inl | 28 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 …]
|
D | type_mat3x3.inl | 24 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 …]
|
D | type_mat4x3.inl | 23 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 …]
|
D | type_mat4x2.inl | 30 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 …]
|
D | type_mat4x4.inl | 25 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 …]
|
D | type_mat3x2.inl | 22 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 …]
|
D | type_mat2x2.inl | 23 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 …]
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | SessionTaskMapTest.cpp | 44 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/graphics/common/libhwc2.1/libdrmresource/drm/ |
D | drmmode.cpp | 32 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/libhardware/modules/camera/3_0/ |
D | ExampleCamera.cpp | 48 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/ |
D | UsbCamera.cpp | 52 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/host/apigen-codec-common/X11/ |
D | Xthreads.h | 51 # 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/google/gfxstream/third-party/glm/include/glm/gtx/ |
D | matrix_query.inl | 7 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 …]
|
D | simd_mat4.inl | 88 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 …]
|
D | matrix_major_storage.inl | 23 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 …]
|
D | simd_mat4.hpp | 71 mat4x4 const & m); 93 fmat4x4SIMD & operator= (fmat4x4SIMD const & m) GLM_DEFAULT; 95 fmat4x4SIMD & operator+= (fmat4x4SIMD const & m); 97 fmat4x4SIMD & operator-= (fmat4x4SIMD const & m); 99 fmat4x4SIMD & operator*= (fmat4x4SIMD const & m); 101 fmat4x4SIMD & operator/= (fmat4x4SIMD const & m); 107 fmat4x4SIMD operator+ (fmat4x4SIMD const & m, float const & s); 108 fmat4x4SIMD operator+ (float const & s, fmat4x4SIMD const & m); 111 fmat4x4SIMD operator- (fmat4x4SIMD const & m, float const & s); 112 fmat4x4SIMD operator- (float const & s, fmat4x4SIMD const & m); [all …]
|
D | matrix_transform_2d.inl | 12 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/aemu/host-common/ |
D | MediaCudaUtils.cpp | 79 CUDA_MEMCPY2D m = {0}; in media_cuda_copy_decoded_frame() local 80 m.srcMemoryType = CU_MEMORYTYPE_DEVICE; in media_cuda_copy_decoded_frame() 81 m.srcDevice = dpSrcFrame; in media_cuda_copy_decoded_frame() 82 m.srcPitch = copy_context->src_pitch; in media_cuda_copy_decoded_frame() 83 m.dstMemoryType = CU_MEMORYTYPE_ARRAY; in media_cuda_copy_decoded_frame() 84 m.dstArray = texture_ptr; in media_cuda_copy_decoded_frame() 85 m.dstPitch = copy_context->dest_width * 1; in media_cuda_copy_decoded_frame() 86 m.WidthInBytes = copy_context->dest_width * 1; in media_cuda_copy_decoded_frame() 87 m.Height = copy_context->dest_height; in media_cuda_copy_decoded_frame() 89 (int)m.dstPitch, (int)m.WidthInBytes, (int)m.Height, in media_cuda_copy_decoded_frame() [all …]
|
/hardware/google/aemu/base/ |
D | HybridEntityManager_unittest.cpp | 25 TestHCM m; in TEST() local 28 m.add(i, 1); in TEST() 31 indices[0] = m.addFixed(kTestMaxIndex, 0, 1); in TEST() 32 indices[1] = m.add(100, 1); in TEST() 33 indices[2] = m.add(2, 1); in TEST() 34 m.remove(indices[1]); in TEST() 35 m.addFixed(indices[1], 1, 1); in TEST() 37 indices[3] = m.add(3, 1); in TEST() 38 EXPECT_EQ(0, *m.get_const(indices[0])); in TEST() 39 EXPECT_EQ(1, *m.get_const(indices[1])); in TEST() [all …]
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | softfloat.c | 146 double _mesa_roundtozero_f64(int64_t s, int64_t e, int64_t m) in _mesa_roundtozero_f64() argument 152 m = _mesa_shift_right_jam64(m, -e); in _mesa_roundtozero_f64() 154 } else if ((e > 0x7fd) || (0x8000000000000000 <= m)) { in _mesa_roundtozero_f64() 156 m = 0; in _mesa_roundtozero_f64() 157 result.u = (s << 63) + (e << 52) + m; in _mesa_roundtozero_f64() 163 m >>= 10; in _mesa_roundtozero_f64() 164 if (m == 0) in _mesa_roundtozero_f64() 167 result.u = (s << 63) + (e << 52) + m; in _mesa_roundtozero_f64() 175 float _mesa_round_f32(int32_t s, int32_t e, int32_t m, bool rtz) in _mesa_round_f32() argument 182 m = _mesa_shift_right_jam32(m, -e); in _mesa_round_f32() [all …]
|