Home
last modified time | relevance | path

Searched refs:wsrc (Results 1 – 15 of 15) sorted by relevance

/external/libaom/libaom/aom_dsp/x86/
Dobmc_variance_sse4.c40 const int32_t *wsrc, const int32_t *mask, in obmc_variance_w8n() argument
55 const __m128i v_w1_d = xx_load_128(wsrc + n + 4); in obmc_variance_w8n()
58 const __m128i v_w0_d = xx_load_128(wsrc + n); in obmc_variance_w8n()
92 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
96 obmc_variance_w4(pre, pre_stride, wsrc, mask, sse, &sum, H); \
98 obmc_variance_w8n(pre, pre_stride, wsrc, mask, sse, &sum, W, H); \
131 const int32_t *wsrc, const int32_t *mask, unsigned int *sse) { \
140 return aom_obmc_variance##W##x##H##_sse4_1(temp2, W, wsrc, mask, sse); \
171 const uint8_t *pre8, const int pre_stride, const int32_t *wsrc, in hbd_obmc_variance_w4() argument
184 const __m128i v_w_d = xx_load_128(wsrc + n); in hbd_obmc_variance_w4()
[all …]
Dobmc_sad_sse4.c30 const int32_t *wsrc, in obmc_sad_w4() argument
40 const __m128i v_w_d = xx_load_128(wsrc + n); in obmc_sad_w4()
66 const uint8_t *pre, const int pre_stride, const int32_t *wsrc, in obmc_sad_w8n() argument
78 const __m128i v_w1_d = xx_load_128(wsrc + n + 4); in obmc_sad_w8n()
81 const __m128i v_w0_d = xx_load_128(wsrc + n); in obmc_sad_w8n()
114 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
117 return obmc_sad_w4(pre, pre_stride, wsrc, msk, h); \
119 return obmc_sad_w8n(pre, pre_stride, wsrc, msk, w, h); \
152 const int32_t *wsrc, in hbd_obmc_sad_w4() argument
163 const __m128i v_w_d = xx_load_128(wsrc + n); in hbd_obmc_sad_w4()
[all …]
Dobmc_sad_avx2.c30 const int32_t *wsrc, in obmc_sad_w4_avx2() argument
42 const __m256i v_w_d = _mm256_lddqu_si256((__m256i *)(wsrc + n)); in obmc_sad_w4_avx2()
71 const uint8_t *pre, const int pre_stride, const int32_t *wsrc, in obmc_sad_w8n_avx2() argument
83 const __m256i v_w0_d = _mm256_lddqu_si256((__m256i *)(wsrc + n)); in obmc_sad_w8n_avx2()
114 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
117 return obmc_sad_w4_avx2(pre, pre_stride, wsrc, msk, h); \
119 return obmc_sad_w8n_avx2(pre, pre_stride, wsrc, msk, w, h); \
152 const int32_t *wsrc, in hbd_obmc_sad_w4_avx2() argument
164 const __m256i v_w_d = _mm256_lddqu_si256((__m256i *)(wsrc + n)); in hbd_obmc_sad_w4_avx2()
195 const uint8_t *pre8, const int pre_stride, const int32_t *wsrc, in hbd_obmc_sad_w8n_avx2() argument
[all …]
Dobmc_variance_avx2.c29 const int32_t *wsrc, const int32_t *mask, in obmc_variance_w8n() argument
47 const __m256i v_w_d = _mm256_loadu_si256((__m256i const *)(wsrc + n)); in obmc_variance_w8n()
84 const int32_t *wsrc, const int32_t *mask, in obmc_variance_w16n() argument
104 const __m256i v_w0_d = _mm256_loadu_si256((__m256i const *)(wsrc + n)); in obmc_variance_w16n()
108 _mm256_loadu_si256((__m256i const *)(wsrc + n + 8)); in obmc_variance_w16n()
155 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
159 obmc_variance_w4(pre, pre_stride, wsrc, mask, sse, &sum, H); \
161 obmc_variance_w8n(pre, pre_stride, wsrc, mask, sse, &sum, W, H); \
163 obmc_variance_w16n(pre, pre_stride, wsrc, mask, sse, &sum, W, H); \
Dobmc_intrinsic_sse4.h20 const int32_t *wsrc, const int32_t *mask, in obmc_variance_w4() argument
33 const __m128i v_w_d = _mm_load_si128((const __m128i *)(wsrc + n)); in obmc_variance_w4()
/external/libaom/libaom/test/
Dobmc_variance_test.cc34 const int32_t *wsrc, const int32_t *mask,
46 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
54 wsrc[i] = this->rng_.Rand8() * this->rng_(kMaskMax * kMaskMax + 1); in TEST_P()
60 params_.ref_func(pre, pre_stride, wsrc, mask, &ref_sse); in TEST_P()
63 tst_res = params_.tst_func(pre, pre_stride, wsrc, mask, &tst_sse)); in TEST_P()
72 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
80 wsrc[i] = UINT8_MAX * kMaskMax * kMaskMax; in TEST_P()
86 params_.ref_func(pre, pre_stride, wsrc, mask, &ref_sse); in TEST_P()
89 tst_res = params_.tst_func(pre, pre_stride, wsrc, mask, &tst_sse)); in TEST_P()
98 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
[all …]
Dobmc_sad_test.cc32 const int32_t *wsrc, const int32_t *mask);
43 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
51 wsrc[i] = rng_.Rand8() * rng_(kMaskMax * kMaskMax + 1); in TEST_P()
55 const unsigned int ref_res = params_.ref_func(pre, pre_stride, wsrc, mask); in TEST_P()
58 params_.tst_func(pre, pre_stride, wsrc, mask)); in TEST_P()
66 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
74 wsrc[i] = UINT8_MAX * kMaskMax * kMaskMax; in TEST_P()
78 const unsigned int ref_res = params_.ref_func(pre, pre_stride, wsrc, mask); in TEST_P()
81 params_.tst_func(pre, pre_stride, wsrc, mask)); in TEST_P()
142 DECLARE_ALIGNED(32, int32_t, wsrc[MAX_SB_SQUARE]); in TEST_P()
[all …]
Dvariance_test.cc52 const int32_t *wsrc, const int32_t *mask,
279 const int32_t *wsrc, in obmc_subpel_variance_ref() argument
303 wsrc[w * y + x] - r * mask[w * y + x], 12); in obmc_subpel_variance_ref()
316 wsrc[w * y + x] - r * mask[w * y + x], 12); in obmc_subpel_variance_ref()
/external/libaom/libaom/aom_dsp/
Dsad_av1.c149 const int32_t *wsrc, const int32_t *mask, in obmc_sad() argument
156 sad += ROUND_POWER_OF_TWO(abs(wsrc[x] - pre[x] * mask[x]), 12); in obmc_sad()
159 wsrc += width; in obmc_sad()
168 const int32_t *wsrc, \
170 return obmc_sad(ref, ref_stride, wsrc, mask, m, n); \
200 const int32_t *wsrc, const int32_t *mask, in highbd_obmc_sad() argument
208 sad += ROUND_POWER_OF_TWO(abs(wsrc[x] - pre[x] * mask[x]), 12); in highbd_obmc_sad()
211 wsrc += width; in highbd_obmc_sad()
220 const uint8_t *ref, int ref_stride, const int32_t *wsrc, \
222 return highbd_obmc_sad(ref, ref_stride, wsrc, mask, m, n); \
Dvariance.c1282 const int32_t *wsrc, const int32_t *mask, in obmc_variance() argument
1291 int diff = ROUND_POWER_OF_TWO_SIGNED(wsrc[j] - pre[j] * mask[j], 12); in obmc_variance()
1297 wsrc += w; in obmc_variance()
1304 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
1307 obmc_variance(pre, pre_stride, wsrc, mask, W, H, sse, &sum); \
1314 const int32_t *wsrc, const int32_t *mask, unsigned int *sse) { \
1323 return aom_obmc_variance##W##x##H##_c(temp2, W, wsrc, mask, sse); \
1388 const int32_t *wsrc, in highbd_obmc_variance64() argument
1399 int diff = ROUND_POWER_OF_TWO_SIGNED(wsrc[j] - pre[j] * mask[j], 12); in highbd_obmc_variance64()
1405 wsrc += w; in highbd_obmc_variance64()
[all …]
Dvariance.h80 const int32_t *wsrc,
84 const int32_t *wsrc,
89 const int32_t *wsrc, const int32_t *msk, unsigned int *sse);
Daom_dsp_rtcd_defs.pl762 …m_obmc_sad${w}x${h}", "const uint8_t *pre, int pre_stride, const int32_t *wsrc, const int32_t *mas…
771 …d_obmc_sad${w}x${h}", "const uint8_t *pre, int pre_stride, const int32_t *wsrc, const int32_t *mas…
1157 …c_variance${w}x${h}", "const uint8_t *pre, int pre_stride, const int32_t *wsrc, const int32_t *mas…
1158 …st uint8_t *pre, int pre_stride, int xoffset, int yoffset, const int32_t *wsrc, const int32_t *mas…
1167 …c_variance${w}x${h}", "const uint8_t *pre, int pre_stride, const int32_t *wsrc, const int32_t *mas…
1168 …st uint8_t *pre, int pre_stride, int xoffset, int yoffset, const int32_t *wsrc, const int32_t *mas…
/external/libaom/libaom/av1/encoder/
Dmcomp.c2531 const aom_variance_fn_ptr_t *vfp, const int32_t *const wsrc, in setup_obmc_center_error() argument
2535 besterr = vfp->ovf(y + offset, y_stride, wsrc, mask, sse1); in setup_obmc_center_error()
2544 const int32_t *const wsrc, const uint8_t *const y, int y_stride, in upsampled_obmc_pref_error() argument
2555 besterr = vfp->ovf(pred8, w, wsrc, mask, sse); in upsampled_obmc_pref_error()
2560 besterr = vfp->ovf(pred, w, wsrc, mask, sse); in upsampled_obmc_pref_error()
2568 const aom_variance_fn_ptr_t *vfp, const int32_t *const wsrc, in upsampled_setup_obmc_center_error() argument
2573 xd, cm, mi_row, mi_col, bestmv, mask, vfp, wsrc, y + offset, y_stride, 0, in upsampled_setup_obmc_center_error()
2586 const int32_t *wsrc = x->wsrc_buf; in av1_find_best_obmc_sub_pixel_tree_up() local
2588 const int *const z = wsrc; in av1_find_best_obmc_sub_pixel_tree_up()
2741 static int get_obmc_mvpred_var(const MACROBLOCK *x, const int32_t *wsrc, in get_obmc_mvpred_var() argument
[all …]
Dencoder.c1448 const int32_t *wsrc, \
1450 return fnname(ref, ref_stride, wsrc, msk); \
1453 const int32_t *wsrc, \
1455 return fnname(ref, ref_stride, wsrc, msk) >> 2; \
1458 const int32_t *wsrc, \
1460 return fnname(ref, ref_stride, wsrc, msk) >> 4; \
Drdopt.c13840 int32_t *wsrc = ctxt->x->wsrc_buf + (rel_mi_col * MI_SIZE); in calc_target_weighted_pred_above() local
13850 wsrc[col] = m1 * tmp[col]; in calc_target_weighted_pred_above()
13853 wsrc += bw; in calc_target_weighted_pred_above()
13864 wsrc[col] = m1 * tmp16[col]; in calc_target_weighted_pred_above()
13867 wsrc += bw; in calc_target_weighted_pred_above()
13886 int32_t *wsrc = ctxt->x->wsrc_buf + (rel_mi_row * MI_SIZE * bw); in calc_target_weighted_pred_left() local
13896 wsrc[col] = (wsrc[col] >> AOM_BLEND_A64_ROUND_BITS) * m0 + in calc_target_weighted_pred_left()
13900 wsrc += bw; in calc_target_weighted_pred_left()
13911 wsrc[col] = (wsrc[col] >> AOM_BLEND_A64_ROUND_BITS) * m0 + in calc_target_weighted_pred_left()
13915 wsrc += bw; in calc_target_weighted_pred_left()