/external/libmpeg2/common/x86/ |
D | ideint_cac_ssse3.c | 169 __m128i avg1, avg2; in ideint_cac_8x8_ssse3() local 173 avg1 = _mm_avg_epu8(top[0], top[1]); in ideint_cac_8x8_ssse3() 175 top_avg = _mm_avg_epu8(avg1, avg2); in ideint_cac_8x8_ssse3() 177 avg1 = _mm_avg_epu8(bot[0], bot[1]); in ideint_cac_8x8_ssse3() 179 bot_avg = _mm_avg_epu8(avg1, avg2); in ideint_cac_8x8_ssse3() 208 __m128i avg1, avg2; in ideint_cac_8x8_ssse3() local 210 avg1 = _mm_avg_epu8(top[0], bot[0]); in ideint_cac_8x8_ssse3() 212 even_avg = _mm_avg_epu8(avg1, avg2); in ideint_cac_8x8_ssse3() 214 avg1 = _mm_avg_epu8(top[1], bot[1]); in ideint_cac_8x8_ssse3() 216 odd_avg = _mm_avg_epu8(avg1, avg2); in ideint_cac_8x8_ssse3()
|
/external/libvpx/libvpx/vpx_dsp/mips/ |
D | variance_msa.c | 187 v8i16 avg1 = { 0 }; in sse_diff_32x64_msa() local 196 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 203 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 210 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 217 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 221 vec += __msa_hadd_s_w(avg1, avg1); in sse_diff_32x64_msa() 234 v8i16 avg1 = { 0 }; in sse_diff_64x32_msa() local 244 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_64x32_msa() 245 CALC_MSE_AVG_B(src3, ref3, var, avg1); in sse_diff_64x32_msa() 253 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_64x32_msa() [all …]
|
D | sub_pixel_variance_msa.c | 230 v8i16 avg1 = { 0 }; in avg_sse_diff_32x64_msa() local 242 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 252 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 262 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 272 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 276 vec += __msa_hadd_s_w(avg1, avg1); in avg_sse_diff_32x64_msa() 292 v8i16 avg1 = { 0 }; in avg_sse_diff_64x32_msa() local 306 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_64x32_msa() 307 CALC_MSE_AVG_B(src3, ref3, var, avg1); in avg_sse_diff_64x32_msa() 319 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_64x32_msa() [all …]
|
/external/libaom/libaom/aom_dsp/mips/ |
D | variance_msa.c | 188 v8i16 avg1 = { 0 }; in sse_diff_32x64_msa() local 197 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 204 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 211 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 218 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_32x64_msa() 222 vec += __msa_hadd_s_w(avg1, avg1); in sse_diff_32x64_msa() 235 v8i16 avg1 = { 0 }; in sse_diff_64x32_msa() local 245 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_64x32_msa() 246 CALC_MSE_AVG_B(src3, ref3, var, avg1); in sse_diff_64x32_msa() 254 CALC_MSE_AVG_B(src1, ref1, var, avg1); in sse_diff_64x32_msa() [all …]
|
D | sub_pixel_variance_msa.c | 227 v8i16 avg1 = { 0 }; in avg_sse_diff_32x64_msa() local 239 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 249 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 259 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 269 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_32x64_msa() 273 vec += __msa_hadd_s_w(avg1, avg1); in avg_sse_diff_32x64_msa() 289 v8i16 avg1 = { 0 }; in avg_sse_diff_64x32_msa() local 303 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_64x32_msa() 304 CALC_MSE_AVG_B(src3, ref3, var, avg1); in avg_sse_diff_64x32_msa() 316 CALC_MSE_AVG_B(src1, ref1, var, avg1); in avg_sse_diff_64x32_msa() [all …]
|
/external/rust/crates/rand/src/distributions/ |
D | bernoulli.rs | 192 let avg1 = (sum1 as f64) / (N as f64); in test_average() localVariable 193 assert!((avg1 - P).abs() < 5e-3); in test_average()
|
/external/tensorflow/tensorflow/python/training/ |
D | moving_averages_test.py | 188 avg1 = ema.average(var1) 194 self.assertNotIn(avg1, variables.trainable_variables()) 199 self.assertEqual("v1/ExponentialMovingAverage:0", avg1.name) 209 self.assertAllClose(thirties, self.evaluate(avg1)) 221 self.assertAllClose(expected, self.evaluate(avg1)) 232 self.assertAllClose(expected, self.evaluate(avg1))
|
/external/webp/src/dsp/ |
D | lossless_sse2.c | 88 const __m128i avg1 = _mm_avg_epu8(*a0, *a1); in Average2_m128i() local 90 *avg = _mm_sub_epi8(avg1, one); in Average2_m128i() 100 const __m128i avg1 = _mm_avg_epu8(A0, A1); in Average2_uint32_SSE2() local 102 *avg = _mm_sub_epi8(avg1, one); in Average2_uint32_SSE2() 122 const __m128i avg1 = Average2_uint32_16_SSE2(a0, a2); in Average3_SSE2() local 124 const __m128i sum = _mm_add_epi16(avg1, A1); in Average3_SSE2() 133 const __m128i avg1 = Average2_uint32_16_SSE2(a0, a1); in Average4_SSE2() local 135 const __m128i sum = _mm_add_epi16(avg2, avg1); in Average4_SSE2()
|
D | dec_sse2.c | 924 const __m128i avg1 = _mm_avg_epu8(ABCDEFGH, CDEFGHH0); in LD4_SSE2() local 926 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); in LD4_SSE2() 945 const __m128i avg1 = _mm_avg_epu8(IXABCD, ABCD0); in VR4_SSE2() local 947 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); in VR4_SSE2() 964 const __m128i avg1 = _mm_avg_epu8(ABCDEFGH, BCDEFGH_); in VL4_SSE2() local 966 const __m128i avg3 = _mm_avg_epu8(avg1, avg2); in VL4_SSE2() 967 const __m128i lsb1 = _mm_and_si128(_mm_xor_si128(avg1, avg2), one); in VL4_SSE2() 974 WebPUint32ToMem(dst + 0 * BPS, _mm_cvtsi128_si32( avg1 )); in VL4_SSE2() 976 WebPUint32ToMem(dst + 2 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg1, 1))); in VL4_SSE2() 997 const __m128i avg1 = _mm_avg_epu8(JIXABCD__, LKJIXABCD); in RD4_SSE2() local [all …]
|
D | enc_sse2.c | 759 const __m128i avg1 = _mm_avg_epu8(ABCDEFGH, CDEFGHH0); in LD4_SSE2() local 761 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); in LD4_SSE2() 781 const __m128i avg1 = _mm_avg_epu8(IXABCD, ABCD0); in VR4_SSE2() local 783 const __m128i avg2 = _mm_subs_epu8(avg1, lsb); in VR4_SSE2() 801 const __m128i avg1 = _mm_avg_epu8(ABCDEFGH, BCDEFGH_); in VL4_SSE2() local 803 const __m128i avg3 = _mm_avg_epu8(avg1, avg2); in VL4_SSE2() 804 const __m128i lsb1 = _mm_and_si128(_mm_xor_si128(avg1, avg2), one); in VL4_SSE2() 811 WebPUint32ToMem(dst + 0 * BPS, _mm_cvtsi128_si32( avg1 )); in VL4_SSE2() 813 WebPUint32ToMem(dst + 2 * BPS, _mm_cvtsi128_si32(_mm_srli_si128(avg1, 1))); in VL4_SSE2() 828 const __m128i avg1 = _mm_avg_epu8(JIXABCD__, LKJIXABCD); in RD4_SSE2() local [all …]
|
D | lossless_enc_sse2.c | 445 const __m128i avg1 = _mm_avg_epu8(*a0, *a1); in Average2_m128i() local 447 *avg = _mm_sub_epi8(avg1, one); in Average2_m128i()
|
D | dec_neon.c | 1372 const uint8x8_t avg1 = vhadd_u8(JIXABCD_, LKJIXABC_u8); in RD4_NEON() local 1373 const uint8x8_t avg2 = vrhadd_u8(avg1, KJIXABC_); in RD4_NEON() 1391 const uint8x8_t avg1 = vhadd_u8(ABCDEFGH, CDEFGHH0); in LD4_NEON() local 1392 const uint8x8_t avg2 = vrhadd_u8(avg1, BCDEFGH0); in LD4_NEON()
|
/external/libvpx/libvpx/vpx_dsp/arm/ |
D | intrapred_neon.c | 270 const uint8x8_t avg1 = vhadd_u8(ABCDEFGH, CDEFGH00); in vpx_d45_predictor_4x4_neon() local 271 const uint8x8_t avg2 = vrhadd_u8(avg1, BCDEFGH0); in vpx_d45_predictor_4x4_neon() 298 const uint8x8_t avg1 = vhadd_u8(A0, A2); in vpx_d45_predictor_8x8_neon() local 299 uint8x8_t row = vrhadd_u8(avg1, A1); in vpx_d45_predictor_8x8_neon() 326 const uint8x16_t avg1 = vhaddq_u8(A0, A2); in vpx_d45_predictor_16x16_neon() local 327 uint8x16_t row = vrhaddq_u8(avg1, A1); in vpx_d45_predictor_16x16_neon() 395 const uint8x8_t avg1 = vhadd_u8(L10XA0123_, L3210XA012); in vpx_d135_predictor_4x4_neon() local 396 const uint8x8_t avg2 = vrhadd_u8(avg1, L210XA0123); in vpx_d135_predictor_4x4_neon()
|
D | highbd_intrapred_neon.c | 295 const uint16x8_t avg1 = vhaddq_u16(ABCDEFGH, CDEFGH00); in vpx_highbd_d45_predictor_4x4_neon() local 296 const uint16x8_t avg2 = vrhaddq_u16(avg1, BCDEFGH0); in vpx_highbd_d45_predictor_4x4_neon() 328 const uint16x8_t avg1 = vhaddq_u16(A0, A2); in vpx_highbd_d45_predictor_8x8_neon() local 329 uint16x8_t row = vrhaddq_u16(avg1, A1); in vpx_highbd_d45_predictor_8x8_neon() 466 const uint16x8_t avg1 = vhaddq_u16(L3210XA012, L10XA0123_); in vpx_highbd_d135_predictor_4x4_neon() local 467 const uint16x8_t avg2 = vrhaddq_u16(avg1, L210XA0123); in vpx_highbd_d135_predictor_4x4_neon()
|
/external/libaom/libaom/aom_dsp/arm/ |
D | intrapred_neon.c | 333 const uint8x8_t avg1 = vhadd_u8(JIXABCD_, LKJIXABC_u8); in aom_d135_predictor_4x4_neon() local 334 const uint8x8_t avg2 = vrhadd_u8(avg1, KJIXABC_); in aom_d135_predictor_4x4_neon()
|