/linux-master/drivers/media/i2c/ |
H A D | ov6650.c | 593 struct v4l2_mbus_framefmt *try_fmt = local 596 mf->width = try_fmt->width; 597 mf->height = try_fmt->height; 598 mf->code = try_fmt->code; 732 struct v4l2_mbus_framefmt *try_fmt = local 736 try_fmt->width = crop->width >> half_scale; 737 try_fmt->height = crop->height >> half_scale; 738 try_fmt->code = mf->code; 742 mf->width = try_fmt->width; 743 mf->height = try_fmt [all...] |
H A D | mt9m001.c | 658 struct v4l2_mbus_framefmt *try_fmt = local 661 try_fmt->width = MT9M001_MAX_WIDTH; 662 try_fmt->height = MT9M001_MAX_HEIGHT; 663 try_fmt->code = mt9m001->fmts[0].code; 664 try_fmt->colorspace = mt9m001->fmts[0].colorspace; 665 try_fmt->field = V4L2_FIELD_NONE; 666 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; 667 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; 668 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT;
|
H A D | ov2640.c | 1002 struct v4l2_mbus_framefmt *try_fmt = local 1007 try_fmt->width = win->width; 1008 try_fmt->height = win->height; 1009 try_fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; 1010 try_fmt->colorspace = V4L2_COLORSPACE_SRGB; 1011 try_fmt->field = V4L2_FIELD_NONE; 1012 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; 1013 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; 1014 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT;
|
H A D | imx208.c | 397 struct v4l2_mbus_framefmt *try_fmt = local 400 /* Initialize try_fmt */ 401 try_fmt->width = supported_modes[0].width; 402 try_fmt->height = supported_modes[0].height; 403 try_fmt->code = MEDIA_BUS_FMT_SRGGB10_1X10; 404 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | imx258.c | 710 struct v4l2_mbus_framefmt *try_fmt = local 713 /* Initialize try_fmt */ 714 try_fmt->width = supported_modes[0].width; 715 try_fmt->height = supported_modes[0].height; 716 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 717 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | ov5695.c | 1041 struct v4l2_mbus_framefmt *try_fmt = local 1046 /* Initialize try_fmt */ 1047 try_fmt->width = def_mode->width; 1048 try_fmt->height = def_mode->height; 1049 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; 1050 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | ov13b10.c | 758 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_state_get_format(fh->state, local 763 /* Initialize try_fmt */ 764 try_fmt->width = default_mode->width; 765 try_fmt->height = default_mode->height; 766 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 767 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | ov4689.c | 569 struct v4l2_mbus_framefmt *try_fmt; local 573 try_fmt = v4l2_subdev_state_get_format(fh->state, 0); 574 /* Initialize try_fmt */ 575 ov4689_fill_fmt(&supported_modes[OV4689_MODE_2688_1520], try_fmt);
|
H A D | ov2685.c | 546 struct v4l2_mbus_framefmt *try_fmt; local 550 try_fmt = v4l2_subdev_state_get_format(fh->state, 0); 551 /* Initialize try_fmt */ 552 ov2685_fill_fmt(&supported_modes[0], try_fmt);
|
H A D | ov13858.c | 1150 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_state_get_format(fh->state, local 1155 /* Initialize try_fmt */ 1156 try_fmt->width = ov13858->cur_mode->width; 1157 try_fmt->height = ov13858->cur_mode->height; 1158 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 1159 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | imx355.c | 1161 struct v4l2_mbus_framefmt *try_fmt = local 1166 /* Initialize try_fmt */ 1167 try_fmt->width = imx355->cur_mode->width; 1168 try_fmt->height = imx355->cur_mode->height; 1169 try_fmt->code = imx355_get_format_code(imx355); 1170 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | ov2680.c | 644 struct v4l2_mbus_framefmt *try_fmt; local 661 try_fmt = v4l2_subdev_state_get_format(sd_state, 0); 662 *try_fmt = format->format;
|
H A D | imx319.c | 1863 struct v4l2_mbus_framefmt *try_fmt = local 1868 /* Initialize try_fmt */ 1869 try_fmt->width = imx319->cur_mode->width; 1870 try_fmt->height = imx319->cur_mode->height; 1871 try_fmt->code = imx319_get_format_code(imx319); 1872 try_fmt->field = V4L2_FIELD_NONE;
|
H A D | ov08x40.c | 1439 struct v4l2_mbus_framefmt *try_fmt = local 1444 /* Initialize try_fmt */ 1445 try_fmt->width = default_mode->width; 1446 try_fmt->height = default_mode->height; 1447 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; 1448 try_fmt->field = V4L2_FIELD_NONE;
|
/linux-master/drivers/media/platform/microchip/ |
H A D | microchip-csi2dc.c | 170 * @try_fmt: Try format that is being tried 193 const struct csi2dc_format *try_fmt; member in struct:csi2dc_device 252 const struct csi2dc_format *fmt, *try_fmt = NULL; local 266 try_fmt = fmt; 271 if (!try_fmt) { 272 try_fmt = &csi2dc_formats[0]; 279 req_fmt->format.code = try_fmt->mbus_code; 300 csi2dc->cur_fmt = try_fmt;
|
H A D | microchip-isc.h | 220 * @try_fmt: current v4l2 try format 302 struct v4l2_format try_fmt; member in struct:isc_device
|
H A D | microchip-isc-base.c | 885 isc->try_fmt = *f; 896 isc->fmt = isc->try_fmt;
|
/linux-master/drivers/media/pci/bt8xx/ |
H A D | bttv-vbi.c | 179 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, function 259 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); 278 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start);
|
/linux-master/drivers/media/usb/gspca/ |
H A D | gspca.h | 121 cam_format_op try_fmt; member in struct:sd_desc
|
H A D | gspca.c | 1069 if (gspca_dev->sd_desc->try_fmt) { 1070 /* pass original resolution to subdriver try_fmt */ 1073 gspca_dev->sd_desc->try_fmt(gspca_dev, fmt); 1106 if (gspca_dev->sd_desc->try_fmt) 1107 /* subdriver try_fmt can modify format parameters */
|
H A D | stk1135.c | 645 .try_fmt = stk1135_try_fmt,
|
/linux-master/drivers/staging/media/ipu3/ |
H A D | ipu3-v4l2.c | 36 /* Initialize try_fmt */ 38 struct v4l2_mbus_framefmt *try_fmt = local 41 try_fmt->width = try_crop.width; 42 try_fmt->height = try_crop.height; 43 try_fmt->code = imgu_pipe->nodes[i].pad_fmt.code; 44 try_fmt->field = V4L2_FIELD_NONE;
|