Lines Matching refs:b
92 static inline int min(int a, int b) { in min() argument
93 return (a<b) ? a : b; in min()
97 static inline int max(int a, int b) { in max() argument
98 return (a>b) ? a : b; in max()
102 static inline void MULDIV(uint32_t *a, uint32_t *b, int mul, int div) { in MULDIV() argument
105 *b = (mul * *b) / div; in MULDIV()
116 out->b = min(lhs->b, rhs->b); in intersect()
167 e->dst_rect.h = clip.b - clip.t; in set_rects()
173 e->src_rect.w = (clip.b - clip.t); in set_rects()
175 W = dst->b - dst->t; in set_rects()
181 e->src_rect.h = (clip.b - clip.t); in set_rects()
183 H = dst->b - dst->t; in set_rects()
186 MULDIV(&e->src_rect.y, &e->src_rect.h, src->b - src->t, H); in set_rects()
366 src_rect->t < 0 || src_rect->b > src->h) { in stretch_copybit()