Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/i2c/
Dov6650.c198 bool half_scale; /* scale down output by 2 */ member
558 mf->width = priv->rect.width >> priv->half_scale; in ov6650_get_fmt()
559 mf->height = priv->rect.height >> priv->half_scale; in ov6650_get_fmt()
577 bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect); in ov6650_s_fmt() local
582 (mf->width >> (1 - half_scale)), in ov6650_s_fmt()
584 (mf->height >> (1 - half_scale)), in ov6650_s_fmt()
585 .r.width = mf->width << half_scale, in ov6650_s_fmt()
586 .r.height = mf->height << half_scale, in ov6650_s_fmt()
611 if (half_scale) { in ov6650_s_fmt()
621 if (half_scale) { in ov6650_s_fmt()
[all …]