Lines Matching refs:half_scale
197 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()
631 if (half_scale) { in ov6650_s_fmt()
639 priv->half_scale = half_scale; in ov6650_s_fmt()
662 mf->width = priv->rect.width >> half_scale; in ov6650_s_fmt()
663 mf->height = priv->rect.height >> half_scale; in ov6650_s_fmt()
1004 priv->half_scale = false; in ov6650_probe()