v4l2_rect_set_size_to(9) copy the width/height values.

SYNOPSIS

void v4l2_rect_set_size_to(struct v4l2_rect * r, const struct v4l2_rect * size);

ARGUMENTS

r

rect whose width and height fields will be set

size

rect containing the width and height fields you need.

COPYRIGHT