Home
last modified time | relevance | path

Searched refs:need_to_clamp (Results 1 – 2 of 2) sorted by relevance

/external/libvpx/libvpx/vp8/common/
Dfindnearmv.h64 unsigned int need_to_clamp; in vp8_check_mv_bounds() local
65 need_to_clamp = (mv->as_mv.col < mb_to_left_edge); in vp8_check_mv_bounds()
66 need_to_clamp |= (mv->as_mv.col > mb_to_right_edge); in vp8_check_mv_bounds()
67 need_to_clamp |= (mv->as_mv.row < mb_to_top_edge); in vp8_check_mv_bounds()
68 need_to_clamp |= (mv->as_mv.row > mb_to_bottom_edge); in vp8_check_mv_bounds()
69 return need_to_clamp; in vp8_check_mv_bounds()
/external/llvm-project/llvm/test/Transforms/InstCombine/
Dcanonicalize-clamp-with-select-of-constant-threshold-pattern.ll52 %need_to_clamp = or i1 %need_to_clamp_positive, %need_to_clamp_negative
53 %R = select i1 %need_to_clamp, i32 %clamp_limit, i32 %X
67 %need_to_clamp = or i1 %need_to_clamp_positive, %need_to_clamp_negative
68 %R = select i1 %need_to_clamp, i32 %clamp_limit, i32 %X