Home
last modified time | relevance | path

Searched refs:try_fmt (Results 1 – 25 of 39) sorted by relevance

12

/drivers/media/i2c/
Dmt9m001.c413 cfg->try_fmt = *mf; in mt9m001_set_fmt()
663 struct v4l2_mbus_framefmt *try_fmt = in mt9m001_init_cfg() local
666 try_fmt->width = MT9M001_MAX_WIDTH; in mt9m001_init_cfg()
667 try_fmt->height = MT9M001_MAX_HEIGHT; in mt9m001_init_cfg()
668 try_fmt->code = mt9m001->fmts[0].code; in mt9m001_init_cfg()
669 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_cfg()
670 try_fmt->field = V4L2_FIELD_NONE; in mt9m001_init_cfg()
671 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mt9m001_init_cfg()
672 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in mt9m001_init_cfg()
673 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mt9m001_init_cfg()
Dov2640.c999 cfg->try_fmt = *mf; in ov2640_set_fmt()
1011 struct v4l2_mbus_framefmt *try_fmt = in ov2640_init_cfg() local
1016 try_fmt->width = win->width; in ov2640_init_cfg()
1017 try_fmt->height = win->height; in ov2640_init_cfg()
1018 try_fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in ov2640_init_cfg()
1019 try_fmt->colorspace = V4L2_COLORSPACE_SRGB; in ov2640_init_cfg()
1020 try_fmt->field = V4L2_FIELD_NONE; in ov2640_init_cfg()
1021 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in ov2640_init_cfg()
1022 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in ov2640_init_cfg()
1023 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in ov2640_init_cfg()
Dov6650.c553 mf->width = cfg->try_fmt.width; in ov6650_get_fmt()
554 mf->height = cfg->try_fmt.height; in ov6650_get_fmt()
555 mf->code = cfg->try_fmt.code; in ov6650_get_fmt()
704 cfg->try_fmt.width = mf->width; in ov6650_set_fmt()
705 cfg->try_fmt.height = mf->height; in ov6650_set_fmt()
706 cfg->try_fmt.code = mf->code; in ov6650_set_fmt()
710 mf->width = cfg->try_fmt.width; in ov6650_set_fmt()
711 mf->height = cfg->try_fmt.height; in ov6650_set_fmt()
712 mf->code = cfg->try_fmt.code; in ov6650_set_fmt()
Dimx219.c596 struct v4l2_mbus_framefmt *try_fmt = in imx219_open() local
603 try_fmt->width = supported_modes[0].width; in imx219_open()
604 try_fmt->height = supported_modes[0].height; in imx219_open()
605 try_fmt->code = imx219_get_format_code(imx219, in imx219_open()
607 try_fmt->field = V4L2_FIELD_NONE; in imx219_open()
769 struct v4l2_mbus_framefmt *try_fmt = in __imx219_get_pad_format() local
772 try_fmt->code = imx219_get_format_code(imx219, try_fmt->code); in __imx219_get_pad_format()
773 fmt->format = *try_fmt; in __imx219_get_pad_format()
Dimx258.c697 struct v4l2_mbus_framefmt *try_fmt = in imx258_open() local
701 try_fmt->width = supported_modes[0].width; in imx258_open()
702 try_fmt->height = supported_modes[0].height; in imx258_open()
703 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in imx258_open()
704 try_fmt->field = V4L2_FIELD_NONE; in imx258_open()
Dov5670.c1939 struct v4l2_mbus_framefmt *try_fmt = in ov5670_open() local
1945 try_fmt->width = ov5670->cur_mode->width; in ov5670_open()
1946 try_fmt->height = ov5670->cur_mode->height; in ov5670_open()
1947 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov5670_open()
1948 try_fmt->field = V4L2_FIELD_NONE; in ov5670_open()
Dov5695.c1058 struct v4l2_mbus_framefmt *try_fmt = in ov5695_open() local
1064 try_fmt->width = def_mode->width; in ov5695_open()
1065 try_fmt->height = def_mode->height; in ov5695_open()
1066 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov5695_open()
1067 try_fmt->field = V4L2_FIELD_NONE; in ov5695_open()
Dov13858.c1152 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_get_try_format(sd, in ov13858_open() local
1159 try_fmt->width = ov13858->cur_mode->width; in ov13858_open()
1160 try_fmt->height = ov13858->cur_mode->height; in ov13858_open()
1161 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13858_open()
1162 try_fmt->field = V4L2_FIELD_NONE; in ov13858_open()
Dimx319.c1862 struct v4l2_mbus_framefmt *try_fmt = in imx319_open() local
1868 try_fmt->width = imx319->cur_mode->width; in imx319_open()
1869 try_fmt->height = imx319->cur_mode->height; in imx319_open()
1870 try_fmt->code = imx319_get_format_code(imx319); in imx319_open()
1871 try_fmt->field = V4L2_FIELD_NONE; in imx319_open()
Dimx355.c1163 struct v4l2_mbus_framefmt *try_fmt = in imx355_open() local
1169 try_fmt->width = imx355->cur_mode->width; in imx355_open()
1170 try_fmt->height = imx355->cur_mode->height; in imx355_open()
1171 try_fmt->code = imx355_get_format_code(imx355); in imx355_open()
1172 try_fmt->field = V4L2_FIELD_NONE; in imx355_open()
Dov2685.c493 struct v4l2_mbus_framefmt *try_fmt; in ov2685_open() local
497 try_fmt = v4l2_subdev_get_try_format(sd, fh->pad, 0); in ov2685_open()
499 ov2685_fill_fmt(&supported_modes[0], try_fmt); in ov2685_open()
Dsr030pc30.c507 static const struct sr030pc30_format *try_fmt(struct v4l2_subdev *sd, in try_fmt() function
542 fmt = try_fmt(sd, mf); in sr030pc30_set_fmt()
544 cfg->try_fmt = *mf; in sr030pc30_set_fmt()
Dov2680.c601 struct v4l2_mbus_framefmt *try_fmt; in ov2680_set_fmt() local
626 try_fmt = v4l2_subdev_get_try_format(sd, cfg, 0); in ov2680_set_fmt()
627 format->format = *try_fmt; in ov2680_set_fmt()
Dimx274.c888 tgt_fmt = &cfg->try_fmt; in __imx274_change_compose()
980 cfg->try_fmt = *fmt; in imx274_set_fmt()
1012 src_fmt = &cfg->try_fmt; in imx274_get_selection()
Dmt9v111.c803 return &cfg->try_fmt; in __mt9v111_get_pad_format()
959 cfg->try_fmt = mt9v111_def_fmt; in mt9v111_init_cfg()
Dvs6624.c590 cfg->try_fmt = *fmt; in vs6624_set_fmt()
Dadv7183.c446 cfg->try_fmt = *fmt; in adv7183_set_fmt()
/drivers/media/pci/bt8xx/
Dbttv-vbi.c233 static int try_fmt(struct v4l2_vbi_format *f, const struct bttv_tvnorm *tvnorm, in try_fmt() function
314 return try_fmt(&frt->fmt.vbi, tvnorm, crop_start); in bttv_try_fmt_vbi_cap()
334 rc = try_fmt(&frt->fmt.vbi, tvnorm, btv->crop_start); in bttv_s_fmt_vbi_cap()
/drivers/staging/media/atomisp/pci/
Datomisp_tpg.c50 cfg->try_fmt = *fmt; in tpg_set_fmt()
Datomisp_file.c116 cfg->try_fmt = *fmt; in file_input_set_fmt()
/drivers/media/usb/gspca/
Dgspca.h121 cam_format_op try_fmt; member
Dgspca.c1067 if (gspca_dev->sd_desc->try_fmt) { in try_fmt_vid_cap()
1071 gspca_dev->sd_desc->try_fmt(gspca_dev, fmt); in try_fmt_vid_cap()
1104 if (gspca_dev->sd_desc->try_fmt) in vidioc_s_fmt_vid_cap()
Dstk1135.c645 .try_fmt = stk1135_try_fmt,
/drivers/staging/media/ipu3/
Dipu3-v4l2.c38 struct v4l2_mbus_framefmt *try_fmt = in imgu_subdev_open() local
41 try_fmt->width = try_crop.width; in imgu_subdev_open()
42 try_fmt->height = try_crop.height; in imgu_subdev_open()
43 try_fmt->code = imgu_pipe->nodes[i].pad_fmt.code; in imgu_subdev_open()
44 try_fmt->field = V4L2_FIELD_NONE; in imgu_subdev_open()
/drivers/media/i2c/smiapp/
Dsmiapp-core.c2637 struct v4l2_mbus_framefmt *try_fmt = in smiapp_open() local
2645 try_fmt->width = try_crop->width; in smiapp_open()
2646 try_fmt->height = try_crop->height; in smiapp_open()
2647 try_fmt->code = sensor->internal_csi_format->code; in smiapp_open()
2648 try_fmt->field = V4L2_FIELD_NONE; in smiapp_open()

12