Lines Matching refs:v4l2_rect
3 * v4l2-rect.h - v4l2_rect helper functions
18 static inline void v4l2_rect_set_size_to(struct v4l2_rect *r,
19 const struct v4l2_rect *size)
30 static inline void v4l2_rect_set_min_size(struct v4l2_rect *r,
31 const struct v4l2_rect *min_size)
44 static inline void v4l2_rect_set_max_size(struct v4l2_rect *r,
45 const struct v4l2_rect *max_size)
58 static inline void v4l2_rect_map_inside(struct v4l2_rect *r,
59 const struct v4l2_rect *boundary)
79 static inline bool v4l2_rect_same_size(const struct v4l2_rect *r1,
80 const struct v4l2_rect *r2)
92 static inline bool v4l2_rect_same_position(const struct v4l2_rect *r1,
93 const struct v4l2_rect *r2)
105 static inline bool v4l2_rect_equal(const struct v4l2_rect *r1,
106 const struct v4l2_rect *r2)
117 static inline void v4l2_rect_intersect(struct v4l2_rect *r,
118 const struct v4l2_rect *r1,
119 const struct v4l2_rect *r2)
144 static inline void v4l2_rect_scale(struct v4l2_rect *r,
145 const struct v4l2_rect *from,
146 const struct v4l2_rect *to)
165 static inline bool v4l2_rect_overlap(const struct v4l2_rect *r1,
166 const struct v4l2_rect *r2)
194 static inline bool v4l2_rect_enclosed(struct v4l2_rect *r1,
195 struct v4l2_rect *r2)