Home
last modified time | relevance | path

Searched refs:subdev_fmt (Results 1 – 1 of 1) sorted by relevance

/external/libxcam/modules/isp/
Datomisp_device.cpp40 struct v4l2_subdev_format subdev_fmt; in pre_set_format() local
59 xcam_mem_clear (subdev_fmt); in pre_set_format()
60 subdev_fmt.pad = 0; in pre_set_format()
61 subdev_fmt.which = V4L2_SUBDEV_FORMAT_TRY; in pre_set_format()
62 subdev_fmt.format.width = format.fmt.pix.width; in pre_set_format()
63 subdev_fmt.format.height = format.fmt.pix.height; in pre_set_format()
64 subdev_fmt.format.field = V4L2_FIELD_NONE; in pre_set_format()
66 subdev_fmt.format.code = V4L2_MBUS_FMT_SRGGB12_1X12; in pre_set_format()
68 subdev_fmt.format.code = V4L2_MBUS_FMT_SRGGB10_1X10; in pre_set_format()
71 if (io_control(VIDIOC_SUBDEV_S_FMT, &subdev_fmt) < 0) { in pre_set_format()
[all …]