Lines Matching refs:height
459 rect.height = ALIGN(rect.height, 2); in ov6650_s_crop()
462 soc_camera_limit_side(&rect.top, &rect.height, in ov6650_s_crop()
478 (rect.top + rect.height) >> 1); in ov6650_s_crop()
481 priv->rect.height = rect.height; in ov6650_s_crop()
494 a->bounds.height = H_CIF; in ov6650_cropcap()
509 mf->height = priv->rect.height >> priv->half_scale; in ov6650_g_fmt()
517 static bool is_unscaled_ok(int width, int height, struct v4l2_rect *rect) in is_unscaled_ok() argument
519 return width > rect->width >> 1 || height > rect->height >> 1; in is_unscaled_ok()
546 bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect); in ov6650_s_fmt()
552 .top = priv->rect.top + (priv->rect.height >> 1) - in ov6650_s_fmt()
553 (mf->height >> (1 - half_scale)), in ov6650_s_fmt()
555 .height = mf->height << half_scale, in ov6650_s_fmt()
681 mf->height = priv->rect.height >> half_scale; in ov6650_s_fmt()
693 if (is_unscaled_ok(mf->width, mf->height, &priv->rect)) in ov6650_try_fmt()
695 &mf->height, 2, H_CIF, 1, 0); in ov6650_try_fmt()
1014 priv->rect.height = H_CIF; in ov6650_probe()