Home
last modified time | relevance | path

Searched refs:wmmat (Results 1 – 6 of 6) sorted by relevance

/external/libaom/libaom/av1/common/
Dmv.h90 int32_t wmmat[8]; member
221 const int32_t *mat = gm->wmmat; in gm_get_motion_vector()
233 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
234 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector()
246 assert(gm->wmmat[5] == gm->wmmat[2]); in gm_get_motion_vector()
247 assert(gm->wmmat[4] == -gm->wmmat[3]); in gm_get_motion_vector()
267 if (gm->wmmat[5] == (1 << WARPEDMODEL_PREC_BITS) && !gm->wmmat[4] && in get_wmtype()
268 gm->wmmat[2] == (1 << WARPEDMODEL_PREC_BITS) && !gm->wmmat[3]) { in get_wmtype()
269 return ((!gm->wmmat[1] && !gm->wmmat[0]) ? IDENTITY : TRANSLATION); in get_wmtype()
271 if (gm->wmmat[2] == gm->wmmat[5] && gm->wmmat[3] == -gm->wmmat[4]) in get_wmtype()
Dwarped_motion.c334 const int32_t *mat = wm->wmmat; in is_affine_valid()
349 const int32_t *mat = wm->wmmat; in get_shear_params()
525 wm->wmmat[5] = wm->wmmat[2]; in highbd_warp_plane()
526 wm->wmmat[4] = -wm->wmmat[3]; in highbd_warp_plane()
528 const int32_t *const mat = wm->wmmat; in highbd_warp_plane()
811 wm->wmmat[5] = wm->wmmat[2]; in warp_plane()
812 wm->wmmat[4] = -wm->wmmat[3]; in warp_plane()
814 const int32_t *const mat = wm->wmmat; in warp_plane()
1111 wm->wmmat[2] = get_mult_shift_diag(Px[0], iDet, shift); in find_affine_int()
1112 wm->wmmat[3] = get_mult_shift_ndiag(Px[1], iDet, shift); in find_affine_int()
[all …]
/external/libaom/libaom/av1/encoder/
Dglobal_motion.c113 convert_to_params(params, model->wmmat); in av1_convert_model_to_params()
151 wm->wmmat[0] = 0; in force_wmtype()
152 wm->wmmat[1] = 0; in force_wmtype()
155 wm->wmmat[2] = 1 << WARPEDMODEL_PREC_BITS; in force_wmtype()
156 wm->wmmat[3] = 0; in force_wmtype()
159 wm->wmmat[4] = -wm->wmmat[3]; in force_wmtype()
160 wm->wmmat[5] = wm->wmmat[2]; in force_wmtype()
162 case AFFINE: wm->wmmat[6] = wm->wmmat[7] = 0; break; in force_wmtype()
179 int32_t *param_mat = wm->wmmat; in av1_refine_integerized_param()
Dbitstream.c2652 (ref_params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - in write_global_motion_params()
2654 (params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in write_global_motion_params()
2657 (ref_params->wmmat[3] >> GM_ALPHA_PREC_DIFF), in write_global_motion_params()
2658 (params->wmmat[3] >> GM_ALPHA_PREC_DIFF)); in write_global_motion_params()
2664 (ref_params->wmmat[4] >> GM_ALPHA_PREC_DIFF), in write_global_motion_params()
2665 (params->wmmat[4] >> GM_ALPHA_PREC_DIFF)); in write_global_motion_params()
2668 (ref_params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in write_global_motion_params()
2670 (params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in write_global_motion_params()
2682 (ref_params->wmmat[0] >> trans_prec_diff), in write_global_motion_params()
2683 (params->wmmat[0] >> trans_prec_diff)); in write_global_motion_params()
[all …]
Dencodeframe.c5096 (ref_gm->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS), in gm_get_params_cost()
5097 (gm->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in gm_get_params_cost()
5100 (ref_gm->wmmat[3] >> GM_ALPHA_PREC_DIFF), in gm_get_params_cost()
5101 (gm->wmmat[3] >> GM_ALPHA_PREC_DIFF)); in gm_get_params_cost()
5105 (ref_gm->wmmat[4] >> GM_ALPHA_PREC_DIFF), in gm_get_params_cost()
5106 (gm->wmmat[4] >> GM_ALPHA_PREC_DIFF)); in gm_get_params_cost()
5109 (ref_gm->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in gm_get_params_cost()
5111 (gm->wmmat[5] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in gm_get_params_cost()
5123 (ref_gm->wmmat[0] >> trans_prec_diff), in gm_get_params_cost()
5124 (gm->wmmat[0] >> trans_prec_diff)); in gm_get_params_cost()
[all …]
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4635 params->wmmat[2] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params()
4637 (ref_params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - in read_global_motion_params()
4641 params->wmmat[3] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params()
4643 (ref_params->wmmat[3] >> GM_ALPHA_PREC_DIFF)) * in read_global_motion_params()
4648 params->wmmat[4] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params()
4650 (ref_params->wmmat[4] >> GM_ALPHA_PREC_DIFF)) * in read_global_motion_params()
4652 params->wmmat[5] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params()
4654 (ref_params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in read_global_motion_params()
4659 params->wmmat[4] = -params->wmmat[3]; in read_global_motion_params()
4660 params->wmmat[5] = params->wmmat[2]; in read_global_motion_params()
[all …]