Lines Matching refs:half_scale
200 bool half_scale; /* scale down output by 2 */ member
508 mf->width = priv->rect.width >> priv->half_scale; in ov6650_g_fmt()
509 mf->height = priv->rect.height >> priv->half_scale; in ov6650_g_fmt()
546 bool half_scale = !is_unscaled_ok(mf->width, mf->height, &priv->rect); in ov6650_s_fmt() local
551 (mf->width >> (1 - half_scale)), in ov6650_s_fmt()
553 (mf->height >> (1 - half_scale)), in ov6650_s_fmt()
554 .width = mf->width << half_scale, in ov6650_s_fmt()
555 .height = mf->height << half_scale, in ov6650_s_fmt()
582 if (half_scale) { in ov6650_s_fmt()
592 if (half_scale) { in ov6650_s_fmt()
627 if (half_scale) { in ov6650_s_fmt()
635 priv->half_scale = half_scale; in ov6650_s_fmt()
680 mf->width = priv->rect.width >> half_scale; in ov6650_s_fmt()
681 mf->height = priv->rect.height >> half_scale; in ov6650_s_fmt()
1015 priv->half_scale = false; in ov6650_probe()