/linux/drivers/media/i2c/ |
A D | mt9m001.c | 414 sd_state->pads->try_fmt = *mf; in mt9m001_set_fmt() 664 struct v4l2_mbus_framefmt *try_fmt = in mt9m001_init_cfg() local 667 try_fmt->width = MT9M001_MAX_WIDTH; in mt9m001_init_cfg() 668 try_fmt->height = MT9M001_MAX_HEIGHT; in mt9m001_init_cfg() 669 try_fmt->code = mt9m001->fmts[0].code; in mt9m001_init_cfg() 670 try_fmt->colorspace = mt9m001->fmts[0].colorspace; in mt9m001_init_cfg() 671 try_fmt->field = V4L2_FIELD_NONE; in mt9m001_init_cfg() 672 try_fmt->ycbcr_enc = V4L2_YCBCR_ENC_DEFAULT; in mt9m001_init_cfg() 673 try_fmt->quantization = V4L2_QUANTIZATION_DEFAULT; in mt9m001_init_cfg() 674 try_fmt->xfer_func = V4L2_XFER_FUNC_DEFAULT; in mt9m001_init_cfg()
|
A D | ov2640.c | 999 sd_state->pads->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()
|
A D | imx219.c | 691 struct v4l2_mbus_framefmt *try_fmt = in imx219_open() local 698 try_fmt->width = supported_modes[0].width; in imx219_open() 699 try_fmt->height = supported_modes[0].height; in imx219_open() 700 try_fmt->code = imx219_get_format_code(imx219, in imx219_open() 702 try_fmt->field = V4L2_FIELD_NONE; in imx219_open() 870 struct v4l2_mbus_framefmt *try_fmt = in __imx219_get_pad_format() local 874 try_fmt->code = imx219_get_format_code(imx219, try_fmt->code); in __imx219_get_pad_format() 875 fmt->format = *try_fmt; in __imx219_get_pad_format()
|
A D | ov6650.c | 553 mf->width = sd_state->pads->try_fmt.width; in ov6650_get_fmt() 554 mf->height = sd_state->pads->try_fmt.height; in ov6650_get_fmt() 555 mf->code = sd_state->pads->try_fmt.code; in ov6650_get_fmt() 704 sd_state->pads->try_fmt.width = mf->width; in ov6650_set_fmt() 705 sd_state->pads->try_fmt.height = mf->height; in ov6650_set_fmt() 706 sd_state->pads->try_fmt.code = mf->code; in ov6650_set_fmt() 710 mf->width = sd_state->pads->try_fmt.width; in ov6650_set_fmt() 711 mf->height = sd_state->pads->try_fmt.height; in ov6650_set_fmt() 712 mf->code = sd_state->pads->try_fmt.code; in ov6650_set_fmt()
|
A D | imx258.c | 712 struct v4l2_mbus_framefmt *try_fmt = in imx258_open() local 716 try_fmt->width = supported_modes[0].width; in imx258_open() 717 try_fmt->height = supported_modes[0].height; in imx258_open() 718 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in imx258_open() 719 try_fmt->field = V4L2_FIELD_NONE; in imx258_open()
|
A D | ov5670.c | 1940 struct v4l2_mbus_framefmt *try_fmt = in ov5670_open() local 1946 try_fmt->width = ov5670->cur_mode->width; in ov5670_open() 1947 try_fmt->height = ov5670->cur_mode->height; in ov5670_open() 1948 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov5670_open() 1949 try_fmt->field = V4L2_FIELD_NONE; in ov5670_open()
|
A D | ov5695.c | 1055 struct v4l2_mbus_framefmt *try_fmt = in ov5695_open() local 1061 try_fmt->width = def_mode->width; in ov5695_open() 1062 try_fmt->height = def_mode->height; in ov5695_open() 1063 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov5695_open() 1064 try_fmt->field = V4L2_FIELD_NONE; in ov5695_open()
|
A D | ov13858.c | 1153 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_get_try_format(sd, in ov13858_open() local 1160 try_fmt->width = ov13858->cur_mode->width; in ov13858_open() 1161 try_fmt->height = ov13858->cur_mode->height; in ov13858_open() 1162 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13858_open() 1163 try_fmt->field = V4L2_FIELD_NONE; in ov13858_open()
|
A D | imx208.c | 397 struct v4l2_mbus_framefmt *try_fmt = in imx208_open() local 401 try_fmt->width = supported_modes[0].width; in imx208_open() 402 try_fmt->height = supported_modes[0].height; in imx208_open() 403 try_fmt->code = MEDIA_BUS_FMT_SRGGB10_1X10; in imx208_open() 404 try_fmt->field = V4L2_FIELD_NONE; in imx208_open()
|
A 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()
|
A D | imx319.c | 1864 struct v4l2_mbus_framefmt *try_fmt = in imx319_open() local 1870 try_fmt->width = imx319->cur_mode->width; in imx319_open() 1871 try_fmt->height = imx319->cur_mode->height; in imx319_open() 1872 try_fmt->code = imx319_get_format_code(imx319); in imx319_open() 1873 try_fmt->field = V4L2_FIELD_NONE; in imx319_open()
|
A D | ov13b10.c | 695 struct v4l2_mbus_framefmt *try_fmt = v4l2_subdev_get_try_format(sd, in ov13b10_open() local 702 try_fmt->width = default_mode->width; in ov13b10_open() 703 try_fmt->height = default_mode->height; in ov13b10_open() 704 try_fmt->code = MEDIA_BUS_FMT_SGRBG10_1X10; in ov13b10_open() 705 try_fmt->field = V4L2_FIELD_NONE; in ov13b10_open()
|
A D | ov2685.c | 492 struct v4l2_mbus_framefmt *try_fmt; in ov2685_open() local 496 try_fmt = v4l2_subdev_get_try_format(sd, fh->state, 0); in ov2685_open() 498 ov2685_fill_fmt(&supported_modes[0], try_fmt); in ov2685_open()
|
A 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 sd_state->pads->try_fmt = *mf; in sr030pc30_set_fmt()
|
A D | ov2680.c | 700 struct v4l2_mbus_framefmt *try_fmt; in ov2680_set_fmt() local 725 try_fmt = v4l2_subdev_get_try_format(sd, sd_state, 0); in ov2680_set_fmt() 726 format->format = *try_fmt; in ov2680_set_fmt()
|
A D | imx274.c | 1023 tgt_fmt = &sd_state->pads->try_fmt; in __imx274_change_compose() 1116 sd_state->pads->try_fmt = *fmt; in imx274_set_fmt() 1148 src_fmt = &sd_state->pads->try_fmt; in imx274_get_selection()
|
A D | mt9v111.c | 803 return &sd_state->pads->try_fmt; in __mt9v111_get_pad_format() 960 sd_state->pads->try_fmt = mt9v111_def_fmt; in mt9v111_init_cfg()
|
A D | vs6624.c | 590 sd_state->pads->try_fmt = *fmt; in vs6624_set_fmt()
|
/linux/drivers/media/pci/bt8xx/ |
A 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()
|
/linux/drivers/staging/media/atomisp/pci/ |
A D | atomisp_tpg.c | 50 sd_state->pads->try_fmt = *fmt; in tpg_set_fmt()
|
A D | atomisp_file.c | 116 sd_state->pads->try_fmt = *fmt; in file_input_set_fmt()
|
/linux/include/media/ |
A D | v4l2-subdev.h | 650 struct v4l2_mbus_framefmt try_fmt; member 1000 return &state->pads[pad].try_fmt; in v4l2_subdev_get_try_format()
|
/linux/drivers/media/usb/gspca/ |
A D | gspca.h | 121 cam_format_op try_fmt; member
|
A D | gspca.c | 1069 if (gspca_dev->sd_desc->try_fmt) { in try_fmt_vid_cap() 1073 gspca_dev->sd_desc->try_fmt(gspca_dev, fmt); in try_fmt_vid_cap() 1106 if (gspca_dev->sd_desc->try_fmt) in vidioc_s_fmt_vid_cap()
|
/linux/drivers/staging/media/ipu3/ |
A 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()
|