/hardware/google/apf/v7/ |
D | apf_checksum.h | 5 FUNC(u16 calc_csum(u32 sum, const u8* const buf, const s32 len)) { in FUNC() argument 8 for (i = 0; i < len; ++i) sum += buf[i] * ((i & 1) ? 1u : 256u); in FUNC() 10 sum = (sum & 0xFFFF) + (sum >> 16); /* max after this is 1FFFE */ in FUNC() 11 csum = sum + (sum >> 16); in FUNC()
|
/hardware/google/apf/ |
D | apf_checksum.h | 5 FUNC(u16 calc_csum(u32 sum, const u8* const buf, const s32 len)) { in FUNC() argument 8 for (i = 0; i < len; ++i) sum += buf[i] * ((i & 1) ? 1u : 256u); in FUNC() 10 sum = (sum & 0xFFFF) + (sum >> 16); /* max after this is 1FFFE */ in FUNC() 11 csum = sum + (sum >> 16); in FUNC()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | bigmath.h | 40 uint64_t sum = carry; in _ubm_add_u32arr() local 42 sum += a[i]; in _ubm_add_u32arr() 44 sum += b[i]; in _ubm_add_u32arr() 45 dst[i] = sum; in _ubm_add_u32arr() 46 carry = sum >> 32; in _ubm_add_u32arr()
|
/hardware/google/gfxstream/guest/mesa/src/util/format/ |
D | u_format_fxt1.c | 258 int32_t sum = 0; in fxt1_choose() local 262 sum += input[k][i]; in fxt1_choose() 278 if (minSum > sum) { in fxt1_choose() 279 minSum = sum; in fxt1_choose() 282 if (maxSum < sum) { in fxt1_choose() 283 maxSum = sum; in fxt1_choose() 337 int32_t sum[MAX_VECT][MAX_COMP]; /* used to accumulate closest texels */ in fxt1_lloyd() local 348 sum[j][i] = 0; in fxt1_lloyd() 378 sum[best][i] += input[k][i]; in fxt1_lloyd() 398 vec[j][i] = div * sum[j][i]; in fxt1_lloyd() [all …]
|
/hardware/qcom/camera/msm8998/QCamera2/util/ |
D | QCameraDisplay.cpp | 200 nsecs_t sum; in computeAverageVsyncInterval() local 211 sum = mVsyncIntervalHistory[0]; in computeAverageVsyncInterval() 215 sum += mVsyncIntervalHistory[j]; in computeAverageVsyncInterval() 222 sum = sum - vsyncMaxOutlier - vsyncMinOutlier; in computeAverageVsyncInterval() 223 mAvgVsyncInterval = sum / (CAMERA_NUM_VSYNC_INTERVAL_HISTORY - 2); in computeAverageVsyncInterval()
|
/hardware/google/gchips/gralloc4/src/core/ |
D | format_info.h | 80 int sum = 0; in total_components() local 83 sum += n; in total_components() 85 return sum; in total_components()
|
/hardware/qcom/display/msm8909/libqdutils/ |
D | profiler.cpp | 179 nsecs_t sum = 0; in calc_fps() local 181 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 183 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8226/libqdutils/ |
D | profiler.cpp | 178 nsecs_t sum = 0; in calc_fps() local 180 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 182 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8960/libqdutils/ |
D | profiler.cpp | 174 nsecs_t sum = 0; in calc_fps() local 176 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 177 print_fps((debug_fps_metadata.period * float(1000000))/float(sum)); in calc_fps()
|
/hardware/qcom/display/msm8996/libqdutils/ |
D | profiler.cpp | 178 nsecs_t sum = 0; in calc_fps() local 180 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 182 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8084/libqdutils/ |
D | profiler.cpp | 178 nsecs_t sum = 0; in calc_fps() local 180 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 182 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8998/libqdutils/ |
D | profiler.cpp | 179 nsecs_t sum = 0; in calc_fps() local 181 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 183 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8909w_3100/libqdutils/ |
D | profiler.cpp | 179 nsecs_t sum = 0; in calc_fps() local 181 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 183 (float)sum)); in calc_fps()
|
/hardware/qcom/display/msm8994/libqdutils/ |
D | profiler.cpp | 178 nsecs_t sum = 0; in calc_fps() local 180 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 182 (float)sum)); in calc_fps()
|
/hardware/google/graphics/common/libhwc2.1/libvrr/RefreshRateCalculator/ |
D | VideoFrameRateCalculator.cpp | 102 int sum = std::accumulate(std::begin(mHistory), std::end(mHistory), 0); in onReportRefreshRate() local 103 mLastPeriodFrameRate = std::round(sum / static_cast<float>(mHistory.size())); in onReportRefreshRate()
|
/hardware/google/gfxstream/guest/mesa/src/util/tests/ |
D | fast_idiv_by_const_test.cpp | 76 uint64_t sum = a + b; in uadd_sat() local 79 return sum < a ? UINT64_MAX : sum; in uadd_sat() 82 return (sum >> num_bits) ? u_uintN_max(num_bits) : sum; in uadd_sat()
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 472 float d[6][6], sum = 0; in inv_matrix_det() local 480 sum = in inv_matrix_det() 481 sum + *(p + 6 * i + j) * SIGNM(i + in inv_matrix_det() 486 return (sum); in inv_matrix_det() 491 double d[6][6], sum = 0; in inv_matrix_detd() local 499 sum = in inv_matrix_detd() 500 sum + *(p + 6 * i + j) * SIGNM(i + in inv_matrix_detd() 505 return (sum); in inv_matrix_detd()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 472 float d[6][6], sum = 0; in inv_matrix_det() local 480 sum = in inv_matrix_det() 481 sum + *(p + 6 * i + j) * SIGNM(i + in inv_matrix_det() 486 return (sum); in inv_matrix_det() 491 double d[6][6], sum = 0; in inv_matrix_detd() local 499 sum = in inv_matrix_detd() 500 sum + *(p + 6 * i + j) * SIGNM(i + in inv_matrix_detd() 505 return (sum); in inv_matrix_detd()
|
/hardware/interfaces/tests/memory/2.0/ |
D | IMemoryInterface.hal | 9 // equal size, the first contains the byte-wise sum and the other the byte-
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/spec_tools/ |
D | macro_checker.py | 187 return sum((f.numDiagnostics() for f in self.files)) 191 return sum((f.numErrors() for f in self.files))
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/reflow-tests/ |
D | src-new-vuid-attribute.adoc | 26 * For each element of pname:pRegions, if the sum of pname:imageOffset.x 28 * For each element of pname:pRegions, if the sum of pname:imageOffset.y 31 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
|
D | expect-new-vuid-attribute-novuid.adoc | 36 * For each element of pname:pRegions, if the sum of pname:imageOffset.x 41 * For each element of pname:pRegions, if the sum of pname:imageOffset.y 46 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
|
D | expect-new-vuid-attribute-noreflow-novuid.adoc | 26 * For each element of pname:pRegions, if the sum of pname:imageOffset.x 28 * For each element of pname:pRegions, if the sum of pname:imageOffset.y 31 * For each element of pname:pRegions, if the sum of pname:imageOffset.z
|
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/commonvalidity/ |
D | copy_bufferimage_to_imagebuffer_common.adoc | 43 For each element of pname:pRegions, if the sum of pname:{imageoffset}.x 49 For each element of pname:pRegions, if the sum of pname:{imageoffset}.y 55 For each element of pname:pRegions, if the sum of pname:{imageoffset}.z
|
/hardware/google/apf/devtools/ |
D | apf_interpreter.c | 523 FUNC(u16 apf_internal_calc_csum(u32 sum, const u8* const buf, const s32 len)) { in FUNC() argument 526 for (i = 0; i < len; ++i) sum += buf[i] * ((i & 1) ? 1u : 256u); in FUNC() 528 sum = (sum & 0xFFFF) + (sum >> 16); /* max after this is 1FFFE */ in FUNC() 529 csum = sum + (sum >> 16); in FUNC()
|