Home
last modified time | relevance | path

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

123456

/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A 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()
H A Dov7725.c391 struct v4l2_mbus_framefmt *try_fmt = in ov7725_open() local
397 try_fmt->width = def_mode->width; in ov7725_open()
398 try_fmt->height = def_mode->height; in ov7725_open()
399 try_fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in ov7725_open()
400 try_fmt->field = V4L2_FIELD_NONE; in ov7725_open()
401 try_fmt->colorspace = V4L2_COLORSPACE_JPEG; in ov7725_open()
H A 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()
H A 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()
H A Dimx219.c688 struct v4l2_mbus_framefmt *try_fmt = in imx219_open() local
695 try_fmt->width = supported_modes[0].width; in imx219_open()
696 try_fmt->height = supported_modes[0].height; in imx219_open()
697 try_fmt->code = imx219_get_format_code(imx219, in imx219_open()
699 try_fmt->field = V4L2_FIELD_NONE; in imx219_open()
861 struct v4l2_mbus_framefmt *try_fmt = in __imx219_get_pad_format() local
864 try_fmt->code = imx219_get_format_code(imx219, try_fmt->code); in __imx219_get_pad_format()
865 fmt->format = *try_fmt; in __imx219_get_pad_format()
H A Dadv7181.c321 struct v4l2_mbus_framefmt *try_fmt; in adv7181_open() local
325 try_fmt = v4l2_subdev_get_try_format(sd, fh->pad, 0); in adv7181_open()
327 adv7181_fill_fmt(&supported_modes[0], try_fmt); in adv7181_open()
H A Dgc2155.c1348 struct v4l2_mbus_framefmt *try_fmt = in gc2155_open() local
1354 try_fmt->width = def_mode->width; in gc2155_open()
1355 try_fmt->height = def_mode->height; in gc2155_open()
1356 try_fmt->code = MEDIA_BUS_FMT_UYVY8_2X8; in gc2155_open()
1357 try_fmt->field = V4L2_FIELD_NONE; in gc2155_open()
1358 try_fmt->colorspace = V4L2_COLORSPACE_SRGB; in gc2155_open()
H A 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()
H A 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()
H A Dimx323.c690 struct v4l2_mbus_framefmt *try_fmt = in imx323_open() local
696 try_fmt->width = def_mode->width; in imx323_open()
697 try_fmt->height = def_mode->height; in imx323_open()
698 try_fmt->code = PIX_FORMAT; in imx323_open()
699 try_fmt->field = V4L2_FIELD_NONE; in imx323_open()
H A 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()
H A Dgc0403.c884 struct v4l2_mbus_framefmt *try_fmt = in gc0403_open() local
890 try_fmt->width = def_mode->width; in gc0403_open()
891 try_fmt->height = def_mode->height; in gc0403_open()
892 try_fmt->code = MEDIA_BUS_FMT_SRGGB10_1X10; in gc0403_open()
893 try_fmt->field = V4L2_FIELD_NONE; in gc0403_open()
H A Dtp2855.c853 struct v4l2_mbus_framefmt *try_fmt = in tp2855_open() local
861 try_fmt->width = def_mode->width; in tp2855_open()
862 try_fmt->height = def_mode->height; in tp2855_open()
863 try_fmt->code = def_mode->bus_fmt; in tp2855_open()
864 try_fmt->field = V4L2_FIELD_NONE; in tp2855_open()
H A Dvirtual-camera.c339 struct v4l2_mbus_framefmt *try_fmt; in vcamera_open() local
343 try_fmt = v4l2_subdev_get_try_format(sd, fh->pad, 0); in vcamera_open()
345 vcamera_fill_fmt(vcam, try_fmt); in vcamera_open()
H A Djx_h65.c873 struct v4l2_mbus_framefmt *try_fmt = in jx_h65_open() local
879 try_fmt->width = def_mode->width; in jx_h65_open()
880 try_fmt->height = def_mode->height; in jx_h65_open()
881 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in jx_h65_open()
882 try_fmt->field = V4L2_FIELD_NONE; in jx_h65_open()
H A Dov7750.c919 struct v4l2_mbus_framefmt *try_fmt = in ov7750_open() local
925 try_fmt->width = def_mode->width; in ov7750_open()
926 try_fmt->height = def_mode->height; in ov7750_open()
927 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov7750_open()
928 try_fmt->field = V4L2_FIELD_NONE; in ov7750_open()
H A Dov9750.c903 struct v4l2_mbus_framefmt *try_fmt = in ov9750_open() local
909 try_fmt->width = def_mode->width; in ov9750_open()
910 try_fmt->height = def_mode->height; in ov9750_open()
911 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov9750_open()
912 try_fmt->field = V4L2_FIELD_NONE; in ov9750_open()
H A Dov2735.c814 struct v4l2_mbus_framefmt *try_fmt = in ov2735_open() local
820 try_fmt->width = def_mode->width; in ov2735_open()
821 try_fmt->height = def_mode->height; in ov2735_open()
822 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov2735_open()
823 try_fmt->field = V4L2_FIELD_NONE; in ov2735_open()
H A Dar0230.c1276 struct v4l2_mbus_framefmt *try_fmt = in ar0230_open() local
1282 try_fmt->width = def_mode->width; in ar0230_open()
1283 try_fmt->height = def_mode->height; in ar0230_open()
1284 try_fmt->code = PIX_FORMAT; in ar0230_open()
1285 try_fmt->field = V4L2_FIELD_NONE; in ar0230_open()
H A Dmax96714.c742 struct v4l2_mbus_framefmt *try_fmt = in max96714_open() local
748 try_fmt->width = def_mode->width; in max96714_open()
749 try_fmt->height = def_mode->height; in max96714_open()
750 try_fmt->code = MAX96714_MEDIA_BUS_FMT; in max96714_open()
751 try_fmt->field = V4L2_FIELD_NONE; in max96714_open()
H A Dsc031gs.c911 struct v4l2_mbus_framefmt *try_fmt = in sc031gs_open() local
917 try_fmt->width = def_mode->width; in sc031gs_open()
918 try_fmt->height = def_mode->height; in sc031gs_open()
919 try_fmt->code = PIX_FORMAT; in sc031gs_open()
920 try_fmt->field = V4L2_FIELD_NONE; in sc031gs_open()
H A Dov5695.c1130 struct v4l2_mbus_framefmt *try_fmt = in ov5695_open() local
1136 try_fmt->width = def_mode->width; in ov5695_open()
1137 try_fmt->height = def_mode->height; in ov5695_open()
1138 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov5695_open()
1139 try_fmt->field = V4L2_FIELD_NONE; in ov5695_open()
H A Dov13850.c1214 struct v4l2_mbus_framefmt *try_fmt = in ov13850_open() local
1220 try_fmt->width = def_mode->width; in ov13850_open()
1221 try_fmt->height = def_mode->height; in ov13850_open()
1222 try_fmt->code = MEDIA_BUS_FMT_SBGGR10_1X10; in ov13850_open()
1223 try_fmt->field = V4L2_FIELD_NONE; in ov13850_open()
/OK3568_Linux_fs/kernel/drivers/media/platform/rockchip/ispp/
H A Dstream.c702 struct v4l2_pix_format_mplane *try_fmt) in limit_check_mb() argument
706 u32 *w = try_fmt ? &try_fmt->width : &stream->out_fmt.width; in limit_check_mb()
707 u32 *h = try_fmt ? &try_fmt->height : &stream->out_fmt.height; in limit_check_mb()
713 if (!try_fmt) { in limit_check_mb()
787 struct v4l2_pix_format_mplane *try_fmt) in limit_check_scl() argument
792 u32 *w = try_fmt ? &try_fmt->width : &stream->out_fmt.width; in limit_check_scl()
793 u32 *h = try_fmt ? &try_fmt->height : &stream->out_fmt.height; in limit_check_scl()
794 u32 forcc = try_fmt ? try_fmt->pixelformat : stream->out_fmt.pixelformat; in limit_check_scl()
819 if (!try_fmt) { in limit_check_scl()
/OK3568_Linux_fs/kernel/drivers/media/pci/bt8xx/
H A 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()

123456