Home
last modified time | relevance | path

Searched refs:pre_stride (Results 1 – 19 of 19) sorted by relevance

/external/libaom/libaom/aom_dsp/x86/
Dobmc_variance_sse4.c39 static INLINE void obmc_variance_w8n(const uint8_t *pre, const int pre_stride, in obmc_variance_w8n() argument
43 const int pre_step = pre_stride - w; 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); \
130 const uint8_t *pre, int pre_stride, int xoffset, int yoffset, \
136 pre, fdata3, pre_stride, 1, H + 1, W, bilinear_filters_2t[xoffset]); \
171 const uint8_t *pre8, const int pre_stride, const int32_t *wsrc, in hbd_obmc_variance_w4() argument
174 const int pre_step = pre_stride - 4; in hbd_obmc_variance_w4()
210 const uint8_t *pre8, const int pre_stride, const int32_t *wsrc, in hbd_obmc_variance_w8n() argument
[all …]
Dobmc_sad_avx2.c29 const int pre_stride, in obmc_sad_w4_avx2() argument
39 const __m128i v_p_b_1 = xx_loadl_32(pre + pre_stride); in obmc_sad_w4_avx2()
61 pre += pre_stride << 1; in obmc_sad_w4_avx2()
71 const uint8_t *pre, const int pre_stride, const int32_t *wsrc, in obmc_sad_w8n_avx2() argument
73 const int pre_step = pre_stride - width; 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); \
151 const int pre_stride, in hbd_obmc_sad_w4_avx2() argument
161 const __m128i v_p_w_1 = xx_loadl_64(pre + pre_stride); in hbd_obmc_sad_w4_avx2()
[all …]
Dobmc_sad_sse4.c29 const int pre_stride, in obmc_sad_w4() argument
33 const int pre_step = pre_stride - 4; in obmc_sad_w4()
66 const uint8_t *pre, const int pre_stride, const int32_t *wsrc, in obmc_sad_w8n() argument
68 const int pre_step = pre_stride - width; 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); \
151 const int pre_stride, in hbd_obmc_sad_w4() argument
156 const int pre_step = pre_stride - 4; in hbd_obmc_sad_w4()
189 const uint8_t *pre8, const int pre_stride, const int32_t *wsrc, in hbd_obmc_sad_w8n() argument
[all …]
Dobmc_variance_avx2.c28 static INLINE void obmc_variance_w8n(const uint8_t *pre, const int pre_stride, in obmc_variance_w8n() argument
74 pre += pre_stride; in obmc_variance_w8n()
83 static INLINE void obmc_variance_w16n(const uint8_t *pre, const int pre_stride, in obmc_variance_w16n() argument
141 pre += pre_stride; 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.h19 static INLINE void obmc_variance_w4(const uint8_t *pre, const int pre_stride, in obmc_variance_w4() argument
23 const int pre_step = pre_stride - 4; in obmc_variance_w4()
/external/libvpx/libvpx/vp8/common/
Dreconinter.c60 int pre_stride, vp8_subpix_fn_t sppf) { in vp8_build_inter_predictors_b() argument
64 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in vp8_build_inter_predictors_b()
68 sppf(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, d->bmi.mv.as_mv.row & 7, in vp8_build_inter_predictors_b()
77 ptr += pre_stride; in vp8_build_inter_predictors_b()
84 unsigned char *base_pre, int pre_stride) { in build_inter_predictors4b() argument
86 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors4b()
90 x->subpixel_predict8x8(ptr, pre_stride, d->bmi.mv.as_mv.col & 7, in build_inter_predictors4b()
93 vp8_copy_mem8x8(ptr, pre_stride, dst, dst_stride); in build_inter_predictors4b()
99 unsigned char *base_pre, int pre_stride) { in build_inter_predictors2b() argument
101 ptr = base_pre + d->offset + (d->bmi.mv.as_mv.row >> 3) * pre_stride + in build_inter_predictors2b()
[all …]
Dreconinter.h27 int pre_stride, vp8_subpix_fn_t sppf);
/external/libaom/libaom/test/
Dobmc_sad_test.cc31 typedef unsigned int (*ObmcSadF)(const uint8_t *pre, int pre_stride,
47 const int pre_stride = rng_(MAX_SB_SIZE + 1); in TEST_P() local
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()
70 const int pre_stride = iter; in TEST_P() local
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()
162 const int pre_stride = rng_(MAX_SB_SIZE + 1); in TEST_P() local
171 params_.ref_func(CONVERT_TO_BYTEPTR(pre), pre_stride, wsrc, mask); in TEST_P()
175 params_.tst_func(CONVERT_TO_BYTEPTR(pre), pre_stride, wsrc, mask)); in TEST_P()
[all …]
Dobmc_variance_test.cc33 typedef unsigned int (*ObmcVarF)(const uint8_t *pre, int pre_stride,
50 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P() local
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()
76 const int pre_stride = iter; in TEST_P() local
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()
101 const int pre_stride = this->rng_(MAX_SB_SIZE + 1); in TEST_P() local
115 params_.ref_func(pre, pre_stride, wsrc, mask, &ref_sse); in TEST_P()
123 params_.tst_func(pre, pre_stride, wsrc, mask, &tst_sse); in TEST_P()
[all …]
Dvariance_test.cc52 typedef uint32_t (*ObmcSubpelVarFunc)(const uint8_t *pre, int pre_stride,
/external/libvpx/libvpx/vp8/encoder/
Dmcomp.c251 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step_iteratively() local
256 unsigned char *y_0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + in vp8_find_best_sub_pixel_step_iteratively()
274 vfp->copymem(y_0 - buf_c1 - pre_stride * buf_r1, pre_stride, xd->y_buf, in vp8_find_best_sub_pixel_step_iteratively()
278 unsigned char *y = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + in vp8_find_best_sub_pixel_step_iteratively()
280 y_stride = pre_stride; in vp8_find_best_sub_pixel_step_iteratively()
380 int pre_stride = x->e_mbd.pre.y_stride; in vp8_find_best_sub_pixel_step() local
385 unsigned char *y_0 = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + in vp8_find_best_sub_pixel_step()
391 vfp->copymem(y_0 - 1 - pre_stride, pre_stride, xd->y_buf, y_stride, 18); in vp8_find_best_sub_pixel_step()
394 unsigned char *y = base_pre + d->offset + (bestmv->as_mv.row) * pre_stride + in vp8_find_best_sub_pixel_step()
396 y_stride = pre_stride; in vp8_find_best_sub_pixel_step()
[all …]
Dtemporal_filter.c133 int pre_stride = x->e_mbd.pre.y_stride; in vp8_temporal_filter_find_matching_mb_c() local
182 x->e_mbd.pre.y_stride = pre_stride; in vp8_temporal_filter_find_matching_mb_c()
Drdopt.c382 int pre_stride = x->e_mbd.pre.uv_stride; in VP8_UVSSE() local
399 offset = (mv_row >> 3) * pre_stride + (mv_col >> 3); in VP8_UVSSE()
404 vpx_sub_pixel_variance8x8(uptr, pre_stride, mv_col & 7, mv_row & 7, in VP8_UVSSE()
406 vpx_sub_pixel_variance8x8(vptr, pre_stride, mv_col & 7, mv_row & 7, in VP8_UVSSE()
410 vpx_variance8x8(uptr, pre_stride, upred_ptr, uv_stride, &sse2); in VP8_UVSSE()
411 vpx_variance8x8(vptr, pre_stride, vpred_ptr, uv_stride, &sse1); in VP8_UVSSE()
900 int pre_stride = x->e_mbd.pre.y_stride; in vp8_encode_inter_mb_segment() local
908 vp8_build_inter_predictors_b(bd, 16, base_pre, pre_stride, in vp8_encode_inter_mb_segment()
Dpickinter.c149 int pre_stride = mb->e_mbd.pre.y_stride; in vp8_get_inter_mbpred_error() local
151 int in_what_stride = pre_stride; in vp8_get_inter_mbpred_error()
155 in_what += (this_mv.as_mv.row >> 3) * pre_stride + (this_mv.as_mv.col >> 3); in vp8_get_inter_mbpred_error()
/external/libaom/libaom/aom_dsp/
Dvariance.c1185 static INLINE void obmc_variance(const uint8_t *pre, int pre_stride, in obmc_variance() argument
1200 pre += pre_stride; in obmc_variance()
1208 const uint8_t *pre, int pre_stride, const int32_t *wsrc, \
1211 obmc_variance(pre, pre_stride, wsrc, mask, W, H, sse, &sum); \
1217 const uint8_t *pre, int pre_stride, int xoffset, int yoffset, \
1222 aom_var_filter_block2d_bil_first_pass_c(pre, fdata3, pre_stride, 1, H + 1, \
1292 static INLINE void highbd_obmc_variance64(const uint8_t *pre8, int pre_stride, in highbd_obmc_variance64() argument
1309 pre += pre_stride; in highbd_obmc_variance64()
1315 static INLINE void highbd_obmc_variance(const uint8_t *pre8, int pre_stride, in highbd_obmc_variance() argument
1321 highbd_obmc_variance64(pre8, pre_stride, wsrc, mask, w, h, &sse64, &sum64); in highbd_obmc_variance()
[all …]
Dsad_av1.c162 static INLINE unsigned int obmc_sad(const uint8_t *pre, int pre_stride, in obmc_sad() argument
172 pre += pre_stride; in obmc_sad()
214 unsigned int highbd_obmc_sad(const uint8_t *pre8, int pre_stride, in highbd_obmc_sad() argument
225 pre += pre_stride; in highbd_obmc_sad()
/external/libaom/libaom/av1/common/
Dreconinter.h244 void av1_make_masked_inter_predictor(const uint8_t *pre, int pre_stride,
Dreconinter.c665 void av1_make_masked_inter_predictor(const uint8_t *pre, int pre_stride, in av1_make_masked_inter_predictor() argument
688 av1_make_inter_predictor(pre, pre_stride, tmp_dst, MAX_SB_SIZE, in av1_make_masked_inter_predictor()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_pickmode.c1609 const int pre_stride = xd->plane[0].pre[0].stride; in search_new_mv() local
1614 (frame_mv[NEWMV][ref_frame].as_mv.row >> 3) * pre_stride + in search_new_mv()
1617 pre_buf, pre_stride, &base_mv_sse); in search_new_mv()
2268 const int pre_stride = xd->plane[0].pre[0].stride; in vp9_pick_inter_mode() local
2271 (frame_mv[NEWMV][LAST_FRAME].as_mv.row >> 3) * pre_stride + in vp9_pick_inter_mode()
2274 x->plane[0].src.buf, x->plane[0].src.stride, pre_buf, pre_stride); in vp9_pick_inter_mode()