Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/spi/
H A Drk1608_core.c2390 int rk1608_get_dcrop_cfg(struct v4l2_rect *crop_in, in rk1608_get_dcrop_cfg() argument
2474 temp = xoffset * crop_in->width; in rk1608_get_dcrop_cfg()
2476 left = (0x10000 - ratio) * crop_in->width / 0x10000 / 2 + temp; in rk1608_get_dcrop_cfg()
2477 top = (0x10000 - ratio) * crop_in->height / 0x10000 / 2; in rk1608_get_dcrop_cfg()
2478 width = crop_in->width * ratio / 0x10000; in rk1608_get_dcrop_cfg()
2479 height = crop_in->height * ratio / 0x10000; in rk1608_get_dcrop_cfg()
2483 __func__, left, top, width, height, crop_in->width, crop_in->height); in rk1608_get_dcrop_cfg()
2485 if ((left + width) > crop_in->width || in rk1608_get_dcrop_cfg()
2486 (top + height) > crop_in->height || in rk1608_get_dcrop_cfg()
H A Drk1608_core.h639 int rk1608_get_dcrop_cfg(struct v4l2_rect *crop_in,