Home
last modified time | relevance | path

Searched refs:r1 (Results 1 – 25 of 35) sorted by relevance

12

/hardware/google/gfxstream/guest/mesa/src/util/
Du_math.c144 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()
159 r1[0] = MAT(m, 1, 0), r1[1] = MAT(m, 1, 1), r1[2] = MAT(m, 1, 2), r1[3] = MAT(m, 1, 3), in util_invert_mat4x4()
160 r1[5] = 1.0, r1[4] = r1[6] = r1[7] = 0.0, 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()
173 if (fabsf(r1[0]) > fabsf(r0[0])) in util_invert_mat4x4()
174 SWAP_ROWS(r1, r0); in util_invert_mat4x4()
179 m1 = r1[0] / r0[0]; in util_invert_mat4x4()
183 r1[1] -= m1 * s; in util_invert_mat4x4()
[all …]
Dregister_allocate.c131 ra_add_conflict_list(struct ra_regs *regs, unsigned int r1, unsigned int r2) in ra_add_conflict_list() argument
133 struct ra_reg *reg1 = &regs->regs[r1]; 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()
818 ra_class_allocations_conflict(struct ra_class *c1, unsigned int r1, in ra_class_allocations_conflict() argument
824 int r1_end = r1 + c1->contig_len; in ra_class_allocations_conflict()
826 return !(r2 >= r1_end || r1 >= r2_end); in ra_class_allocations_conflict()
828 return BITSET_TEST(c1->regset->regs[r1].conflicts, r2); in ra_class_allocations_conflict()
/hardware/google/apf/apf2java/
Dapf2java.txt1 0: li r1, -8
2 2: lddw r0, [r1]
4 5: stdw r0, [r1]
6 8: li r1, -120
8 15: li r1, -124
17 54: li r1, -152
21 73: li r1, -156
24 83: li r1, -128
27 91: li r1, -56
30 106: li r1, -80
[all …]
/hardware/google/graphics/common/libacryl/
Dacrylic_internal.h64 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/apf/testdata/
Done_ra_with_counters_age_601.output3 0 0 0: li r1, -4
4 0 fffffffc 2: lddw r0, [r1]
6 2a fffffffc 5: stdw r0, [r1]
8 86dd fffffffc 8: li r1, -104
10 86dd ffffff98 15: li r1, -108
22 86 ffffff94 257: li r1, -84
29 259 ffffffac 495: li r1, -28
30 259 ffffffe4 497: lddw r0, [r1]
32 1 ffffffe4 500: stdw r0, [r1]
Done_ra_with_counters.output3 0 0 0: li r1, -4
4 0 fffffffc 2: lddw r0, [r1]
6 2a fffffffc 5: stdw r0, [r1]
8 86dd fffffffc 8: li r1, -104
10 86dd ffffff98 15: li r1, -108
22 86 ffffff94 257: li r1, -84
49 82 ffffffac 491: li r1, -56
51 82 ffffffc8 503: lddw r0, [r1]
53 1c ffffffc8 506: stdw r0, [r1]
Done_ra_with_counters_age_600.output3 0 0 0: li r1, -4
4 0 fffffffc 2: lddw r0, [r1]
6 2a fffffffc 5: stdw r0, [r1]
8 86dd fffffffc 8: li r1, -104
10 86dd ffffff98 15: li r1, -108
22 86 ffffff94 257: li r1, -84
49 82 ffffffac 491: li r1, -56
51 82 ffffffc8 503: lddw r0, [r1]
53 1c ffffffc8 506: stdw r0, [r1]
Done_ra_with_counters_age_30.output3 0 0 0: li r1, -4
4 0 fffffffc 2: lddw r0, [r1]
6 2a fffffffc 5: stdw r0, [r1]
8 86dd fffffffc 8: li r1, -104
10 86dd ffffff98 15: li r1, -108
22 86 ffffff94 257: li r1, -84
49 82 ffffffac 491: li r1, -56
51 82 ffffffc8 503: lddw r0, [r1]
53 1c ffffffc8 506: stdw r0, [r1]
/hardware/google/gfxstream/third-party/astc-encoder/Source/UnitTest/
Dtest_simd.cpp95 vfloat r1 = change_sign(a1, b1); in TEST() local
96 EXPECT_EQ(r1.lane<0>(), -1.0f); in TEST()
117 vfloat r1 = atan(a1); in TEST() local
118 EXPECT_NEAR(r1.lane<0>(), 0.000000f, 0.005f); in TEST()
139 vfloat r1 = atan2(a1, b1); in TEST() local
140 EXPECT_NEAR(r1.lane<0>(), 3.141592f, 0.005f); in TEST()
542 vmask4 r1 = a1 == b1; in TEST() local
543 EXPECT_EQ(0u, mask(r1)); in TEST()
544 EXPECT_EQ(false, any(r1)); in TEST()
545 EXPECT_EQ(false, all(r1)); in TEST()
[all …]
/hardware/qcom/display/msm8960/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8994/libcopybit/
Dsoftware_converter.cpp99 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
100 while(r1 < height/2) { in convertYV12toYCrCb420SP()
107 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
119 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/sm8150/display/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8998/libcopybit/
Dsoftware_converter.cpp100 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
101 while(r1 < height/2) { in convertYV12toYCrCb420SP()
108 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
120 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8909w_3100/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8996/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8226/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/sm7250/display/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8909/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/qcom/display/msm8084/libcopybit/
Dsoftware_converter.cpp98 unsigned int r1 = 0, r2 = 0, i = 0, j = 0; in convertYV12toYCrCb420SP() local
99 while(r1 < height/2) { in convertYV12toYCrCb420SP()
106 newChroma[r2*width + j] = oldChroma[r1*c_width+i]; 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()
118 r1++; in convertYV12toYCrCb420SP()
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXregion.h90 #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/
Detc.cpp299 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_T() local
300 r1 = convert4To8((((high >> 27) & 3) << 2) | ((high >> 24) & 3)); in etc2_decode_block_T()
310 clrTable[0] = r1; in etc2_decode_block_T()
328 int r1, r2, g1, g2, b1, b2; in etc2_decode_block_H() local
329 r1 = convert4To8(high >> 27); in etc2_decode_block_H()
338 intenseIdx |= (((r1 << 16) | (g1 << 8) | b1) >= ((r2 << 16) | (g2 << 8) | b2)); in etc2_decode_block_H()
341 clrTable[0] = clamp(r1 + intenseMod); in etc2_decode_block_H()
344 clrTable[3] = clamp(r1 - intenseMod); in etc2_decode_block_H()
394 int r1, r2, g1, g2, b1, b2; in etc2_decode_rgb_block() local
412 r1 = convert5To8(rBase); in etc2_decode_rgb_block()
[all …]
/hardware/google/gfxstream/host/gl/glestranslator/GLcommon/
Drgtc.cpp75 T r1 = static_cast<T>((data[0] >> 8) & 0xff); in rgtc_decode_subblock() local
77 T colors[8] = {r0, r1,}; in rgtc_decode_subblock()
79 typename get_expand_type<T>::type c1 = r1; in rgtc_decode_subblock()
/hardware/google/gfxstream/guest/OpenglSystemCommon/
DFormatConversions.cpp267 signed r1 = clamp_rgb((tmp1 + v_r) / 256); in yv12_to_rgb565() local
269 uint16_t rgb1 = ((r1 >> 3) << 11) | ((g1 >> 2) << 5) | (b1 >> 3); in yv12_to_rgb565()
305 signed r1 = clamp_rgb(1 * (1.1643835616438356 * y1 + 1.5960267857142856 * v)); in yv12_to_rgb888() local
309 rgb_ptr[(i-left)*rgb_stride] = r1; in yv12_to_rgb888()
351 signed r1 = clamp_rgb((tmp1 + v_r) / 256); in yuv420p_to_rgb888() local
353 rgb_ptr[(i-left)*rgb_stride] = r1; in yuv420p_to_rgb888()
/hardware/google/gfxstream/host/vulkan/emulated_textures/shaders/
DEtc2ShaderLib.comp124 int r1, r2, g1, g2, b1, b2;
125 r1 = int(convert4To8((((high >> 27) & 3) << 2) | ((high >> 24) & 3)));
135 clrTable[0] = ivec3(r1, g1, b1);
234 int r1, r2, g1, g2, b1, b2;
249 r1 = int(convert5To8(rBase));
257 r1 = int(convert4To8(high >> 28));
277 decode_subblock(ret, r1, g1, b1, tableA, low, false, flipped, isPunchthroughAlpha, opaque);
/hardware/google/gfxstream/third-party/astc-encoder/Source/
Dastcenc_color_quantize.cpp118 float r1 = astc::clamp255f(color1.lane<0>() * scale); in quantize_rgb() local
131 ri1 = quant_color_clamp(quant_level, astc::flt2int_rd(r1 + rgb1_addon)); in quantize_rgb()
208 float r1 = color1.lane<0>() * scale; in try_quantize_rgb_blue_contract() local
215 r1 += (r1 - b1); in try_quantize_rgb_blue_contract()
219 r1 < 0.0f || r1 > 255.0f || g1 < 0.0f || g1 > 255.0f || b1 < 0.0f || b1 > 255.0f) in try_quantize_rgb_blue_contract()
229 int ri1 = quant_color(quant_level, astc::flt2int_rtn(r1)); in try_quantize_rgb_blue_contract()
314 float r1 = astc::clamp255f(color1.lane<0>() * scale); in try_quantize_rgb_delta() local
346 int r1d = astc::flt2int_rtn(r1); in try_quantize_rgb_delta()
424 float r1 = color0.lane<0>() * scale; in try_quantize_rgb_delta_blue_contract() local
435 r1 += (r1 - b1); in try_quantize_rgb_delta_blue_contract()
[all …]

12