Searched refs:subrect (Results 1 – 3 of 3) sorted by relevance
/drivers/media/platform/soc_camera/ |
D | soc_scale_crop.c | 65 static void update_subrect(struct v4l2_rect *rect, struct v4l2_rect *subrect) in update_subrect() argument 67 if (rect->width < subrect->width) in update_subrect() 68 subrect->width = rect->width; in update_subrect() 70 if (rect->height < subrect->height) in update_subrect() 71 subrect->height = rect->height; in update_subrect() 73 if (rect->left > subrect->left) in update_subrect() 74 subrect->left = rect->left; in update_subrect() 76 subrect->left + subrect->width) in update_subrect() 77 subrect->left = rect->left + rect->width - in update_subrect() 78 subrect->width; in update_subrect() [all …]
|
D | soc_scale_crop.h | 36 struct v4l2_rect *target_rect, struct v4l2_rect *subrect); 38 struct v4l2_rect *rect, struct v4l2_rect *subrect, 43 struct v4l2_rect *rect, struct v4l2_rect *subrect,
|
D | sh_mobile_ceu_camera.c | 141 struct v4l2_rect subrect; member 1036 cam->subrect = rect; in sh_mobile_ceu_get_formats() 1145 &cam->rect, &cam->subrect); in sh_mobile_ceu_set_selection() 1238 cam->subrect = *rect; in sh_mobile_ceu_set_selection() 1258 sel->r = cam->subrect; in sh_mobile_ceu_get_selection() 1303 soc_camera_calc_client_output(icd, &cam->rect, &cam->subrect, pix, &mf, 12); in sh_mobile_ceu_set_fmt() 1325 ret = soc_camera_client_scale(icd, &cam->rect, &cam->subrect, in sh_mobile_ceu_set_fmt()
|