/drivers/media/i2c/ |
D | mt9m001.c | 413 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()
|
D | ov2640.c | 999 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()
|
D | ov6650.c | 553 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()
|
D | imx219.c | 596 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()
|
D | imx258.c | 697 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()
|
D | ov5670.c | 1939 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()
|
D | ov5695.c | 1058 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()
|
D | ov13858.c | 1152 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()
|
D | imx319.c | 1862 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()
|
D | imx355.c | 1163 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()
|
D | ov2685.c | 493 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()
|
D | sr030pc30.c | 507 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()
|
D | ov2680.c | 601 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()
|
D | imx274.c | 888 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()
|
D | mt9v111.c | 803 return &cfg->try_fmt; in __mt9v111_get_pad_format() 959 cfg->try_fmt = mt9v111_def_fmt; in mt9v111_init_cfg()
|
D | vs6624.c | 590 cfg->try_fmt = *fmt; in vs6624_set_fmt()
|
D | adv7183.c | 446 cfg->try_fmt = *fmt; in adv7183_set_fmt()
|
/drivers/media/pci/bt8xx/ |
D | bttv-vbi.c | 233 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/ |
D | atomisp_tpg.c | 50 cfg->try_fmt = *fmt; in tpg_set_fmt()
|
D | atomisp_file.c | 116 cfg->try_fmt = *fmt; in file_input_set_fmt()
|
/drivers/media/usb/gspca/ |
D | gspca.h | 121 cam_format_op try_fmt; member
|
D | gspca.c | 1067 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()
|
D | stk1135.c | 645 .try_fmt = stk1135_try_fmt,
|
/drivers/staging/media/ipu3/ |
D | ipu3-v4l2.c | 38 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/ |
D | smiapp-core.c | 2637 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()
|