Home
last modified time | relevance | path

Searched refs:shifts (Results 1 – 25 of 353) sorted by relevance

12345678910>>...15

/external/mesa3d/src/mesa/drivers/dri/common/
Dutils.c186 int shifts[4]; in driCreateConfigs() member
224 const int * shifts; in driCreateConfigs() local
240 shifts = format_table[0].shifts; in driCreateConfigs()
245 shifts = format_table[1].shifts; in driCreateConfigs()
250 shifts = format_table[2].shifts; in driCreateConfigs()
255 shifts = format_table[5].shifts; in driCreateConfigs()
259 shifts = format_table[6].shifts; in driCreateConfigs()
263 shifts = format_table[3].shifts; in driCreateConfigs()
267 shifts = format_table[4].shifts; in driCreateConfigs()
271 shifts = format_table[9].shifts; in driCreateConfigs()
[all …]
/external/mesa3d/src/panfrost/lib/
Dpan_invocation.c58 unsigned shifts[7] = { 0 }; in panfrost_pack_work_groups_compute() local
71 packed |= (values[i] << shifts[i]); in panfrost_pack_work_groups_compute()
77 shifts[i + 1] = shifts[i] + bit_count; in panfrost_pack_work_groups_compute()
82 cfg.size_y_shift = shifts[1]; in panfrost_pack_work_groups_compute()
83 cfg.size_z_shift = shifts[2]; in panfrost_pack_work_groups_compute()
84 cfg.workgroups_x_shift = shifts[3]; in panfrost_pack_work_groups_compute()
85 cfg.workgroups_y_shift = shifts[4]; in panfrost_pack_work_groups_compute()
86 cfg.workgroups_z_shift = shifts[5]; in panfrost_pack_work_groups_compute()
/external/libmpeg2/common/x86/
Dideint_spatial_filter_ssse3.c101 WORD32 shifts[2]; in ideint_spatial_filter_ssse3() local
188 shifts[i] = 0; in ideint_spatial_filter_ssse3()
192 shifts[i] = 1; in ideint_spatial_filter_ssse3()
197 shifts[i] = -1; in ideint_spatial_filter_ssse3()
214 pu4_row1th = (UWORD32 *)(pu1_src + shifts[0]); in ideint_spatial_filter_ssse3()
215 pu4_row1tl = (UWORD32 *)(pu1_src + SUB_BLK_WD + shifts[1]); in ideint_spatial_filter_ssse3()
218 pu4_row2th = (UWORD32 *)(pu1_src + shifts[0]); in ideint_spatial_filter_ssse3()
219 pu4_row2tl = (UWORD32 *)(pu1_src + SUB_BLK_WD + shifts[1]); in ideint_spatial_filter_ssse3()
221 pu4_row1bh = (UWORD32 *)(pu1_src - shifts[0]); in ideint_spatial_filter_ssse3()
222 pu4_row1bl = (UWORD32 *)(pu1_src + SUB_BLK_WD - shifts[1]); in ideint_spatial_filter_ssse3()
[all …]
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dxcorr_coef.c47 int shifts; in WebRtcIlbcfix_XcorrCoef() local
72 shifts=2; in WebRtcIlbcfix_XcorrCoef()
74 shifts=0; in WebRtcIlbcfix_XcorrCoef()
78 Energy=WebRtcSpl_DotProductWithScale(regressor, regressor, subl, shifts); in WebRtcIlbcfix_XcorrCoef()
84 crossCorr=WebRtcSpl_DotProductWithScale(tp, rp, subl, shifts); in WebRtcIlbcfix_XcorrCoef()
134 Energy += step * ((*rp_end * *rp_end - *rp_beg * *rp_beg) >> shifts); in WebRtcIlbcfix_XcorrCoef()
Denhancer_interface.c59 int shifts; in WebRtcIlbcfix_EnhancerInterface() local
123 shifts = WebRtcSpl_GetSizeInBits((uint32_t)(max16 * max16)) - 25; in WebRtcIlbcfix_EnhancerInterface()
124 shifts = WEBRTC_SPL_MAX(0, shifts); in WebRtcIlbcfix_EnhancerInterface()
128 shifts, -1); in WebRtcIlbcfix_EnhancerInterface()
150 ENH_BLOCKL_HALF, shifts); in WebRtcIlbcfix_EnhancerInterface()
206 shifts=2; in WebRtcIlbcfix_EnhancerInterface()
208 shifts=0; in WebRtcIlbcfix_EnhancerInterface()
211 WebRtcSpl_CrossCorrelation(corr32, target, regressor, plc_blockl, 3, shifts, in WebRtcIlbcfix_EnhancerInterface()
Dpoly_to_lsp.c39 int16_t shifts, sign; in WebRtcIlbcfix_Poly2Lsp() local
121 shifts = (int16_t)WebRtcSpl_NormW32(y)-16; in WebRtcIlbcfix_Poly2Lsp()
122 y <<= shifts; in WebRtcIlbcfix_Poly2Lsp()
125 tmpW32 = (x * y) >> (19 - shifts); in WebRtcIlbcfix_Poly2Lsp()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DCharsetRecog_2022.java39 int shifts = 0; in match() local
68 shifts++; in match()
87 if (hits+shifts < 5) { in match()
88 quality -= (5-(hits+shifts))*10; in match()
/external/webrtc/webrtc/test/
Drtp_file_writer.cc67 for (int shifts = 24; shifts >= 0; shifts -= 8) { in WriteUint32() local
68 uint8_t tmp = static_cast<uint8_t>((in >> shifts) & 0xFF); in WriteUint32()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DCharsetRecog_2022.java40 int shifts = 0; in match() local
69 shifts++; in match()
88 if (hits+shifts < 5) { in match()
89 quality -= (5-(hits+shifts))*10; in match()
/external/icu/icu4c/source/i18n/
Dcsr2022.cpp40 int32_t shifts = 0; in match_2022() local
74 shifts += 1; in match_2022()
96 if (hits+shifts < 5) { in match_2022()
97 quality -= (5-(hits+shifts))*10; in match_2022()
/external/walt/android/WALT/app/src/test/java/org/chromium/latency/walt/
DAccelerometerFragmentTest.java54 final double[] shifts = AccelerometerFragment.findShifts(phoneEntries, waltEntries); in testFindShifts() local
55 for (double d : shifts) { in testFindShifts()
58 assertEquals(12, Utils.argmax(shifts)/10d, 1e-9); in testFindShifts()
/external/mesa3d/src/egl/drivers/dri2/
Dplatform_drm.c100 int shifts[4]; in dri2_drm_config_is_compatible() local
110 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes); in dri2_drm_config_is_compatible()
123 if (shifts[0] != visual->rgba_shifts.red || in dri2_drm_config_is_compatible()
124 shifts[1] != visual->rgba_shifts.green || in dri2_drm_config_is_compatible()
125 shifts[2] != visual->rgba_shifts.blue || in dri2_drm_config_is_compatible()
126 (shifts[3] > -1 && visual->rgba_shifts.alpha > -1 && in dri2_drm_config_is_compatible()
127 shifts[3] != visual->rgba_shifts.alpha) || in dri2_drm_config_is_compatible()
621 int shifts[4]; in drm_add_configs_for_visuals() local
625 dri2_get_shifts_and_sizes(dri2_dpy->core, config, shifts, sizes); in drm_add_configs_for_visuals()
632 if (visuals[j].rgba_shifts.red != shifts[0] || in drm_add_configs_for_visuals()
[all …]
/external/walt/pywalt/pywalt/
Dminimization.py52 shifts = numpy.arange(min_shift, max_shift, step)
60 for shift in shifts:
69 best_shift0 = shifts[numpy.argmin(residuals0)]
70 best_shift1 = shifts[numpy.argmin(residuals1)]
/external/swiftshader/third_party/llvm-7.0/llvm/test/CodeGen/SystemZ/
Dint-mul-05.ll5 ; Check multiplication by 2, which should use shifts.
32 ; Check the next value up, which should use shifts.
59 ; Check the next value up, which should use shifts.
86 ; Check multiplication by -2, which should use shifts.
114 ; Check the next value down, which should use shifts.
142 ; Check the next value down, which should use shifts.
Dint-mul-06.ll5 ; Check multiplication by 2, which should use shifts.
32 ; Check the next value up, which should use shifts.
59 ; Check the next value up, which should use shifts.
86 ; Check multiplication by -2, which should use shifts.
114 ; Check the next value down, which should use shifts.
142 ; Check the next value down, which should use shifts.
Dshift-02.ll1 ; Test 32-bit logical shifts right.
23 ; We don't generate shifts by out-of-range values.
42 ; Check variable shifts.
94 ; Check that we don't try to generate "indexed" shifts.
/external/llvm/test/CodeGen/SystemZ/
Dint-mul-06.ll5 ; Check multiplication by 2, which should use shifts.
32 ; Check the next value up, which should use shifts.
59 ; Check the next value up, which should use shifts.
86 ; Check multiplication by -2, which should use shifts.
114 ; Check the next value down, which should use shifts.
142 ; Check the next value down, which should use shifts.
Dint-mul-05.ll5 ; Check multiplication by 2, which should use shifts.
32 ; Check the next value up, which should use shifts.
59 ; Check the next value up, which should use shifts.
86 ; Check multiplication by -2, which should use shifts.
114 ; Check the next value down, which should use shifts.
142 ; Check the next value down, which should use shifts.
Dshift-03.ll1 ; Test 32-bit arithmetic shifts right.
23 ; We don't generate shifts by out-of-range values.
42 ; Check variable shifts.
94 ; Check that we don't try to generate "indexed" shifts.
/external/libgav1/libgav1/src/dsp/x86/
Dintrapred_sse4.cc1493 const __m128i shifts = _mm_unpacklo_epi8(opposite_shift, shift); in DirectionalZone1_4xH() local
1503 __m128i prod = _mm_maddubs_epi16(sampled_values, shifts); in DirectionalZone1_4xH()
1553 const __m128i shifts = _mm_unpacklo_epi8(opposite_shift, shift); in DirectionalZone1_Large() local
1558 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_Large()
1582 const __m128i shifts = _mm_unpacklo_epi8(opposite_shift, shift); in DirectionalZone1_Large() local
1600 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_Large()
1655 const __m128i shifts = _mm_unpacklo_epi8(opposite_shift, shift); in DirectionalZone1_SSE4_1() local
1660 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_SSE4_1()
1698 const __m128i shifts = _mm_unpacklo_epi8(opposite_shift, shift); in DirectionalZone1_SSE4_1() local
1714 vals = _mm_maddubs_epi16(vals, shifts); in DirectionalZone1_SSE4_1()
[all …]
/external/u-boot/arch/x86/lib/
Ddiv64.c85 int shifts = 0; in _64bit_divide() local
88 shifts++; in _64bit_divide()
91 result |= __ashldi3(1, shifts); in _64bit_divide()
/external/eigen/Eigen/src/SVD/
DBDCSVD.h177 …const ArrayRef& diag, const IndicesRef& perm, VectorType& singVals, ArrayRef shifts, ArrayRef mus);
178 …iag, const IndicesRef& perm, const VectorType& singVals, const ArrayRef& shifts, const ArrayRef& m…
179 …iag, const IndicesRef& perm, const VectorType& singVals, const ArrayRef& shifts, const ArrayRef& m…
601 Map<ArrayXr> shifts(m_workspace.data()+1*n, n);
612 computeSingVals(col0, diag, perm, singVals, shifts, mus);
618 std::cout << " shift: " << shifts.transpose() << "\n";
624 …std::cout << " check1 (expect0) : " << ((singVals.array()-(shifts+mus)) / singVals.array()).hea…
634 assert(shifts.allFinite());
638 perturbCol0(col0, diag, perm, singVals, shifts, mus, zhat);
647 computeSingVecs(zhat, diag, perm, singVals, shifts, mus, U, V);
[all …]
/external/tensorflow/tensorflow/lite/kernels/internal/
Dlog_quantized_test.cc110 void RightShiftVector(const std::vector<int32>& shifts, in RightShiftVector() argument
113 ASSERT_EQ(n, shifts.size()); in RightShiftVector()
115 vec->at(i) = std::max(1, vec->at(i) >> shifts[i]); in RightShiftVector()
265 std::vector<int> shifts = generator->RandomIntVector(test_size, 0, 29); in RunUniformShiftUniformTest() local
266 RightShiftVector(shifts, &test_data); in RunUniformShiftUniformTest()
/external/tensorflow/tensorflow/core/api_def/base_api/
Dapi_def_Roll.pbtxt8 specified by `axis[i]`. Negative shifts will roll the elements in the opposite
17 total shift for that axis will be the sum of all the shifts that belong to that
34 will wrap around to the first and vice versa. Multiple shifts along multiple
/external/icu/icu4j/tools/build/src/com/ibm/icu/dev/tool/docs/
DAPIInfo.java48 public int[] shifts = { 0, 3, 5, 6, 7, 8, 9 }; field in APIInfo
152 if (typ >= shifts.length) { in getVal()
155 return (info >>> shifts[typ]) & masks[typ]; in getVal()
177 int val = (info >>> shifts[typ]) & masks[typ]; in get()
189 info &= ~(masks[typ] << shifts[typ]); in setType()
190 info |= (val&masks[typ]) << shifts[typ]; in setType()
229 info &= ~(masks[typ] << shifts[typ]); in setType()
230 info |= i << shifts[typ]; in setType()

12345678910>>...15