Searched refs:WARPEDMODEL_PREC_BITS (Results 1 – 8 of 8) sorted by relevance
/external/libaom/libaom/av1/common/ |
D | mv.h | 43 #define WARPEDMODEL_PREC_BITS 16 macro 46 #define WARPEDMODEL_TRANS_CLAMP (128 << WARPEDMODEL_PREC_BITS) 47 #define WARPEDMODEL_NONDIAGAFFINE_CLAMP (1 << (WARPEDMODEL_PREC_BITS - 3)) 48 #define WARPEDMODEL_ROW3HOMO_CLAMP (1 << (WARPEDMODEL_PREC_BITS - 2)) 56 #define WARPEDDIFF_PREC_BITS (WARPEDMODEL_PREC_BITS - WARPEDPIXEL_PREC_BITS) 98 { 0, 0, (1 << WARPEDMODEL_PREC_BITS), 0, 0, (1 << WARPEDMODEL_PREC_BITS), 0, 138 #define GM_TRANS_PREC_DIFF (WARPEDMODEL_PREC_BITS - GM_TRANS_PREC_BITS) 139 #define GM_TRANS_ONLY_PREC_DIFF (WARPEDMODEL_PREC_BITS - 3) 145 #define GM_ALPHA_PREC_DIFF (WARPEDMODEL_PREC_BITS - GM_ALPHA_PREC_BITS) 174 return ROUND_POWER_OF_TWO_SIGNED(coor, WARPEDMODEL_PREC_BITS - 3); in convert_to_trans_prec() [all …]
|
D | warped_motion.c | 340 if ((4 * abs(alpha) + 7 * abs(beta) >= (1 << WARPEDMODEL_PREC_BITS)) || in is_affine_shear_allowed() 341 (4 * abs(gamma) + 4 * abs(delta) >= (1 << WARPEDMODEL_PREC_BITS))) in is_affine_shear_allowed() 352 clamp(mat[2] - (1 << WARPEDMODEL_PREC_BITS), INT16_MIN, INT16_MAX); in get_shear_params() 356 int64_t v = ((int64_t)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in get_shear_params() 361 (1 << WARPEDMODEL_PREC_BITS), in get_shear_params() 429 const int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_c() 430 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_c() 431 const int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_c() 432 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_c() 711 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_c() [all …]
|
/external/libaom/libaom/test/ |
D | warp_filter_test_util.cc | 36 mat[0] = random_warped_param(rnd, WARPEDMODEL_PREC_BITS + 6); in generate_warped_model() 37 mat[1] = random_warped_param(rnd, WARPEDMODEL_PREC_BITS + 6); in generate_warped_model() 38 mat[2] = (random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3)) + in generate_warped_model() 39 (1 << WARPEDMODEL_PREC_BITS); in generate_warped_model() 40 mat[3] = random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3); in generate_warped_model() 44 mat[4] = random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3); in generate_warped_model() 45 mat[5] = (random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3)) + in generate_warped_model() 46 (1 << WARPEDMODEL_PREC_BITS); in generate_warped_model() 51 mat[4] = random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3); in generate_warped_model() 52 mat[5] = (random_warped_param(rnd, WARPEDMODEL_PREC_BITS - 3)) + in generate_warped_model() [all …]
|
/external/libaom/libaom/av1/common/arm/ |
D | warp_plane_neon.c | 527 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_neon() 528 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_neon() 529 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_neon() 530 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_neon()
|
/external/libaom/libaom/av1/common/x86/ |
D | highbd_warp_plane_sse4.c | 350 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_sse4_1() 351 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_sse4_1() 352 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_sse4_1() 353 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_sse4_1()
|
D | warp_plane_sse4.c | 862 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_sse4_1() 863 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_sse4_1() 864 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_sse4_1() 865 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_sse4_1()
|
/external/libaom/libaom/av1/encoder/ |
D | global_motion.c | 132 param_value = (param_value - (is_one_centered << WARPEDMODEL_PREC_BITS)) >> in add_param_offset() 145 return param_value + (is_one_centered << WARPEDMODEL_PREC_BITS); in add_param_offset() 155 wm->wmmat[2] = 1 << WARPEDMODEL_PREC_BITS; in force_wmtype()
|
/external/libaom/libaom/av1/decoder/ |
D | decodeframe.c | 4640 (1 << WARPEDMODEL_PREC_BITS); in read_global_motion_params() 4657 (1 << WARPEDMODEL_PREC_BITS); in read_global_motion_params()
|