Home
last modified time | relevance | path

Searched refs:inter_pred_params (Results 1 – 13 of 13) sorted by relevance

/external/libaom/av1/common/
Dreconinter.h132 InterPredParams *const inter_pred_params, in init_subpel_params() argument
135 const struct scale_factors *sf = inter_pred_params->scale_factors; in init_subpel_params()
136 int ssx = inter_pred_params->subsampling_x; in init_subpel_params()
137 int ssy = inter_pred_params->subsampling_y; in init_subpel_params()
138 int orig_pos_y = inter_pred_params->pix_row << SUBPEL_BITS; in init_subpel_params()
140 int orig_pos_x = inter_pred_params->pix_col << SUBPEL_BITS; in init_subpel_params()
157 pos_y = clamp(pos_y, inter_pred_params->top, bottom); in init_subpel_params()
158 pos_x = clamp(pos_x, inter_pred_params->left, right); in init_subpel_params()
186 const MV *const src_mv, InterPredParams *const inter_pred_params, in init_inter_mode_params() argument
189 inter_pred_params->scale_factors = sf; in init_inter_mode_params()
[all …]
Dreconinter.c60 void av1_init_warp_params(InterPredParams *inter_pred_params, in av1_init_warp_params() argument
63 if (inter_pred_params->block_height < 8 || inter_pred_params->block_width < 8) in av1_init_warp_params()
69 inter_pred_params->scale_factors, in av1_init_warp_params()
70 &inter_pred_params->warp_params)) { in av1_init_warp_params()
75 inter_pred_params->mode = WARP_PRED; in av1_init_warp_params()
81 InterPredParams *inter_pred_params, in av1_make_inter_predictor() argument
83 assert(IMPLIES(inter_pred_params->conv_params.is_compound, in av1_make_inter_predictor()
84 inter_pred_params->conv_params.dst != NULL)); in av1_make_inter_predictor()
86 if (inter_pred_params->mode == TRANSLATION_PRED) { in av1_make_inter_predictor()
88 if (inter_pred_params->use_hbd_buf) { in av1_make_inter_predictor()
[all …]
Dreconinter_template.inc19 InterPredParams *inter_pred_params,
26 InterPredParams *inter_pred_params) {
32 dec_calc_subpel_params_and_extend(src_mv, inter_pred_params, xd, mi_x, mi_y,
36 enc_calc_subpel_params(src_mv, inter_pred_params, &src, &subpel_params,
39 if (inter_pred_params->comp_mode == UNIFORM_SINGLE ||
40 inter_pred_params->comp_mode == UNIFORM_COMP) {
42 inter_pred_params, &subpel_params);
45 inter_pred_params, &subpel_params);
143 InterPredParams inter_pred_params;
144 av1_init_inter_params(&inter_pred_params, b4_w, b4_h, pre_y + y,
[all …]
/external/libaom/av1/encoder/
Dreconinter_enc.c32 const MV *const src_mv, InterPredParams *const inter_pred_params, in enc_calc_subpel_params() argument
34 struct buf_2d *pre_buf = &inter_pred_params->ref_frame_buf; in enc_calc_subpel_params()
35 init_subpel_params(src_mv, inter_pred_params, subpel_params, pre_buf->width, in enc_calc_subpel_params()
49 InterPredParams *inter_pred_params) { in av1_enc_build_one_inter_predictor() argument
50 build_one_inter_predictor(dst, dst_stride, src_mv, inter_pred_params); in av1_enc_build_one_inter_predictor()
64 InterPredParams inter_pred_params; in av1_enc_build_inter_predictor_y() local
71 av1_init_inter_params(&inter_pred_params, pd->width, pd->height, mi_y, mi_x, in av1_enc_build_inter_predictor_y()
76 inter_pred_params.conv_params = get_conv_params_no_round( in av1_enc_build_inter_predictor_y()
79 inter_pred_params.conv_params.use_dist_wtd_comp_avg = 0; in av1_enc_build_inter_predictor_y()
81 &inter_pred_params); in av1_enc_build_inter_predictor_y()
[all …]
Doptical_flow.c143 InterPredParams inter_pred_params; in temporal_gradient() local
144 av1_init_inter_params(&inter_pred_params, w, h, y, x, subsampling_x, in temporal_gradient()
147 inter_pred_params.interp_filter_params[0] = in temporal_gradient()
149 inter_pred_params.interp_filter_params[1] = in temporal_gradient()
151 inter_pred_params.conv_params = get_conv_params(0, plane, bit_depth); in temporal_gradient()
154 av1_enc_build_one_inter_predictor(pred2, w, &newmv, &inter_pred_params); in temporal_gradient()
157 av1_init_inter_params(&inter_pred_params, w, h, y, x, subsampling_x, in temporal_gradient()
160 inter_pred_params.interp_filter_params[0] = in temporal_gradient()
162 inter_pred_params.interp_filter_params[1] = in temporal_gradient()
164 inter_pred_params.conv_params = get_conv_params(0, plane, bit_depth); in temporal_gradient()
[all …]
Dreconinter_enc.h53 InterPredParams *inter_pred_params,
61 InterPredParams *inter_pred_params);
Dmotion_search_facade.c549 InterPredParams inter_pred_params; in av1_joint_motion_search() local
614 av1_init_inter_params(&inter_pred_params, pw, ph, mi_row * MI_SIZE, in av1_joint_motion_search()
617 inter_pred_params.conv_params = get_conv_params(0, 0, xd->bd); in av1_joint_motion_search()
622 &inter_pred_params); in av1_joint_motion_search()
869 InterPredParams inter_pred_params; in build_second_inter_pred() local
871 av1_init_inter_params(&inter_pred_params, pw, ph, p_row, p_col, in build_second_inter_pred()
875 inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd); in build_second_inter_pred()
879 &inter_pred_params); in build_second_inter_pred()
Dtpl_model.c410 InterPredParams inter_pred_params; in get_rate_distortion() local
417 av1_init_inter_params(&inter_pred_params, block_size_wide[bsize_plane], in get_rate_distortion()
424 if (is_compound) av1_init_comp_mode(&inter_pred_params); in get_rate_distortion()
425 inter_pred_params.conv_params = get_conv_params_no_round( in get_rate_distortion()
429 &best_mv.as_mv, &inter_pred_params); in get_rate_distortion()
486 InterPredParams inter_pred_params; in get_inter_cost() local
487 av1_init_inter_params(&inter_pred_params, bw, bh, mi_row * MI_SIZE, in get_inter_cost()
490 inter_pred_params.conv_params = get_conv_params(0, 0, xd->bd); in get_inter_cost()
493 &inter_pred_params); in get_inter_cost()
959 InterPredParams inter_pred_params; in mode_estimation() local
[all …]
Dtemporal_filter.c452 InterPredParams inter_pred_params; in tf_build_predictor() local
453 av1_init_inter_params(&inter_pred_params, w, h, y, x, subsampling_x, in tf_build_predictor()
456 inter_pred_params.conv_params = get_conv_params(0, plane, bit_depth); in tf_build_predictor()
458 plane_w, &mv, &inter_pred_params); in tf_build_predictor()
Dcompound_type.c1369 InterPredParams inter_pred_params; in av1_compound_type_rd() local
1371 &cpi->common, mbmi, &inter_pred_params.conv_params.fwd_offset, in av1_compound_type_rd()
1372 &inter_pred_params.conv_params.bck_offset, in av1_compound_type_rd()
1373 &inter_pred_params.conv_params.use_dist_wtd_comp_avg, 1); in av1_compound_type_rd()
1374 int mask_value = inter_pred_params.conv_params.fwd_offset * 4; in av1_compound_type_rd()
/external/libaom/av1/encoder/arm/
Dreconinter_enc_neon.c46 InterPredParams inter_pred_params; in aom_upsampled_pred_neon() local
47 inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd); in aom_upsampled_pred_neon()
51 &inter_pred_params, width, height, mi_y >> pd->subsampling_y, in aom_upsampled_pred_neon()
55 &inter_pred_params); in aom_upsampled_pred_neon()
167 InterPredParams inter_pred_params; in aom_highbd_upsampled_pred_neon() local
168 inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd); in aom_highbd_upsampled_pred_neon()
172 &inter_pred_params, width, height, mi_y >> pd->subsampling_y, in aom_highbd_upsampled_pred_neon()
176 &inter_pred_params); in aom_highbd_upsampled_pred_neon()
/external/libaom/av1/encoder/x86/
Dreconinter_enc_sse2.c56 InterPredParams inter_pred_params; in aom_upsampled_pred_sse2() local
57 inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd); in aom_upsampled_pred_sse2()
61 &inter_pred_params, width, height, mi_y >> pd->subsampling_y, in aom_upsampled_pred_sse2()
65 &inter_pred_params); in aom_upsampled_pred_sse2()
176 InterPredParams inter_pred_params; in aom_highbd_upsampled_pred_sse2() local
177 inter_pred_params.conv_params = get_conv_params(0, plane, xd->bd); in aom_highbd_upsampled_pred_sse2()
181 &inter_pred_params, width, height, mi_y >> pd->subsampling_y, in aom_highbd_upsampled_pred_sse2()
185 &inter_pred_params); in aom_highbd_upsampled_pred_sse2()
/external/libaom/av1/decoder/
Ddecodeframe.c560 const MV *const src_mv, InterPredParams *const inter_pred_params, in dec_calc_subpel_params() argument
564 const struct scale_factors *sf = inter_pred_params->scale_factors; in dec_calc_subpel_params()
565 struct buf_2d *pre_buf = &inter_pred_params->ref_frame_buf; in dec_calc_subpel_params()
566 const int bw = inter_pred_params->block_width; in dec_calc_subpel_params()
567 const int bh = inter_pred_params->block_height; in dec_calc_subpel_params()
570 int ssx = inter_pred_params->subsampling_x; in dec_calc_subpel_params()
571 int ssy = inter_pred_params->subsampling_y; in dec_calc_subpel_params()
572 int orig_pos_y = inter_pred_params->pix_row << SUBPEL_BITS; in dec_calc_subpel_params()
574 int orig_pos_x = inter_pred_params->pix_col << SUBPEL_BITS; in dec_calc_subpel_params()
606 inter_pred_params->subsampling_x, in dec_calc_subpel_params()
[all …]