Lines Matching refs:crop
343 ccdc_dev->hw_ops.set_image_window(&vpfe_dev->crop); in vpfe_config_ccdc_image_format()
407 vpfe_dev->crop.top = 0; in vpfe_config_image_format()
408 vpfe_dev->crop.left = 0; in vpfe_config_image_format()
409 vpfe_dev->crop.width = vpfe_dev->std_info.active_pixels; in vpfe_config_image_format()
410 vpfe_dev->crop.height = vpfe_dev->std_info.active_lines; in vpfe_config_image_format()
411 pix->width = vpfe_dev->crop.width; in vpfe_config_image_format()
412 pix->height = vpfe_dev->crop.height; in vpfe_config_image_format()
1607 struct v4l2_cropcap *crop) in vpfe_cropcap() argument
1616 memset(crop, 0, sizeof(struct v4l2_cropcap)); in vpfe_cropcap()
1617 crop->type = V4L2_BUF_TYPE_VIDEO_CAPTURE; in vpfe_cropcap()
1618 crop->bounds.width = crop->defrect.width = in vpfe_cropcap()
1620 crop->bounds.height = crop->defrect.height = in vpfe_cropcap()
1622 crop->pixelaspect = vpfe_standards[vpfe_dev->std_index].pixelaspect; in vpfe_cropcap()
1627 struct v4l2_crop *crop) in vpfe_g_crop() argument
1633 crop->c = vpfe_dev->crop; in vpfe_g_crop()
1638 const struct v4l2_crop *crop) in vpfe_s_crop() argument
1641 struct v4l2_rect rect = crop->c; in vpfe_s_crop()
1684 vpfe_dev->crop = rect; in vpfe_s_crop()