Searched refs:half_scale (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | ov6650.c | 198 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() 697 bool half_scale; ov6650_set_fmt() local [all...] |
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | ov6650.c | 198 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...] |
Completed in 4 milliseconds