Home
last modified time | relevance | path

Searched refs:framefmt (Results 1 – 25 of 114) sorted by relevance

12345

/OK3568_Linux_fs/kernel/Documentation/userspace-api/media/v4l/
H A Dvidioc-subdev-enum-mbus-code.rst96 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
103 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
110 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
117 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
124 ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC <mbus-framefmt-set-csc>` set.
/OK3568_Linux_fs/kernel/drivers/media/i2c/
H A Dov7725.c190 struct v4l2_mbus_framefmt *framefmt) in ov7725_get_reso_dist() argument
192 return abs(mode->width - framefmt->width) + in ov7725_get_reso_dist()
193 abs(mode->height - framefmt->height); in ov7725_get_reso_dist()
199 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov7725_find_best_fit() local
206 dist = ov7725_get_reso_dist(&supported_modes[i], framefmt); in ov7725_find_best_fit()
H A Dov13858.c1321 struct v4l2_mbus_framefmt *framefmt; in ov13858_do_get_pad_format() local
1325 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in ov13858_do_get_pad_format()
1326 fmt->format = *framefmt; in ov13858_do_get_pad_format()
1355 struct v4l2_mbus_framefmt *framefmt; in ov13858_set_pad_format() local
1374 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in ov13858_set_pad_format()
1375 *framefmt = fmt->format; in ov13858_set_pad_format()
H A Dimx355.c1304 struct v4l2_mbus_framefmt *framefmt; in imx355_do_get_pad_format() local
1308 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in imx355_do_get_pad_format()
1309 fmt->format = *framefmt; in imx355_do_get_pad_format()
1338 struct v4l2_mbus_framefmt *framefmt; in imx355_set_pad_format() local
1359 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in imx355_set_pad_format()
1360 *framefmt = fmt->format; in imx355_set_pad_format()
H A Dimx319.c2003 struct v4l2_mbus_framefmt *framefmt; in imx319_do_get_pad_format() local
2007 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in imx319_do_get_pad_format()
2008 fmt->format = *framefmt; in imx319_do_get_pad_format()
2037 struct v4l2_mbus_framefmt *framefmt; in imx319_set_pad_format() local
2058 framefmt = v4l2_subdev_get_try_format(sd, cfg, fmt->pad); in imx319_set_pad_format()
2059 *framefmt = fmt->format; in imx319_set_pad_format()
H A Dtp2855.c345 struct v4l2_mbus_framefmt *framefmt) in tp2855_get_reso_dist() argument
347 return abs(mode->width - framefmt->width) + in tp2855_get_reso_dist()
348 abs(mode->height - framefmt->height); in tp2855_get_reso_dist()
355 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in tp2855_find_best_fit() local
362 dist = tp2855_get_reso_dist(&supported_modes[i], framefmt); in tp2855_find_best_fit()
364 supported_modes[i].bus_fmt == framefmt->code) { in tp2855_find_best_fit()
H A Dsc035gs.c401 struct v4l2_mbus_framefmt *framefmt) in sc035gs_get_reso_dist() argument
403 return abs(mode->width - framefmt->width) + in sc035gs_get_reso_dist()
404 abs(mode->height - framefmt->height); in sc035gs_get_reso_dist()
410 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in sc035gs_find_best_fit() local
417 dist = sc035gs_get_reso_dist(&supported_modes[i], framefmt); in sc035gs_find_best_fit()
419 (supported_modes[i].bus_fmt == framefmt->code)) { in sc035gs_find_best_fit()
H A Dsc132gs.c520 struct v4l2_mbus_framefmt *framefmt) in sc132gs_get_reso_dist() argument
522 return abs(mode->width - framefmt->width) + in sc132gs_get_reso_dist()
523 abs(mode->height - framefmt->height); in sc132gs_get_reso_dist()
529 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in sc132gs_find_best_fit() local
536 dist = sc132gs_get_reso_dist(&supported_modes[i], framefmt); in sc132gs_find_best_fit()
538 (supported_modes[i].bus_fmt == framefmt->code)) { in sc132gs_find_best_fit()
H A Dimx323.c268 struct v4l2_mbus_framefmt *framefmt) in imx323_get_reso_dist() argument
270 return abs(mode->width - framefmt->width) + in imx323_get_reso_dist()
271 abs(mode->height - framefmt->height); in imx323_get_reso_dist()
277 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in imx323_find_best_fit() local
284 dist = imx323_get_reso_dist(&supported_modes[i], framefmt); in imx323_find_best_fit()
H A Dgc0403.c499 struct v4l2_mbus_framefmt *framefmt) in gc0403_get_reso_dist() argument
501 return abs(mode->width - framefmt->width) + in gc0403_get_reso_dist()
502 abs(mode->height - framefmt->height); in gc0403_get_reso_dist()
508 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in gc0403_find_best_fit() local
515 dist = gc0403_get_reso_dist(&supported_modes[i], framefmt); in gc0403_find_best_fit()
H A Dos02g10.c381 struct v4l2_mbus_framefmt *framefmt) in os02g10_get_reso_dist() argument
383 return abs(mode->width - framefmt->width) + in os02g10_get_reso_dist()
384 abs(mode->height - framefmt->height); in os02g10_get_reso_dist()
390 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in os02g10_find_best_fit() local
397 dist = os02g10_get_reso_dist(&supported_modes[i], framefmt); in os02g10_find_best_fit()
399 (supported_modes[i].bus_fmt == framefmt->code)) { in os02g10_find_best_fit()
H A Dos03b10.c389 struct v4l2_mbus_framefmt *framefmt) in os03b10_get_reso_dist() argument
391 return abs(mode->width - framefmt->width) + in os03b10_get_reso_dist()
392 abs(mode->height - framefmt->height); in os03b10_get_reso_dist()
398 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in os03b10_find_best_fit() local
405 dist = os03b10_get_reso_dist(&supported_modes[i], framefmt); in os03b10_find_best_fit()
407 (supported_modes[i].bus_fmt == framefmt->code)) { in os03b10_find_best_fit()
H A Dov02b10.c381 struct v4l2_mbus_framefmt *framefmt) in ov02b10_get_reso_dist() argument
383 return abs(mode->width - framefmt->width) + in ov02b10_get_reso_dist()
384 abs(mode->height - framefmt->height); in ov02b10_get_reso_dist()
390 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov02b10_find_best_fit() local
397 dist = ov02b10_get_reso_dist(&supported_modes[i], framefmt); in ov02b10_find_best_fit()
399 (supported_modes[i].bus_fmt == framefmt->code)) { in ov02b10_find_best_fit()
H A Djx_h65.c460 struct v4l2_mbus_framefmt *framefmt) in jx_h65_get_reso_dist() argument
462 return abs(mode->width - framefmt->width) + in jx_h65_get_reso_dist()
463 abs(mode->height - framefmt->height); in jx_h65_get_reso_dist()
469 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in jx_h65_find_best_fit() local
476 dist = jx_h65_get_reso_dist(&supported_modes[i], framefmt); in jx_h65_find_best_fit()
H A Dgc2155.c895 struct v4l2_mbus_framefmt *framefmt) in gc2155_get_reso_dist() argument
897 return abs(mode->width - framefmt->width) + in gc2155_get_reso_dist()
898 abs(mode->height - framefmt->height); in gc2155_get_reso_dist()
904 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in gc2155_find_best_fit() local
911 dist = gc2155_get_reso_dist(&supported_modes[i], framefmt); in gc2155_find_best_fit()
H A Dov7750.c488 struct v4l2_mbus_framefmt *framefmt) in ov7750_get_reso_dist() argument
490 return abs(mode->width - framefmt->width) + in ov7750_get_reso_dist()
491 abs(mode->height - framefmt->height); in ov7750_get_reso_dist()
497 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov7750_find_best_fit() local
504 dist = ov7750_get_reso_dist(&supported_modes[i], framefmt); in ov7750_find_best_fit()
H A Dov9750.c488 struct v4l2_mbus_framefmt *framefmt) in ov9750_get_reso_dist() argument
490 return abs(mode->width - framefmt->width) + in ov9750_get_reso_dist()
491 abs(mode->height - framefmt->height); in ov9750_get_reso_dist()
497 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov9750_find_best_fit() local
504 dist = ov9750_get_reso_dist(&supported_modes[i], framefmt); in ov9750_find_best_fit()
H A Dov2735.c388 struct v4l2_mbus_framefmt *framefmt) in ov2735_get_reso_dist() argument
390 return abs(mode->width - framefmt->width) + in ov2735_get_reso_dist()
391 abs(mode->height - framefmt->height); in ov2735_get_reso_dist()
397 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov2735_find_best_fit() local
404 dist = ov2735_get_reso_dist(&supported_modes[i], framefmt); in ov2735_find_best_fit()
H A Dar0230.c883 struct v4l2_mbus_framefmt *framefmt) in ar0230_get_reso_dist() argument
885 return abs(mode->width - framefmt->width) + in ar0230_get_reso_dist()
886 abs(mode->height - framefmt->height); in ar0230_get_reso_dist()
892 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ar0230_find_best_fit() local
899 dist = ar0230_get_reso_dist(&supported_modes[i], framefmt); in ar0230_find_best_fit()
H A Dmax96714.c239 struct v4l2_mbus_framefmt *framefmt) in max96714_get_reso_dist() argument
241 return abs(mode->width - framefmt->width) + in max96714_get_reso_dist()
242 abs(mode->height - framefmt->height); in max96714_get_reso_dist()
248 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in max96714_find_best_fit() local
255 dist = max96714_get_reso_dist(&supported_modes[i], framefmt); in max96714_find_best_fit()
H A Dsc031gs.c425 struct v4l2_mbus_framefmt *framefmt) in sc031gs_get_reso_dist() argument
427 return abs(mode->width - framefmt->width) + in sc031gs_get_reso_dist()
428 abs(mode->height - framefmt->height); in sc031gs_get_reso_dist()
434 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in sc031gs_find_best_fit() local
441 dist = sc031gs_get_reso_dist(&supported_modes[i], framefmt); in sc031gs_find_best_fit()
H A Dimx290.c557 struct v4l2_mbus_framefmt *framefmt; in imx290_get_fmt() local
562 framefmt = v4l2_subdev_get_try_format(&imx290->sd, cfg, in imx290_get_fmt()
565 framefmt = &imx290->current_format; in imx290_get_fmt()
567 fmt->format = *framefmt; in imx290_get_fmt()
H A Dov5695.c706 struct v4l2_mbus_framefmt *framefmt) in ov5695_get_reso_dist() argument
708 return abs(mode->width - framefmt->width) + in ov5695_get_reso_dist()
709 abs(mode->height - framefmt->height); in ov5695_get_reso_dist()
715 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov5695_find_best_fit() local
722 dist = ov5695_get_reso_dist(&supported_modes[i], framefmt); in ov5695_find_best_fit()
H A Dov13850.c765 struct v4l2_mbus_framefmt *framefmt) in ov13850_get_reso_dist() argument
767 return abs(mode->width - framefmt->width) + in ov13850_get_reso_dist()
768 abs(mode->height - framefmt->height); in ov13850_get_reso_dist()
774 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in ov13850_find_best_fit() local
781 dist = ov13850_get_reso_dist(&supported_modes[i], framefmt); in ov13850_find_best_fit()
/OK3568_Linux_fs/kernel/drivers/media/i2c/techpoint/
H A Dtechpoint_v4l2.c353 struct v4l2_mbus_framefmt *framefmt) in techpoint_get_reso_dist() argument
355 return abs(mode->width - framefmt->width) + in techpoint_get_reso_dist()
356 abs(mode->height - framefmt->height); in techpoint_get_reso_dist()
363 struct v4l2_mbus_framefmt *framefmt = &fmt->format; in techpoint_find_best_fit() local
372 framefmt); in techpoint_find_best_fit()
374 techpoint->video_modes[i].bus_fmt == framefmt->code) { in techpoint_find_best_fit()

12345