Searched refs:try_crop (Results 1 – 3 of 3) sorted by relevance
169 struct v4l2_rect try_crop; in omap_vout_new_crop() local173 try_crop = *new_crop; in omap_vout_new_crop()176 if (try_crop.left < 0) { in omap_vout_new_crop()177 try_crop.width += try_crop.left; in omap_vout_new_crop()178 try_crop.left = 0; in omap_vout_new_crop()180 if (try_crop.top < 0) { in omap_vout_new_crop()181 try_crop.height += try_crop.top; in omap_vout_new_crop()182 try_crop.top = 0; in omap_vout_new_crop()184 try_crop.width = (try_crop.width < pix->width) ? in omap_vout_new_crop()185 try_crop.width : pix->width; in omap_vout_new_crop()[all …]
491 struct v4l2_rect try_crop; member662 __V4L2_SUBDEV_MK_GET_TRY(v4l2_rect, v4l2_subdev_get_try_crop, try_crop)
2845 struct v4l2_rect *try_crop = v4l2_subdev_get_try_crop(sd, fh->pad, i); in smiapp_open() local2853 try_crop->top = 0; in smiapp_open()2854 try_crop->left = 0; in smiapp_open()2855 try_crop->width = try_fmt->width; in smiapp_open()2856 try_crop->height = try_fmt->height; in smiapp_open()2862 *try_comp = *try_crop; in smiapp_open()