Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/i2c/
Dov6650.c197 bool half_scale; /* scale down output by 2 */ member
515 mf->width = priv->rect.width >> priv->half_scale; in ov6650_get_fmt()
516 mf->height = priv->rect.height >> priv->half_scale; in ov6650_get_fmt()
551 bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect); in ov6650_s_fmt() local
556 (mf->width >> (1 - half_scale)), in ov6650_s_fmt()
558 (mf->height >> (1 - half_scale)), in ov6650_s_fmt()
559 .r.width = mf->width << half_scale, in ov6650_s_fmt()
560 .r.height = mf->height << half_scale, in ov6650_s_fmt()
586 if (half_scale) { in ov6650_s_fmt()
596 if (half_scale) { in ov6650_s_fmt()
[all …]