Home
last modified time | relevance | path

Searched refs:allow_hp (Results 1 – 20 of 20) sorted by relevance

/external/libaom/libaom/av1/common/
Dmv.h172 static INLINE int convert_to_trans_prec(int allow_hp, int coor) { in convert_to_trans_prec() argument
173 if (allow_hp) in convert_to_trans_prec()
211 int allow_hp, BLOCK_SIZE bsize, in gm_get_motion_vector() argument
235 assert(IMPLIES(1 & (res.as_mv.row | res.as_mv.col), allow_hp)); in gm_get_motion_vector()
254 tx = convert_to_trans_prec(allow_hp, xc); in gm_get_motion_vector()
255 ty = convert_to_trans_prec(allow_hp, yc); in gm_get_motion_vector()
Dmvref_common.h95 static INLINE void lower_mv_precision(MV *mv, int allow_hp, int is_integer) { in lower_mv_precision() argument
99 if (!allow_hp) { in lower_mv_precision()
261 void av1_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *nearest_mv,
Dmvref_common.c855 void av1_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *nearest_mv, in av1_find_best_ref_mvs() argument
860 lower_mv_precision(&mvlist[i].as_mv, allow_hp, is_integer); in av1_find_best_ref_mvs()
/external/libvpx/libvpx/vp9/common/
Dvp9_mvref_common.h294 static INLINE void lower_mv_precision(MV *mv, int allow_hp) { in lower_mv_precision() argument
295 const int use_hp = allow_hp && use_mv_hp(mv); in lower_mv_precision()
311 void vp9_find_best_ref_mvs(MACROBLOCKD *xd, int allow_hp, int_mv *mvlist,
Dvp9_entropymv.c154 void vp9_adapt_mv_probs(VP9_COMMON *cm, int allow_hp) { in vp9_adapt_mv_probs() argument
184 if (allow_hp) { in vp9_adapt_mv_probs()
Dvp9_mvref_common.c141 void vp9_find_best_ref_mvs(MACROBLOCKD *xd, int allow_hp, int_mv *mvlist, in vp9_find_best_ref_mvs() argument
146 lower_mv_precision(&mvlist[i].as_mv, allow_hp); in vp9_find_best_ref_mvs()
Dvp9_entropymv.h28 void vp9_adapt_mv_probs(struct VP9Common *cm, int allow_hp);
/external/libvpx/libvpx/vp9/decoder/
Dvp9_decodemv.c269 int allow_hp) { in read_mv() argument
272 const int use_hp = allow_hp && use_mv_hp(ref); in read_mv()
405 int is_compound, int allow_hp, vpx_reader *r) { in assign_mv() argument
415 allow_hp); in assign_mv()
447 static void dec_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *best_mv, in dec_find_best_ref_mvs() argument
453 lower_mv_precision(&mvlist[i].as_mv, allow_hp); in dec_find_best_ref_mvs()
698 const int allow_hp = cm->allow_high_precision_mv; in read_inter_block_mode_info() local
734 dec_find_best_ref_mvs(allow_hp, tmp_mvs, &best_ref_mvs[ref], in read_inter_block_mode_info()
766 best_sub8x8, is_compound, allow_hp, r)) { in read_inter_block_mode_info()
781 best_ref_mvs, is_compound, allow_hp, r); in read_inter_block_mode_info()
Dvp9_decodeframe.c135 static void read_mv_probs(nmv_context *ctx, int allow_hp, vpx_reader *r) { in read_mv_probs() argument
155 if (allow_hp) { in read_mv_probs()
/external/libaom/libaom/av1/encoder/
Dencodemv.c228 void av1_find_best_ref_mvs_from_stack(int allow_hp, in av1_find_best_ref_mvs_from_stack() argument
236 lower_mv_precision(&nearest_mv->as_mv, allow_hp, is_integer); in av1_find_best_ref_mvs_from_stack()
238 lower_mv_precision(&near_mv->as_mv, allow_hp, is_integer); in av1_find_best_ref_mvs_from_stack()
Dmcomp.h106 const MV *ref_mv, int allow_hp, int error_per_bit,
152 MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit,
Dencodemv.h37 void av1_find_best_ref_mvs_from_stack(int allow_hp,
Dmcomp.c396 const MV *ref_mv, int allow_hp, int error_per_bit, in av1_find_best_sub_pixel_tree_pruned_evenmore() argument
411 (void)allow_hp; in av1_find_best_sub_pixel_tree_pruned_evenmore()
453 if (allow_hp && forced_stop == 0) { in av1_find_best_sub_pixel_tree_pruned_evenmore()
469 const MV *ref_mv, int allow_hp, int error_per_bit, in av1_find_best_sub_pixel_tree_pruned_more() argument
516 if (allow_hp && forced_stop == 0) { in av1_find_best_sub_pixel_tree_pruned_more()
538 const MV *ref_mv, int allow_hp, int error_per_bit, in av1_find_best_sub_pixel_tree_pruned() argument
607 if (allow_hp && forced_stop == 0) { in av1_find_best_sub_pixel_tree_pruned()
726 const MV *ref_mv, int allow_hp, int error_per_bit, in av1_find_best_sub_pixel_tree() argument
757 if (!allow_hp) in av1_find_best_sub_pixel_tree()
2582 MV *bestmv, const MV *ref_mv, int allow_hp, int error_per_bit, in av1_find_best_obmc_sub_pixel_tree_up() argument
[all …]
Dbitstream.c1048 const int allow_hp = cm->allow_high_precision_mv; in pack_inter_mode_mvs() local
1101 allow_hp); in pack_inter_mode_mvs()
1106 av1_encode_mv(cpi, w, &mbmi->mv[1].as_mv, &ref_mv.as_mv, nmvc, allow_hp); in pack_inter_mode_mvs()
1110 av1_encode_mv(cpi, w, &mbmi->mv[0].as_mv, &ref_mv.as_mv, nmvc, allow_hp); in pack_inter_mode_mvs()
2640 int allow_hp) { in write_global_motion_params() argument
2675 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in write_global_motion_params()
2678 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in write_global_motion_params()
Dencodeframe.c5088 const WarpedMotionParams *ref_gm, int allow_hp) { in gm_get_params_cost() argument
5116 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in gm_get_params_cost()
5119 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in gm_get_params_cost()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1099 int is_compound, int allow_hp, aom_reader *r) { in assign_mv() argument
1104 allow_hp = MV_SUBPEL_NONE; in assign_mv()
1109 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1132 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, nmvc, allow_hp); in assign_mv()
1150 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1158 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1165 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1171 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1256 const int allow_hp = cm->allow_high_precision_mv; in read_inter_block_mode_info() local
1305 av1_find_best_ref_mvs(allow_hp, ref_mvs[mbmi->ref_frame[0]], &nearestmv[0], in read_inter_block_mode_info()
[all …]
Ddecodeframe.c4622 int allow_hp) { in read_global_motion_params() argument
4665 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in read_global_motion_params()
4668 (type == TRANSLATION) ? GM_TRANS_ONLY_DECODE_FACTOR * (1 << !allow_hp) in read_global_motion_params()
4671 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in read_global_motion_params()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c371 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_skip_sub_pixel_tree() argument
384 (void)allow_hp; in vp9_skip_sub_pixel_tree()
404 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned_evenmore() argument
417 (void)allow_hp; in vp9_find_best_sub_pixel_tree_pruned_evenmore()
455 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned_evenmore()
470 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned_more() argument
511 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned_more()
532 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned() argument
595 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned()
732 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree() argument
[all …]
Dvp9_mcomp.h73 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp,
Dvp9_bitstream.c246 const int allow_hp = cm->allow_high_precision_mv; in pack_inter_mode_mvs() local
322 nmvc, allow_hp, max_mv_magnitude); in pack_inter_mode_mvs()
331 allow_hp, max_mv_magnitude); in pack_inter_mode_mvs()