/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/ |
D | vp9_resize.c | 236 int x, x1, x2, sum, k, int_pel, sub_pel; in interpolate() local 263 sum = 0; in interpolate() 266 sum += filter[k] * input[(pk < 0 ? 0 : in interpolate() 269 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 278 sum = 0; in interpolate() 280 sum += filter[k] * input[(int_pel - INTERP_TAPS / 2 + 1 + k < 0 ? in interpolate() 283 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() 291 sum = 0; in interpolate() 293 sum += filter[k] * input[int_pel - INTERP_TAPS / 2 + 1 + k]; in interpolate() 294 *optr++ = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in interpolate() [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/armv6/ |
D | vp8_variance16x16_armv6.asm | 32 mov r8, #0 ; initialize sum = 0 51 usad8 r4, r7, lr ; calculate sum of positive differences 52 usad8 r5, r6, lr ; calculate sum of negative differences 54 ; calculate total sum 55 adds r8, r8, r4 ; add positive differences to sum 56 subs r8, r8, r5 ; subtract negative differences from sum 74 usad8 r4, r7, lr ; calculate sum of positive differences 75 usad8 r5, r6, lr ; calculate sum of negative differences 78 ; calculate total sum 79 add r8, r8, r4 ; add positive differences to sum [all …]
|
D | vp8_variance_halfpixvar16x16_h_armv6.asm | 32 mov r8, #0 ; initialize sum = 0 56 usad8 r4, r7, lr ; calculate sum of positive differences 57 usad8 r5, r6, lr ; calculate sum of negative differences 59 ; calculate total sum 60 adds r8, r8, r4 ; add positive differences to sum 61 subs r8, r8, r5 ; subtract negative differences from sum 86 usad8 r4, r7, lr ; calculate sum of positive differences 87 usad8 r5, r6, lr ; calculate sum of negative differences 90 ; calculate total sum 91 add r8, r8, r4 ; add positive differences to sum [all …]
|
D | vp8_variance_halfpixvar16x16_v_armv6.asm | 32 mov r8, #0 ; initialize sum = 0 57 usad8 r4, r7, lr ; calculate sum of positive differences 58 usad8 r5, r6, lr ; calculate sum of negative differences 60 ; calculate total sum 61 adds r8, r8, r4 ; add positive differences to sum 62 subs r8, r8, r5 ; subtract negative differences from sum 87 usad8 r4, r7, lr ; calculate sum of positive differences 88 usad8 r5, r6, lr ; calculate sum of negative differences 91 ; calculate total sum 92 add r8, r8, r4 ; add positive differences to sum [all …]
|
D | vp8_variance8x8_armv6.asm | 31 mov r4, #0 ; initialize sum = 0 49 usad8 r6, r10, lr ; calculate sum of positive differences 50 usad8 r7, r8, lr ; calculate sum of negative differences 52 ; calculate total sum 53 add r4, r4, r6 ; add positive differences to sum 54 sub r4, r4, r7 ; subtract negative differences from sum 74 usad8 r6, r10, lr ; calculate sum of positive differences 75 usad8 r7, r8, lr ; calculate sum of negative differences 78 ; calculate total sum 79 add r4, r4, r6 ; add positive differences to sum [all …]
|
D | vp8_variance_halfpixvar16x16_hv_armv6.asm | 32 mov r8, #0 ; initialize sum = 0 67 usad8 r4, r7, lr ; calculate sum of positive differences 68 usad8 r5, r6, lr ; calculate sum of negative differences 70 ; calculate total sum 71 adds r8, r8, r4 ; add positive differences to sum 72 subs r8, r8, r5 ; subtract negative differences from sum 108 usad8 r4, r7, lr ; calculate sum of positive differences 109 usad8 r5, r6, lr ; calculate sum of negative differences 112 ; calculate total sum 113 add r8, r8, r4 ; add positive differences to sum [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ppc/ |
D | variance_altivec.asm | 51 ;# Compute sum first. Unpack to so signed subract 96 stw r3, 0(r8) ;# sum 100 mullw r3, r3, r3 ;# sum*sum 101 srlwi r3, r3, \DS ;# (sum*sum) >> DS 102 subf r3, r3, r4 ;# sse - ((sum*sum) >> DS) 140 stw r3, 0(r8) ;# sum 144 mullw r3, r3, r3 ;# sum*sum 145 srlwi r3, r3, \DS ;# (sum*sum) >> 8 146 subf r3, r3, r4 ;# sse - ((sum*sum) >> 8) 369 mullw r3, r3, r3 ;# sum*sum [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/ |
D | vp9_tapify.py | 32 sum = dist(ul,p)+dist(ur,p)+dist(ll,p)+dist(lr,p) 33 t4 = scale - t(ul,p,sum) - t(ur,p,sum) - t(ll,p,sum); 34 return [[ul,t(ul,p,sum)],[ur,t(ur,p,sum)], 35 [ll,t(ll,p,sum)],[lr,t4]]
|
D | vp9_convolve.c | 32 int k, sum = 0; in convolve_horiz() local 34 sum += src_x[k] * x_filter[k]; in convolve_horiz() 35 dst[x] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_horiz() 54 int k, sum = 0; in convolve_avg_horiz() local 56 sum += src_x[k] * x_filter[k]; in convolve_avg_horiz() 58 clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)), 1); in convolve_avg_horiz() 78 int k, sum = 0; in convolve_vert() local 80 sum += src_y[k * src_stride] * y_filter[k]; in convolve_vert() 81 dst[y * dst_stride] = clip_pixel(ROUND_POWER_OF_TWO(sum, FILTER_BITS)); in convolve_vert() 101 int k, sum = 0; in convolve_avg_vert() local [all …]
|
D | vp9_reconintra.c | 235 int i, r, expected_dc, sum = 0; in intra_pred_allsizes() local 238 sum += left[i]; in intra_pred_allsizes() 239 expected_dc = (sum + (bs >> 1)) / bs; in intra_pred_allsizes() 250 int i, r, expected_dc, sum = 0; in intra_pred_allsizes() local 253 sum += above[i]; in intra_pred_allsizes() 254 expected_dc = (sum + (bs >> 1)) / bs; in intra_pred_allsizes() 265 int i, r, expected_dc, sum = 0; in intra_pred_allsizes() local 269 sum += above[i]; in intra_pred_allsizes() 270 sum += left[i]; in intra_pred_allsizes() 273 expected_dc = (sum + (count >> 1)) / count; in intra_pred_allsizes()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | variance_neon.asm | 29 vmov.i8 q8, #0 ;q8 - sum 49 vpadal.s16 q8, q11 ;calculate sum 68 vpaddl.s32 q0, q8 ;accumulate sum 82 ; while sum is signed, sum * sum is always positive and must be treated as 102 vmov.i8 q8, #0 ;q8 - sum 119 vpadal.s16 q8, q11 ;calculate sum 138 vpaddl.s32 q0, q8 ;accumulate sum 165 vmov.i8 q8, #0 ;q8 - sum 180 vpadal.s16 q8, q11 ;calculate sum 193 vpaddl.s32 q0, q8 ;accumulate sum [all …]
|
D | vp8_subpixelvariance16x16s_neon.asm | 37 vmov.i8 q8, #0 ;q8 - sum 75 vpadal.s16 q8, q4 ;sum 91 vpadal.s16 q8, q0 ;sum 107 vpaddl.s32 q0, q8 ;accumulate sum 140 vmov.i8 q8, #0 ;q8 - sum 168 vpadal.s16 q8, q11 ;sum 184 vpadal.s16 q8, q0 ;sum 203 vpaddl.s32 q0, q8 ;accumulate sum 234 vmov.i8 q13, #0 ;q8 - sum 283 vpadal.s16 q13, q9 ;sum [all …]
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/ |
D | variance_ssse3.c | 32 int *sum, 42 int *sum, 52 int *sum, 64 int *sum,
|
D | variance_sse2.c | 30 int *sum, 75 int *sum, 85 int *sum, 95 int *sum, 105 int *sum, 115 int *sum, 125 int *sum, 135 int *sum,
|
D | mfqe_sse2.asm | 67 ; sum, round and shift 138 ; sum, round and shift 187 pxor xmm4, xmm4 ; sum of src2 188 pxor xmm5, xmm5 ; sum of src2^2 204 psadbw xmm2, xmm1 ; sum src2 by misusing SAD against 0 233 ; Accumulate sum of src2 241 ; phaddw could be used to sum adjacent values but we want 243 ; shift and sum
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/arm/armv6/ |
D | vp8_mse16x16_armv6.asm | 24 ;note: Based on vp8_variance16x16_armv6. In this function, sum is never used. 52 usad8 r5, r7, lr ; calculate sum of positive differences 53 usad8 r6, r8, lr ; calculate sum of negative differences 73 usad8 r5, r7, lr ; calculate sum of positive differences 74 usad8 r6, r8, lr ; calculate sum of negative differences 92 usad8 r5, r7, lr ; calculate sum of positive differences 93 usad8 r6, r8, lr ; calculate sum of negative differences 115 usad8 r5, r7, lr ; calculate sum of positive differences 116 usad8 r6, r8, lr ; calculate sum of negative differences
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/encoder/x86/ |
D | vp9_sad4d_intrin_avx2.c | 57 __m128i sum; in vp9_sad32x32x4d_avx2() local 76 sum = _mm_add_epi32(_mm256_castsi256_si128(sum_mlow), in vp9_sad32x32x4d_avx2() 79 _mm_storeu_si128((__m128i *)(res), sum); in vp9_sad32x32x4d_avx2() 142 __m128i sum; in vp9_sad64x64x4d_avx2() local 162 sum = _mm_add_epi32(_mm256_castsi256_si128(sum_mlow), in vp9_sad64x64x4d_avx2() 165 _mm_storeu_si128((__m128i *)(res), sum); in vp9_sad64x64x4d_avx2()
|
D | vp9_variance_sse2.c | 52 int *sum, 62 int *sum, 72 int *sum, 82 int *sum, 92 int *sum, 102 int *sum, 117 int w, int h, unsigned int *sse, int *sum, in variance_sse2() argument 124 *sum = 0; in variance_sse2() 131 *sum += sum0; in variance_sse2()
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlMathFunc.c | 312 float d[10][10], sum = 0; in inv_matrix_det() local 320 sum = in inv_matrix_det() 321 sum + *(p + 10 * i + j) * SIGNM(i + j) * inv_matrix_det(&d[0][0], in inv_matrix_det() 325 return (sum); in inv_matrix_det() 330 double d[10][10], sum = 0; in inv_matrix_detd() local 338 sum = in inv_matrix_detd() 339 sum + *(p + 10 * i + j) * SIGNM(i + j) * inv_matrix_detd(&d[0][0], in inv_matrix_detd() 343 return (sum); in inv_matrix_detd()
|
D | compass.c | 107 float avg, sum, median, sorted[YAS_DEFAULT_FILTER_LEN]; in adaptive_filter_filter() local 133 sum = 0; in adaptive_filter_filter() 135 sum += square(avg - adap_filter->sequence[i]); in adaptive_filter_filter() 137 sum /= adap_filter->len; in adaptive_filter_filter() 139 if (sum <= adap_filter->noise) { in adaptive_filter_filter() 143 return ((in - avg) * (sum - adap_filter->noise) / sum + avg); in adaptive_filter_filter()
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/ |
D | variance_c.c | 21 unsigned int i = 0, sum = 0; in vp8_get_mb_ss_c() local 25 sum += (src_ptr[i] * src_ptr[i]); in vp8_get_mb_ss_c() 30 return sum; in vp8_get_mb_ss_c() 42 int *sum) in variance() argument 47 *sum = 0; in variance() 55 *sum += diff; in variance()
|
/hardware/qcom/display/msm8226/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/msm8960/libqdutils/ |
D | profiler.cpp | 173 nsecs_t sum = 0; in calc_fps() local 175 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 176 print_fps((debug_fps_metadata.period * float(1000000))/float(sum)); in calc_fps()
|
/hardware/qcom/display/msm8084/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/msm8974/libqdutils/ |
D | profiler.cpp | 173 nsecs_t sum = 0; in calc_fps() local 175 sum += debug_fps_metadata.framearrivals[i]; in calc_fps() 176 print_fps((debug_fps_metadata.period * float(1000000))/float(sum)); in calc_fps()
|