/hardware/google/gfxstream/guest/mesa/src/util/ |
D | u_math.c | 144 float *r0, *r1, *r2, *r3; in util_invert_mat4x4() local 154 r0 = wtmp[0], r1 = wtmp[1], r2 = wtmp[2], r3 = wtmp[3]; in util_invert_mat4x4() 162 r2[0] = MAT(m, 2, 0), r2[1] = MAT(m, 2, 1), r2[2] = MAT(m, 2, 2), r2[3] = MAT(m, 2, 3), in util_invert_mat4x4() 163 r2[6] = 1.0, r2[4] = r2[5] = r2[7] = 0.0, in util_invert_mat4x4() 169 if (fabsf(r3[0]) > fabsf(r2[0])) in util_invert_mat4x4() 170 SWAP_ROWS(r3, r2); in util_invert_mat4x4() 171 if (fabsf(r2[0]) > fabsf(r1[0])) in util_invert_mat4x4() 172 SWAP_ROWS(r2, r1); in util_invert_mat4x4() 180 m2 = r2[0] / r0[0]; in util_invert_mat4x4() 184 r2[1] -= m2 * s; in util_invert_mat4x4() [all …]
|
D | register_allocate.c | 131 ra_add_conflict_list(struct ra_regs *regs, unsigned int r1, unsigned int r2) in ra_add_conflict_list() argument 136 util_dynarray_append(®1->conflict_list, unsigned int, r2); in ra_add_conflict_list() 138 BITSET_SET(reg1->conflicts, r2); in ra_add_conflict_list() 142 ra_add_reg_conflict(struct ra_regs *regs, unsigned int r1, unsigned int r2) in ra_add_reg_conflict() argument 144 if (!BITSET_TEST(regs->regs[r1].conflicts, r2)) { in ra_add_reg_conflict() 145 ra_add_conflict_list(regs, r1, r2); in ra_add_reg_conflict() 146 ra_add_conflict_list(regs, r2, r1); in ra_add_reg_conflict() 819 struct ra_class *c2, unsigned int r2) in ra_class_allocations_conflict() argument 825 int r2_end = r2 + c2->contig_len; in ra_class_allocations_conflict() 826 return !(r2 >= r1_end || r1 >= r2_end); in ra_class_allocations_conflict() [all …]
|
D | register_allocate_internal.h | 173 struct ra_class *c2, unsigned int r2);
|
D | register_allocate.h | 60 unsigned int r1, unsigned int r2);
|
/hardware/google/graphics/common/libacryl/ |
D | acrylic_internal.h | 64 static inline bool operator==(hw2d_rect_t r1, hw2d_rect_t r2) 66 return (r1.pos == r2.pos) && (r1.size == r2.size); 69 static inline bool operator!=(hw2d_rect_t r1, hw2d_rect_t r2) 71 return !(r1 == r2); 74 static inline bool operator==(hw2d_rect_t r1, hwc_rect_t r2) 76 return (r1.pos.hori == r2.left) && (r1.pos.vert == r2.top) && 77 ((r1.pos.hori + r1.size.hori) == r2.right) && 78 ((r1.pos.vert + r1.size.vert) == r2.bottom); 82 static inline bool operator==(hwc_rect_t r1, hw2d_rect_t r2) 84 return operator==(r2, r1); [all …]
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/ |
D | test_simd.cpp | 100 vfloat r2 = change_sign(a2, b2); in TEST() local 101 EXPECT_EQ(r2.lane<0>(), -3.12f); in TEST() 121 vfloat r2 = atan(a2); in TEST() local 122 EXPECT_NEAR(r2.lane<0>(), 0.733616f, 0.005f); in TEST() 144 vfloat r2 = atan2(a2, b2); in TEST() local 145 EXPECT_NEAR(r2.lane<0>(), 2.360342f, 0.005f); in TEST() 549 vmask4 r2 = a2 == b2; in TEST() local 550 EXPECT_EQ(0x1u, mask(r2)); in TEST() 551 EXPECT_EQ(true, any(r2)); in TEST() 552 EXPECT_EQ(false, all(r2)); in TEST() [all …]
|
/hardware/qcom/display/msm8960/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8994/libcopybit/ |
D | software_converter.cpp | 99 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 103 r2++; in convertYV12toYCrCb420SP() 107 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 108 r2++; in convertYV12toYCrCb420SP() 109 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 113 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/sm8150/display/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8998/libcopybit/ |
D | software_converter.cpp | 100 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 104 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 109 r2++; in convertYV12toYCrCb420SP() 110 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 113 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 114 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8909w_3100/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8996/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8226/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/sm7250/display/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8909/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/qcom/display/msm8084/libcopybit/ |
D | software_converter.cpp | 98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local 102 r2++; in convertYV12toYCrCb420SP() 106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 107 r2++; in convertYV12toYCrCb420SP() 108 newChroma[r2*width] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP() 111 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; in convertYV12toYCrCb420SP() 112 newChroma[r2*width + j + 1] = oldChroma[r1*c_width+i+c_size]; in convertYV12toYCrCb420SP()
|
/hardware/google/gfxstream/host/apigen-codec-common/X11/ |
D | Xregion.h | 90 #define EXTENTCHECK(r1, r2) \ argument 91 ((r1)->x2 > (r2)->x1 && \ 92 (r1)->x1 < (r2)->x2 && \ 93 (r1)->y2 > (r2)->y1 && \ 94 (r1)->y1 < (r2)->y2)
|
/hardware/google/gfxstream/common/etc/ |
D | etc.cpp | 299 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_T() local 303 r2 = convert4To8(high >> 12); in etc2_decode_block_T() 313 clrTable[3] = clamp(r2 + intenseMod); in etc2_decode_block_T() 316 clrTable[6] = r2; in etc2_decode_block_T() 319 clrTable[9] = clamp(r2 - intenseMod); in etc2_decode_block_T() 328 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_H() local 332 r2 = convert4To8(high >> 11); in etc2_decode_block_H() 338 intenseIdx |= (((r1 << 16) | (g1 << 8) | b1) >= ((r2 << 16) | (g2 << 8) | b2)); in etc2_decode_block_H() 347 clrTable[6] = clamp(r2 + intenseMod); in etc2_decode_block_H() 350 clrTable[9] = clamp(r2 - intenseMod); in etc2_decode_block_H() [all …]
|
/hardware/interfaces/drm/1.4/vts/functional/ |
D | drm_hal_test.cpp | 104 bool r2; in TEST_P() local 106 r2 = drm->requiresSecureDecoderDefault(mime); in TEST_P() 109 r2 = drm->requiresSecureDecoder(mime, sL); in TEST_P() 111 EXPECT_EQ(r1, r2); in TEST_P()
|
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/ |
D | Etc2ShaderLib.comp | 124 int r1, r2, g1, g2, b1, b2; 128 r2 = int(convert4To8(high >> 12)); 136 clrTable[1] = ivec3(_clamp(int(r2) + intenseMod), _clamp(int(g2) + intenseMod), 138 clrTable[2] = ivec3(r2, g2, b2); 139 clrTable[3] = ivec3(_clamp(int(r2) - intenseMod), _clamp(int(g2) - intenseMod), 234 int r1, r2, g1, g2, b1, b2; 250 r2 = int(convertDiff(rBase, high >> 24)); 258 r2 = int(convert4To8(high >> 24)); 278 decode_subblock(ret, r2, g2, b2, tableB, low, true, flipped, isPunchthroughAlpha, opaque);
|
/hardware/broadcom/wlan/bcmdhd/dhdutil/include/ |
D | hndrte_armtrap.h | 64 uint32 r2; /* a3 */ member
|
/hardware/google/graphics/common/libhwc2.1/libhwchelper/ |
D | ExynosHWCHelper.h | 493 inline hwc_rect expand(const hwc_rect &r1, const hwc_rect &r2) in expand() argument 496 i.top = min(r1.top, r2.top); in expand() 497 i.bottom = max(r1.bottom, r2.bottom); in expand() 498 i.left = min(r1.left, r2.left); in expand() 499 i.right = max(r1.right, r2.right); in expand()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_vecmathlib_sse_4.h | 819 __m128 r2 = _mm_and_ps(v, abs_mask); in round() 820 __m128 mask = _mm_cmple_ps(r2, no_fraction); in round() 821 r2 = _mm_andnot_ps(mask, v); in round() 823 return vfloat4(_mm_xor_ps(r1, r2)); in round()
|
/hardware/interfaces/tv/tuner/assets/ |
D | tuner_frontend_input.es | 2174 �S������y��S=�,�����tJ�A9��U����2����h�/��ߢ��^!�Z}#'�R��U�9�,r2�q�����ш��� 2533 …S��)e��G���Je*��0�A]���^�S��2�&��3܅�@�p@�~�m��a�'�ms�" �Fņ_���u#��O����`��T���r2 4713 …��v�O�=4���]���' �V�>P�Rh�k����?)�G����m�6���SKQW���4B�x#��`�r2-�\��}�6�~{f�ܿ�۴����… 4954 ��O��~��_. ����Y=���HCɥ��{�'}^����z�<q����V<�dA��Jn�A--n������N7�����=�r2�A����C�… 5473 …Q��q���2�)�y��Ý�L�9���n��n�\�S�wY���;����`h�/^X�e�k�6�*R��_��r2���5*"3�ؓ�!�?WIMA�… 5510 …��2�Sg��QsSZ `�w�-�-6}�-"`AB���2��[���;c��Ɨj�����/�zl���]t��%(@pS���c4p�� �r2���U��y�|���@�w
|
D | tuner_frontend_input.ts | 4649 …Sg��QsSZ `�w�-�-6}�-"`AB���G2��[���;c��Ɨj�����/�zl���]t��%(@pS���c4p�� �r2���U��y�|���@�w
|