Home
last modified time | relevance | path

Searched refs:image_win (Results 1 – 5 of 5) sorted by relevance

/linux-5.19.10/drivers/media/platform/ti/davinci/
Ddm355_ccdc.c205 static void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() argument
219 horz_start = image_win->left << (ppc - 1); in ccdc_setwin()
220 horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; in ccdc_setwin()
225 vert_start = image_win->top; in ccdc_setwin()
228 vert_nr_lines = (image_win->height >> 1) - 1; in ccdc_setwin()
237 vert_nr_lines = image_win->height - 1; in ccdc_setwin()
239 mid_img = vert_start + (image_win->height / 2); in ccdc_setwin()
Ddm644x_ccdc.c116 static void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() argument
130 horz_start = image_win->left << (ppc - 1); in ccdc_setwin()
131 horz_nr_pixels = (image_win->width << (ppc - 1)) - 1; in ccdc_setwin()
135 vert_start = image_win->top; in ccdc_setwin()
138 vert_nr_lines = (image_win->height >> 1) - 1; in ccdc_setwin()
149 vert_nr_lines = image_win->height - 1; in ccdc_setwin()
154 mid_img = vert_start + (image_win->height / 2); in ccdc_setwin()
Disif.c268 static void isif_setwin(struct v4l2_rect *image_win, in isif_setwin() argument
281 horz_start = image_win->left << (ppc - 1); in isif_setwin()
282 horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; in isif_setwin()
287 vert_start = image_win->top; in isif_setwin()
290 vert_nr_lines = (image_win->height >> 1) - 1; in isif_setwin()
297 vert_nr_lines = image_win->height - 1; in isif_setwin()
299 mid_img = vert_start + (image_win->height / 2); in isif_setwin()
Dvpfe_capture.c1366 struct v4l2_rect image_win; in vpfe_calculate_offsets() local
1370 ccdc_dev->hw_ops.get_image_window(&image_win); in vpfe_calculate_offsets()
1371 vpfe_dev->field_off = image_win.height * image_win.width; in vpfe_calculate_offsets()
/linux-5.19.10/drivers/media/platform/ti/am437x/
Dam437x-vpfe.c210 struct v4l2_rect *image_win, in vpfe_ccdc_setwin() argument
223 horz_start = image_win->left * bpp; in vpfe_ccdc_setwin()
224 horz_nr_pixels = (image_win->width * bpp) - 1; in vpfe_ccdc_setwin()
228 vert_start = image_win->top; in vpfe_ccdc_setwin()
231 vert_nr_lines = (image_win->height >> 1) - 1; in vpfe_ccdc_setwin()
236 vert_nr_lines = image_win->height - 1; in vpfe_ccdc_setwin()
241 mid_img = vert_start + (image_win->height / 2); in vpfe_ccdc_setwin()
864 struct v4l2_rect image_win; in vpfe_get_ccdc_image_format() local
870 vpfe_ccdc_get_image_window(&vpfe->ccdc, &image_win); in vpfe_get_ccdc_image_format()
871 f->fmt.pix.width = image_win.width; in vpfe_get_ccdc_image_format()
[all …]