Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dsc850sl.c1260 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1274 sel->r.left = CROP_START(sc850sl->cur_mode->width, DST_WIDTH_3840); in sc850sl_get_selection()
1276 sel->r.top = CROP_START(sc850sl->cur_mode->height, DST_HEIGHT_2160); in sc850sl_get_selection()
1279 sel->r.left = CROP_START(sc850sl->cur_mode->width, DST_WIDTH_1920); in sc850sl_get_selection()
1281 sel->r.top = CROP_START(sc850sl->cur_mode->height, DST_HEIGHT_1080); in sc850sl_get_selection()
1284 sel->r.left = CROP_START(sc850sl->cur_mode->width, in sc850sl_get_selection()
1287 sel->r.top = CROP_START(sc850sl->cur_mode->height, in sc850sl_get_selection()
H A Ds5k3l6xx.c1094 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1106 sel->r.left = CROP_START(s5k3l6xx->cur_mode->width, DST_WIDTH_2096); in s5k3l6xx_get_selection()
1108 sel->r.top = CROP_START(s5k3l6xx->cur_mode->height, DST_HEIGHT_1560); in s5k3l6xx_get_selection()
1111 sel->r.left = CROP_START(s5k3l6xx->cur_mode->width, in s5k3l6xx_get_selection()
1114 sel->r.top = CROP_START(s5k3l6xx->cur_mode->height, in s5k3l6xx_get_selection()
H A Dov4688.c1416 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1436 sel->r.left = CROP_START(ov4688->cur_mode->width, 2560); in ov4688_get_selection()
1438 sel->r.top = CROP_START(ov4688->cur_mode->height, 1440); in ov4688_get_selection()
1441 sel->r.left = CROP_START(ov4688->cur_mode->width, 1920); in ov4688_get_selection()
1443 sel->r.top = CROP_START(ov4688->cur_mode->height, 1080); in ov4688_get_selection()
H A Dimx415.c2191 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
2214 sel->r.left = CROP_START(imx415->cur_mode->width, DST_WIDTH_3840); in imx415_get_selection()
2216 sel->r.top = CROP_START(imx415->cur_mode->height, DST_HEIGHT_2160); in imx415_get_selection()
2219 sel->r.left = CROP_START(imx415->cur_mode->width, DST_WIDTH_1920); in imx415_get_selection()
2221 sel->r.top = CROP_START(imx415->cur_mode->height, DST_HEIGHT_1080); in imx415_get_selection()
2224 sel->r.left = CROP_START(imx415->cur_mode->width, imx415->cur_mode->width); in imx415_get_selection()
2226 sel->r.top = CROP_START(imx415->cur_mode->height, imx415->cur_mode->height); in imx415_get_selection()
H A Dimx214.c1471 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1483 sel->r.left = CROP_START(imx214->cur_mode->width, DST_WIDTH_2096); in imx214_get_selection()
1485 sel->r.top = CROP_START(imx214->cur_mode->height, DST_HEIGHT_1560); in imx214_get_selection()
1488 sel->r.left = CROP_START(imx214->cur_mode->width, in imx214_get_selection()
1491 sel->r.top = CROP_START(imx214->cur_mode->height, in imx214_get_selection()
H A Dimx577.c1950 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1961 sel->r.left = CROP_START(imx577->cur_mode->width, DST_WIDTH_4048); in imx577_get_selection()
1963 sel->r.top = CROP_START(imx577->cur_mode->height, imx577->cur_mode->height); in imx577_get_selection()
1966 sel->r.left = CROP_START(imx577->cur_mode->width, in imx577_get_selection()
1969 sel->r.top = CROP_START(imx577->cur_mode->height, in imx577_get_selection()
H A Ds5kjn1.c1824 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1836 sel->r.left = CROP_START(s5kjn1->cur_mode->width, DST_WIDTH); in s5kjn1_get_selection()
1838 sel->r.top = CROP_START(s5kjn1->cur_mode->height, DST_HEIGHT); in s5kjn1_get_selection()
1841 sel->r.left = CROP_START(s5kjn1->cur_mode->width, s5kjn1->cur_mode->width); in s5kjn1_get_selection()
1843 sel->r.top = CROP_START(s5kjn1->cur_mode->height, s5kjn1->cur_mode->height); in s5kjn1_get_selection()
H A Dgc4023.c1190 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1211 sel->r.left = CROP_START(gc4023->cur_mode->width, DST_WIDTH); in gc4023_get_selection()
1213 sel->r.top = CROP_START(gc4023->cur_mode->height, DST_HEIGHT); in gc4023_get_selection()
H A Dov16a1q.c1677 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1697 sel->r.left = CROP_START(ov16a1q->cur_mode->width, DST_WIDTH_2320); in ov16a1q_get_selection()
1699 sel->r.top = CROP_START(ov16a1q->cur_mode->height, DST_HEIGHT_1744); in ov16a1q_get_selection()
H A Dov16a10.c1629 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1649 sel->r.left = CROP_START(ov16a10->cur_mode->width, DST_WIDTH_2320); in ov16a10_get_selection()
1651 sel->r.top = CROP_START(ov16a10->cur_mode->height, DST_HEIGHT_1744); in ov16a10_get_selection()
H A Dimx334.c1425 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1436 sel->r.left = CROP_START(imx334->cur_mode->width, DST_WIDTH); in imx334_get_selection()
1438 sel->r.top = CROP_START(imx334->cur_mode->height, DST_HEIGHT); in imx334_get_selection()
H A Dov50c40.c6732 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
6742 sel->r.left = CROP_START(ov50c40->cur_mode->width, DST_WIDTH); in ov50c40_get_selection()
6744 sel->r.top = CROP_START(ov50c40->cur_mode->height, DST_HEIGHT); in ov50c40_get_selection()
H A Dimx327.c1533 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1554 sel->r.left = CROP_START(imx327->cur_mode->width, DST_WIDTH); in imx327_get_selection()
1562 sel->r.top = CROP_START(imx327->cur_mode->height, DST_HEIGHT); in imx327_get_selection()
H A Dimx347.c1753 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1773 sel->r.left = CROP_START(imx347->cur_mode->width, DST_WIDTH); in imx347_get_selection()
1775 sel->r.top = CROP_START(imx347->cur_mode->height, DST_HEIGHT); in imx347_get_selection()
H A Dimx307.c1857 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1878 sel->r.left = CROP_START(imx307->cur_mode->width, DST_WIDTH); in imx307_get_selection()
1886 sel->r.top = CROP_START(imx307->cur_mode->height, DST_HEIGHT); in imx307_get_selection()
H A Dimx464.c2815 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
2835 sel->r.left = CROP_START(IMX464->cur_mode->width, DST_WIDTH); in IMX464_get_selection()
2837 sel->r.top = CROP_START(IMX464->cur_mode->height, DST_HEIGHT); in IMX464_get_selection()
H A Dimx492.c1455 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
1480 sel->r.top = CROP_START(imx492->cur_mode->height, DST_HEIGHT_4320); in imx492_get_selection()
/OK3568_Linux_fs/kernel/drivers/media/spi/
H A Drk1608_dphy.c588 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
621 sel->r.left = CROP_START(pdata->fmt_inf[idx].mf.width, width); in rk1608_get_selection()
622 sel->r.top = CROP_START(pdata->fmt_inf[idx].mf.height, height); in rk1608_get_selection()
/OK3568_Linux_fs/kernel/drivers/media/i2c/nvp6158_drv/
H A Dnvp6158_v4l2.c514 #define CROP_START(SRC, DST) (((SRC) - (DST)) / 2 / 4 * 4) macro
531 sel->r.left = CROP_START(0, 0); in nvp6158_get_selection()
533 sel->r.top = CROP_START(0, 0); in nvp6158_get_selection()