Lines Matching defs:crop
1283 static int vidioc_g_crop(struct file *file, void *priv, struct v4l2_crop *crop)
1287 if (crop->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
1290 crop->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
1295 crop->c.top = 0;
1296 crop->c.left = 0;
1297 crop->c.width = 720;
1298 crop->c.height = 480;
1301 crop->c.top = 0;
1302 crop->c.left = 0;
1303 crop->c.width = 720;
1304 crop->c.height = 576;
1307 crop->c.top = 0;
1308 crop->c.left = 0;
1309 crop->c.width = go->board_info->sensor_width;
1310 crop->c.height = go->board_info->sensor_height;
1317 static int vidioc_s_crop(struct file *file, void *priv, struct v4l2_crop *crop)
1319 if (crop->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)