Searched refs:wmmat (Results 1 – 6 of 6) sorted by relevance
/external/libaom/libaom/av1/common/ |
D | mv.h | 139 int32_t wmmat[8]; member 270 const int32_t *mat = gm->wmmat; in gm_get_motion_vector() 283 res.as_mv.row = gm->wmmat[0] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector() 284 res.as_mv.col = gm->wmmat[1] >> GM_TRANS_ONLY_PREC_DIFF; in gm_get_motion_vector() 296 assert(gm->wmmat[5] == gm->wmmat[2]); in gm_get_motion_vector() 297 assert(gm->wmmat[4] == -gm->wmmat[3]); in gm_get_motion_vector() 317 if (gm->wmmat[5] == (1 << WARPEDMODEL_PREC_BITS) && !gm->wmmat[4] && in get_wmtype() 318 gm->wmmat[2] == (1 << WARPEDMODEL_PREC_BITS) && !gm->wmmat[3]) { in get_wmtype() 319 return ((!gm->wmmat[1] && !gm->wmmat[0]) ? IDENTITY : TRANSLATION); in get_wmtype() 321 if (gm->wmmat[2] == gm->wmmat[5] && gm->wmmat[3] == -gm->wmmat[4]) in get_wmtype()
|
D | warped_motion.c | 262 const int32_t *mat = wm->wmmat; in is_affine_valid() 277 const int32_t *mat = wm->wmmat; in av1_get_shear_params() 453 wm->wmmat[5] = wm->wmmat[2]; in highbd_warp_plane() 454 wm->wmmat[4] = -wm->wmmat[3]; in highbd_warp_plane() 456 const int32_t *const mat = wm->wmmat; in highbd_warp_plane() 728 wm->wmmat[5] = wm->wmmat[2]; in warp_plane() 729 wm->wmmat[4] = -wm->wmmat[3]; in warp_plane() 731 const int32_t *const mat = wm->wmmat; in warp_plane() 1034 wm->wmmat[2] = get_mult_shift_diag(Px[0], iDet, shift); in find_affine_int() 1035 wm->wmmat[3] = get_mult_shift_ndiag(Px[1], iDet, shift); in find_affine_int() [all …]
|
/external/libaom/libaom/av1/encoder/ |
D | global_motion.c | 109 convert_to_params(params, model->wmmat); in av1_convert_model_to_params() 147 wm->wmmat[0] = 0; in force_wmtype() 148 wm->wmmat[1] = 0; in force_wmtype() 151 wm->wmmat[2] = 1 << WARPEDMODEL_PREC_BITS; in force_wmtype() 152 wm->wmmat[3] = 0; in force_wmtype() 155 wm->wmmat[4] = -wm->wmmat[3]; in force_wmtype() 156 wm->wmmat[5] = wm->wmmat[2]; in force_wmtype() 158 case AFFINE: wm->wmmat[6] = wm->wmmat[7] = 0; break; in force_wmtype() 284 int32_t *param_mat = wm->wmmat; in av1_refine_integerized_param()
|
D | bitstream.c | 2680 (ref_params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - in write_global_motion_params() 2682 (params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in write_global_motion_params() 2685 (ref_params->wmmat[3] >> GM_ALPHA_PREC_DIFF), in write_global_motion_params() 2686 (params->wmmat[3] >> GM_ALPHA_PREC_DIFF)); in write_global_motion_params() 2692 (ref_params->wmmat[4] >> GM_ALPHA_PREC_DIFF), in write_global_motion_params() 2693 (params->wmmat[4] >> GM_ALPHA_PREC_DIFF)); in write_global_motion_params() 2696 (ref_params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in write_global_motion_params() 2698 (params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in write_global_motion_params() 2710 (ref_params->wmmat[0] >> trans_prec_diff), in write_global_motion_params() 2711 (params->wmmat[0] >> trans_prec_diff)); in write_global_motion_params() [all …]
|
D | encodeframe.c | 5136 (ref_gm->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS), in gm_get_params_cost() 5137 (gm->wmmat[2] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in gm_get_params_cost() 5140 (ref_gm->wmmat[3] >> GM_ALPHA_PREC_DIFF), in gm_get_params_cost() 5141 (gm->wmmat[3] >> GM_ALPHA_PREC_DIFF)); in gm_get_params_cost() 5145 (ref_gm->wmmat[4] >> GM_ALPHA_PREC_DIFF), in gm_get_params_cost() 5146 (gm->wmmat[4] >> GM_ALPHA_PREC_DIFF)); in gm_get_params_cost() 5149 (ref_gm->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in gm_get_params_cost() 5151 (gm->wmmat[5] >> GM_ALPHA_PREC_DIFF) - (1 << GM_ALPHA_PREC_BITS)); in gm_get_params_cost() 5163 (ref_gm->wmmat[0] >> trans_prec_diff), in gm_get_params_cost() 5164 (gm->wmmat[0] >> trans_prec_diff)); in gm_get_params_cost() [all …]
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 4265 params->wmmat[2] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params() 4267 (ref_params->wmmat[2] >> GM_ALPHA_PREC_DIFF) - in read_global_motion_params() 4271 params->wmmat[3] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params() 4273 (ref_params->wmmat[3] >> GM_ALPHA_PREC_DIFF)) * in read_global_motion_params() 4278 params->wmmat[4] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params() 4280 (ref_params->wmmat[4] >> GM_ALPHA_PREC_DIFF)) * in read_global_motion_params() 4282 params->wmmat[5] = aom_rb_read_signed_primitive_refsubexpfin( in read_global_motion_params() 4284 (ref_params->wmmat[5] >> GM_ALPHA_PREC_DIFF) - in read_global_motion_params() 4289 params->wmmat[4] = -params->wmmat[3]; in read_global_motion_params() 4290 params->wmmat[5] = params->wmmat[2]; in read_global_motion_params() [all …]
|