Lines Matching refs:rect

413 	struct v4l2_rect	  rect;  member
525 .rect = {
535 .rect = {
963 u32 diff = abs(width - ov772x_win_sizes[i].rect.width) in ov772x_select_win()
964 + abs(height - ov772x_win_sizes[i].rect.height); in ov772x_select_win()
1064 ret = regmap_write(priv->regmap, HSTART, win->rect.left >> 2); in ov772x_set_params()
1067 ret = regmap_write(priv->regmap, HSIZE, win->rect.width >> 2); in ov772x_set_params()
1070 ret = regmap_write(priv->regmap, VSTART, win->rect.top >> 1); in ov772x_set_params()
1073 ret = regmap_write(priv->regmap, VSIZE, win->rect.height >> 1); in ov772x_set_params()
1076 ret = regmap_write(priv->regmap, HOUTSIZE, win->rect.width >> 2); in ov772x_set_params()
1079 ret = regmap_write(priv->regmap, VOUTSIZE, win->rect.height >> 1); in ov772x_set_params()
1083 ((win->rect.top & 1) << HREF_VSTART_SHIFT) | in ov772x_set_params()
1084 ((win->rect.left & 3) << HREF_HSTART_SHIFT) | in ov772x_set_params()
1085 ((win->rect.height & 1) << HREF_VSIZE_SHIFT) | in ov772x_set_params()
1086 ((win->rect.width & 3) << HREF_HSIZE_SHIFT)); in ov772x_set_params()
1090 ((win->rect.height & 1) << EXHCH_VSIZE_SHIFT) | in ov772x_set_params()
1091 ((win->rect.width & 3) << EXHCH_HSIZE_SHIFT)); in ov772x_set_params()
1173 sel->r.width = priv->win->rect.width; in ov772x_get_selection()
1174 sel->r.height = priv->win->rect.height; in ov772x_get_selection()
1191 mf->width = priv->win->rect.width; in ov772x_get_fmt()
1192 mf->height = priv->win->rect.height; in ov772x_get_fmt()
1216 mf->width = win->rect.width; in ov772x_set_fmt()
1217 mf->height = win->rect.height; in ov772x_set_fmt()