Home
last modified time | relevance | path

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

/external/libaom/libaom/av1/common/
Dmv.h221 static INLINE int convert_to_trans_prec(int allow_hp, int coor) { in convert_to_trans_prec() argument
222 if (allow_hp) in convert_to_trans_prec()
260 int allow_hp, BLOCK_SIZE bsize, in gm_get_motion_vector() argument
285 assert(IMPLIES(1 & (res.as_mv.row | res.as_mv.col), allow_hp)); in gm_get_motion_vector()
304 tx = convert_to_trans_prec(allow_hp, xc); in gm_get_motion_vector()
305 ty = convert_to_trans_prec(allow_hp, yc); in gm_get_motion_vector()
Dmvref_common.h88 static INLINE void lower_mv_precision(MV *mv, int allow_hp, int is_integer) { in lower_mv_precision() argument
92 if (!allow_hp) { in lower_mv_precision()
253 void av1_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *nearest_mv,
Dmvref_common.c825 void av1_find_best_ref_mvs(int allow_hp, int_mv *mvlist, int_mv *nearest_mv, in av1_find_best_ref_mvs() argument
830 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()
695 const int allow_hp = cm->allow_high_precision_mv; in read_inter_block_mode_info() local
749 lower_mv_precision(&tmp_mvs[0].as_mv, allow_hp); in read_inter_block_mode_info()
756 best_sub8x8, is_compound, allow_hp, r)) { in read_inter_block_mode_info()
777 lower_mv_precision(&tmp_mvs[refmv_count - 1].as_mv, allow_hp); in read_inter_block_mode_info()
782 best_ref_mvs, is_compound, allow_hp, r); in read_inter_block_mode_info()
Dvp9_decodeframe.c139 static void read_mv_probs(nmv_context *ctx, int allow_hp, vpx_reader *r) { in read_mv_probs() argument
159 if (allow_hp) { in read_mv_probs()
/external/libaom/libaom/av1/decoder/
Ddecodemv.c1110 int_mv near_mv[2], int is_compound, int allow_hp, in assign_mv() argument
1117 allow_hp = MV_SUBPEL_NONE; in assign_mv()
1122 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1145 read_mv(r, &mv[i].as_mv, &ref_mv[i].as_mv, nmvc, allow_hp); in assign_mv()
1163 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1171 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1178 read_mv(r, &mv[1].as_mv, &ref_mv[1].as_mv, nmvc, allow_hp); in assign_mv()
1184 read_mv(r, &mv[0].as_mv, &ref_mv[0].as_mv, nmvc, allow_hp); in assign_mv()
1270 const int allow_hp = features->allow_high_precision_mv; in read_inter_block_mode_info() local
1319 av1_find_best_ref_mvs(allow_hp, ref_mvs[mbmi->ref_frame[0]], &nearestmv[0], in read_inter_block_mode_info()
[all …]
Ddecodeframe.c4252 int allow_hp) { in read_global_motion_params() argument
4295 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in read_global_motion_params()
4298 (type == TRANSLATION) ? GM_TRANS_ONLY_DECODE_FACTOR * (1 << !allow_hp) in read_global_motion_params()
4301 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in read_global_motion_params()
/external/libaom/libaom/av1/encoder/
Dencodemv.c259 void av1_find_best_ref_mvs_from_stack(int allow_hp, in av1_find_best_ref_mvs_from_stack() argument
267 lower_mv_precision(&nearest_mv->as_mv, allow_hp, is_integer); in av1_find_best_ref_mvs_from_stack()
269 lower_mv_precision(&near_mv->as_mv, allow_hp, is_integer); in av1_find_best_ref_mvs_from_stack()
Dmcomp.c93 ms_params->allow_hp = cm->features.allow_high_precision_mv; in av1_make_default_subpel_ms_params()
2502 const int allow_hp = ms_params->allow_hp; in av1_find_best_sub_pixel_tree_pruned_evenmore() local
2557 if (allow_hp && forced_stop == EIGHTH_PEL) { in av1_find_best_sub_pixel_tree_pruned_evenmore()
2578 const int allow_hp = ms_params->allow_hp; in av1_find_best_sub_pixel_tree_pruned_more() local
2634 if (allow_hp && forced_stop == EIGHTH_PEL) { in av1_find_best_sub_pixel_tree_pruned_more()
2655 const int allow_hp = ms_params->allow_hp; in av1_find_best_sub_pixel_tree_pruned() local
2750 if (allow_hp && forced_stop == EIGHTH_PEL) { in av1_find_best_sub_pixel_tree_pruned()
2771 const int allow_hp = ms_params->allow_hp; in av1_find_best_sub_pixel_tree() local
2782 const int round = AOMMIN(FULL_PEL - forced_stop, 3 - !allow_hp); in av1_find_best_sub_pixel_tree()
2844 const int allow_hp = ms_params->allow_hp; in av1_return_max_sub_pixel_mv() local
[all …]
Dencodemv.h40 void av1_find_best_ref_mvs_from_stack(int allow_hp,
Dmcomp.h257 int allow_hp; member
Dbitstream.c1088 const int allow_hp = cm->features.allow_high_precision_mv; in pack_inter_mode_mvs() local
1141 allow_hp); in pack_inter_mode_mvs()
1146 av1_encode_mv(cpi, w, &mbmi->mv[1].as_mv, &ref_mv.as_mv, nmvc, allow_hp); in pack_inter_mode_mvs()
1150 av1_encode_mv(cpi, w, &mbmi->mv[0].as_mv, &ref_mv.as_mv, nmvc, allow_hp); in pack_inter_mode_mvs()
2668 struct aom_write_bit_buffer *wb, int allow_hp) { in write_global_motion_params() argument
2703 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in write_global_motion_params()
2706 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in write_global_motion_params()
Dencodeframe.c1466 const int allow_hp = cm->features.cur_frame_force_integer_mv in update_stats() local
1473 allow_hp); in update_stats()
1479 allow_hp); in update_stats()
1484 allow_hp); in update_stats()
5128 const WarpedMotionParams *ref_gm, int allow_hp) { in gm_get_params_cost() argument
5156 ? GM_ABS_TRANS_ONLY_BITS - !allow_hp in gm_get_params_cost()
5159 ? GM_TRANS_ONLY_PREC_DIFF + !allow_hp in gm_get_params_cost()
/external/libvpx/libvpx/vp9/encoder/
Dvp9_mcomp.c366 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_skip_sub_pixel_tree() argument
379 (void)allow_hp; in vp9_skip_sub_pixel_tree()
399 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned_evenmore() argument
412 (void)allow_hp; in vp9_find_best_sub_pixel_tree_pruned_evenmore()
450 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned_evenmore()
465 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned_more() argument
506 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned_more()
527 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree_pruned() argument
590 if (allow_hp && use_mv_hp(ref_mv) && forced_stop == 0) { in vp9_find_best_sub_pixel_tree_pruned()
727 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp, in vp9_find_best_sub_pixel_tree() argument
[all …]
Dvp9_mcomp.h81 const MACROBLOCK *x, MV *bestmv, const MV *ref_mv, int allow_hp,
Dvp9_bitstream.c251 const int allow_hp = cm->allow_high_precision_mv; in pack_inter_mode_mvs() local
327 nmvc, allow_hp, max_mv_magnitude); in pack_inter_mode_mvs()
336 allow_hp, max_mv_magnitude); in pack_inter_mode_mvs()