v4l2_rect_map_inside — r should be inside boundary.
void v4l2_rect_map_inside (
)
r
rect that will be modified
boundary
rect containing the boundary for r