Searched refs:mv_limits (Results 1 – 10 of 10) sorted by relevance
/external/libvpx/libvpx/vp9/encoder/ |
D | vp9_mcomp.c | 37 void vp9_set_mv_search_range(MvLimits *mv_limits, const MV *mv) { in vp9_set_mv_search_range() argument 50 if (mv_limits->col_min < col_min) mv_limits->col_min = col_min; in vp9_set_mv_search_range() 51 if (mv_limits->col_max > col_max) mv_limits->col_max = col_max; in vp9_set_mv_search_range() 52 if (mv_limits->row_min < row_min) mv_limits->row_min = row_min; in vp9_set_mv_search_range() 53 if (mv_limits->row_max > row_max) mv_limits->row_max = row_max; in vp9_set_mv_search_range() 312 vp9_set_subpel_mv_search_range(&subpel_mv_limits, &x->mv_limits, ref_mv); \ 674 vp9_set_subpel_mv_search_range(&subpel_mv_limits, &x->mv_limits, ref_mv); in vp9_find_best_sub_pixel_tree() 784 static INLINE int check_bounds(const MvLimits *mv_limits, int row, int col, in check_bounds() argument 786 return ((row - range) >= mv_limits->row_min) & in check_bounds() 787 ((row + range) <= mv_limits->row_max) & in check_bounds() [all …]
|
D | vp9_mbgraph.c | 33 const MvLimits tmp_mv_limits = x->mv_limits; in do_16x16_motion_iteration() 41 vp9_set_mv_search_range(&x->mv_limits, ref_mv); in do_16x16_motion_iteration() 53 x->mv_limits = tmp_mv_limits; in do_16x16_motion_iteration() 229 x->mv_limits.row_min = -BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 230 x->mv_limits.row_max = (cm->mb_rows - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 250 x->mv_limits.col_min = -BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 251 x->mv_limits.col_max = (cm->mb_cols - 1) * 8 + BORDER_MV_PIXELS_B16; in update_mbgraph_frame_stats() 270 x->mv_limits.col_min -= 16; in update_mbgraph_frame_stats() 271 x->mv_limits.col_max -= 16; in update_mbgraph_frame_stats() 280 x->mv_limits.row_min -= 16; in update_mbgraph_frame_stats() [all …]
|
D | vp9_temporal_filter.c | 240 const MvLimits tmp_mv_limits = x->mv_limits; in temporal_filter_find_matching_mb_c() 261 vp9_set_mv_search_range(&x->mv_limits, &best_ref_mv1); in temporal_filter_find_matching_mb_c() 268 x->mv_limits = tmp_mv_limits; in temporal_filter_find_matching_mb_c() 337 td->mb.mv_limits.row_min = -((mb_row * 16) + (17 - 2 * VP9_INTERP_EXTEND)); in vp9_temporal_filter_iterate_row_c() 338 td->mb.mv_limits.row_max = in vp9_temporal_filter_iterate_row_c() 349 td->mb.mv_limits.col_min = -((mb_col * 16) + (17 - 2 * VP9_INTERP_EXTEND)); in vp9_temporal_filter_iterate_row_c() 350 td->mb.mv_limits.col_max = in vp9_temporal_filter_iterate_row_c()
|
D | vp9_block.h | 120 MvLimits mv_limits; member
|
D | vp9_pickmode.c | 158 const MvLimits tmp_mv_limits = x->mv_limits; in combined_motion_search() 172 vp9_set_mv_search_range(&x->mv_limits, &ref_mv); in combined_motion_search() 176 x->mv_limits.col_min = VPXMAX(x->mv_limits.col_min, -10); in combined_motion_search() 177 x->mv_limits.row_min = VPXMAX(x->mv_limits.row_min, -10); in combined_motion_search() 178 x->mv_limits.col_max = VPXMIN(x->mv_limits.col_max, 10); in combined_motion_search() 179 x->mv_limits.row_max = VPXMIN(x->mv_limits.row_max, 10); in combined_motion_search() 205 x->mv_limits = tmp_mv_limits; in combined_motion_search() 2551 const MvLimits tmp_mv_limits = x->mv_limits; in vp9_pick_inter_mode_sub8x8() 2562 vp9_set_mv_search_range(&x->mv_limits, in vp9_pick_inter_mode_sub8x8() 2570 x->mv_limits = tmp_mv_limits; in vp9_pick_inter_mode_sub8x8()
|
D | vp9_mcomp.h | 44 void vp9_set_mv_search_range(MvLimits *mv_limits, const MV *mv);
|
D | vp9_rdopt.c | 1634 static INLINE int mv_check_bounds(const MvLimits *mv_limits, const MV *mv) { in mv_check_bounds() argument 1635 return (mv->row >> 3) < mv_limits->row_min || in mv_check_bounds() 1636 (mv->row >> 3) > mv_limits->row_max || in mv_check_bounds() 1637 (mv->col >> 3) < mv_limits->col_min || in mv_check_bounds() 1638 (mv->col >> 3) > mv_limits->col_max; in mv_check_bounds() 1775 const MvLimits tmp_mv_limits = x->mv_limits; in joint_motion_search() 1808 vp9_set_mv_search_range(&x->mv_limits, &ref_mv[id].as_mv); in joint_motion_search() 1824 x->mv_limits = tmp_mv_limits; in joint_motion_search() 1962 const MvLimits tmp_mv_limits = x->mv_limits; in rd_pick_best_sub8x8_mode() 2003 vp9_set_mv_search_range(&x->mv_limits, &bsi->ref_mv[0]->as_mv); in rd_pick_best_sub8x8_mode() [all …]
|
D | vp9_firstpass.c | 907 x->mv_limits.row_min = -((mb_row * 16) + BORDER_MV_PIXELS_B16); in vp9_first_pass_encode_tile_mb_row() 908 x->mv_limits.row_max = in vp9_first_pass_encode_tile_mb_row() 1071 x->mv_limits.col_min = -((mb_col * 16) + BORDER_MV_PIXELS_B16); in vp9_first_pass_encode_tile_mb_row() 1072 x->mv_limits.col_max = in vp9_first_pass_encode_tile_mb_row()
|
D | vp9_encodeframe.c | 229 MvLimits *const mv_limits = &x->mv_limits; in set_offsets() local 242 mv_limits->row_min = -(((mi_row + mi_height) * MI_SIZE) + VP9_INTERP_EXTEND); in set_offsets() 243 mv_limits->col_min = -(((mi_col + mi_width) * MI_SIZE) + VP9_INTERP_EXTEND); in set_offsets() 244 mv_limits->row_max = (cm->mi_rows - mi_row) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets() 245 mv_limits->col_max = (cm->mi_cols - mi_col) * MI_SIZE + VP9_INTERP_EXTEND; in set_offsets()
|
/external/libvpx/libvpx/vp9/encoder/x86/ |
D | vp9_diamond_search_sad_avx.c | 78 const int_mv maxmv = pack_int_mv(x->mv_limits.row_max, x->mv_limits.col_max); in vp9_diamond_search_sad_avx() 80 const int_mv minmv = pack_int_mv(x->mv_limits.row_min, x->mv_limits.col_min); in vp9_diamond_search_sad_avx()
|