Home
last modified time | relevance | path

Searched refs:WARPEDMODEL_PREC_BITS (Results 1 – 9 of 9) sorted by relevance

/external/libaom/libaom/av1/common/
Dmv.h92 #define WARPEDMODEL_PREC_BITS 16 macro
95 #define WARPEDMODEL_TRANS_CLAMP (128 << WARPEDMODEL_PREC_BITS)
96 #define WARPEDMODEL_NONDIAGAFFINE_CLAMP (1 << (WARPEDMODEL_PREC_BITS - 3))
97 #define WARPEDMODEL_ROW3HOMO_CLAMP (1 << (WARPEDMODEL_PREC_BITS - 2))
105 #define WARPEDDIFF_PREC_BITS (WARPEDMODEL_PREC_BITS - WARPEDPIXEL_PREC_BITS)
147 { 0, 0, (1 << WARPEDMODEL_PREC_BITS), 0, 0, (1 << WARPEDMODEL_PREC_BITS), 0,
187 #define GM_TRANS_PREC_DIFF (WARPEDMODEL_PREC_BITS - GM_TRANS_PREC_BITS)
188 #define GM_TRANS_ONLY_PREC_DIFF (WARPEDMODEL_PREC_BITS - 3)
194 #define GM_ALPHA_PREC_DIFF (WARPEDMODEL_PREC_BITS - GM_ALPHA_PREC_BITS)
223 return ROUND_POWER_OF_TWO_SIGNED(coor, WARPEDMODEL_PREC_BITS - 3); in convert_to_trans_prec()
[all …]
Dwarped_motion.c268 if ((4 * abs(alpha) + 7 * abs(beta) >= (1 << WARPEDMODEL_PREC_BITS)) || in is_affine_shear_allowed()
269 (4 * abs(gamma) + 4 * abs(delta) >= (1 << WARPEDMODEL_PREC_BITS))) in is_affine_shear_allowed()
280 clamp(mat[2] - (1 << WARPEDMODEL_PREC_BITS), INT16_MIN, INT16_MAX); in av1_get_shear_params()
284 int64_t v = ((int64_t)mat[4] * (1 << WARPEDMODEL_PREC_BITS)) * y; in av1_get_shear_params()
289 (1 << WARPEDMODEL_PREC_BITS), in av1_get_shear_params()
358 const int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_c()
359 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_c()
360 const int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_c()
361 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_c()
629 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_c()
[all …]
/external/libaom/libaom/test/
Dwarp_filter_test_util.cc36 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/
Dwarp_plane_neon.c527 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/
Dhighbd_warp_plane_sse4.c358 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_sse4_1()
359 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_sse4_1()
360 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_highbd_warp_affine_sse4_1()
361 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_highbd_warp_affine_sse4_1()
Dwarp_plane_sse4.c883 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_sse4_1()
884 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_sse4_1()
885 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_sse4_1()
886 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_sse4_1()
Dwarp_plane_avx2.c1201 int32_t ix4 = x4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_avx2()
1202 int32_t sx4 = x4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_avx2()
1203 int32_t iy4 = y4 >> WARPEDMODEL_PREC_BITS; in av1_warp_affine_avx2()
1204 int32_t sy4 = y4 & ((1 << WARPEDMODEL_PREC_BITS) - 1); in av1_warp_affine_avx2()
/external/libaom/libaom/av1/encoder/
Dglobal_motion.c128 param_value = (param_value - (is_one_centered << WARPEDMODEL_PREC_BITS)) >> in add_param_offset()
141 return param_value + (is_one_centered << WARPEDMODEL_PREC_BITS); in add_param_offset()
151 wm->wmmat[2] = 1 << WARPEDMODEL_PREC_BITS; in force_wmtype()
/external/libaom/libaom/av1/decoder/
Ddecodeframe.c4270 (1 << WARPEDMODEL_PREC_BITS); in read_global_motion_params()
4287 (1 << WARPEDMODEL_PREC_BITS); in read_global_motion_params()