Home
last modified time | relevance | path

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

/drivers/media/platform/davinci/
Ddm355_ccdc.c223 static void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() argument
237 horz_start = image_win->left << (ppc - 1); in ccdc_setwin()
238 horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; in ccdc_setwin()
243 vert_start = image_win->top; in ccdc_setwin()
246 vert_nr_lines = (image_win->height >> 1) - 1; in ccdc_setwin()
255 vert_nr_lines = image_win->height - 1; in ccdc_setwin()
257 mid_img = vert_start + (image_win->height / 2); in ccdc_setwin()
Ddm644x_ccdc.c133 void ccdc_setwin(struct v4l2_rect *image_win, in ccdc_setwin() argument
147 horz_start = image_win->left << (ppc - 1); in ccdc_setwin()
148 horz_nr_pixels = (image_win->width << (ppc - 1)) - 1; in ccdc_setwin()
152 vert_start = image_win->top; in ccdc_setwin()
155 vert_nr_lines = (image_win->height >> 1) - 1; in ccdc_setwin()
166 vert_nr_lines = image_win->height - 1; in ccdc_setwin()
171 mid_img = vert_start + (image_win->height / 2); in ccdc_setwin()
Disif.c283 static void isif_setwin(struct v4l2_rect *image_win, in isif_setwin() argument
296 horz_start = image_win->left << (ppc - 1); in isif_setwin()
297 horz_nr_pixels = ((image_win->width) << (ppc - 1)) - 1; in isif_setwin()
302 vert_start = image_win->top; in isif_setwin()
305 vert_nr_lines = (image_win->height >> 1) - 1; in isif_setwin()
312 vert_nr_lines = image_win->height - 1; in isif_setwin()
314 mid_img = vert_start + (image_win->height / 2); in isif_setwin()
Dvpfe_capture.c294 struct v4l2_rect image_win; in vpfe_get_ccdc_image_format() local
300 ccdc_dev->hw_ops.get_image_window(&image_win); in vpfe_get_ccdc_image_format()
301 f->fmt.pix.width = image_win.width; in vpfe_get_ccdc_image_format()
302 f->fmt.pix.height = image_win.height; in vpfe_get_ccdc_image_format()
1452 struct v4l2_rect image_win; in vpfe_calculate_offsets() local
1456 ccdc_dev->hw_ops.get_image_window(&image_win); in vpfe_calculate_offsets()
1457 vpfe_dev->field_off = image_win.height * image_win.width; in vpfe_calculate_offsets()
/drivers/staging/media/davinci_vpfe/
Ddm365_isif.c761 isif_setwin(struct vpfe_isif_device *isif, struct v4l2_rect *image_win, in isif_setwin() argument
775 horz_start = image_win->left << (ppc - 1); in isif_setwin()
776 horz_nr_pixels = (image_win->width << (ppc - 1)) - 1; in isif_setwin()
783 vert_start = image_win->top; in isif_setwin()
786 vert_nr_lines = (image_win->height >> 1) - 1; in isif_setwin()
793 vert_nr_lines = image_win->height - 1; in isif_setwin()
795 mid_img = vert_start + (image_win->height / 2); in isif_setwin()