Home
last modified time | relevance | path

Searched refs:half_scale (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/media/i2c/
H A Dov6650.c198 bool half_scale; /* scale down output by 2 */ member
537 bool half_scale = !is_unscaled_ok(mf->width, mf->height, crop); in ov6650_set_selection() local
543 mf->width = crop->width >> half_scale; in ov6650_set_selection()
544 mf->height = crop->height >> half_scale; in ov6650_set_selection()
596 mf->width = priv->rect.width >> priv->half_scale; in ov6650_get_fmt()
597 mf->height = priv->rect.height >> priv->half_scale; in ov6650_get_fmt()
606 static int ov6650_s_fmt(struct v4l2_subdev *sd, u32 code, bool half_scale) in ov6650_s_fmt() argument
632 if (half_scale) { in ov6650_s_fmt()
642 if (half_scale) { in ov6650_s_fmt()
669 if (half_scale) { in ov6650_s_fmt()
[all …]