初始化ov5640_dev结构,填充v4l2_mbus_framefmt,该结构体参考: 4.15.3.4.1. Media Bus Formats — The Linux Kernel documentation MEDIA_BUS_FMT_UYVY8_2X8格式: 是一种8-bit YUV values downsampled to 4:2:2,yuv422 pack的一种格式,采用uy,uv的编排方式。设置当前模式位30fpsOV5640_MODE_VGA_640_480...
953structv4l2_subdev *sd; 954structv4l2_mbus_framefmt mf; 955intret; 956 957 dev_info(dev,"Probing %s\n", dev_name(dev)); 958 959 ret = regulator_bulk_get(icd->pdev, icl->num_regulators, 960 icl->regulators); 961if(ret < 0) 962gotoereg; 963 964 ret = soc_camera_power_set(...
struct v4l2_mbus_framefmt format; struct vvcam_mode_info_s cur_mode; enum sensor_hdr_mode_e hdr; struct sensor_blc_s blc; struct sensor_white_balance_s wb; struct mutex lock; /* sensor lock */ @@ -762,7 +770,7 @@ static u32 os08a20_code2bpp(const u32 code)...
* @format: media bus format (format code and frame size) */ struct v4l2_subdev_format { __u32 which; __u32 pad; struct v4l2_mbus_framefmt format; __u32 reserved[8]; }; /** * struct v4l2_subdev_crop - Pad-level crop settings * @which: format type (from enum v4l2_subdev_form...
MEDIABUS_H12#define__LINUX_V4L2_MEDIABUS_H1314#include <linux/types.h>15#include <linux/videodev2.h>1617/*18* These pixel codes uniquely identify data formats on the media bus. Mostly19* they correspond to similarly named V4L2_PIX_FMT_* formats, format 0 is20* reserved, V4L2_MBUS_FMT...
media / v4l2-subdev.h v6 v5 v4 v4.20 v4.19 v4.18 v4.18.20 v4.18.19 v4.18.18 v4.18.17 v4.18.16 v4.18.15 v4.18.14 v4.18.13 v4.18.12 v4.18.11 v4.18.10 v4.18.9 v4.18.8 v4.18.7 v4.18.6 v4.18.5 v4.18.4 v4.18.3 v4.18.2 v4.18.1 v...
954structv4l2_mbus_framefmt mf; 955intret; 956 957 dev_info(dev,"Probing %s\n", dev_name(dev)); 958 959 ret = regulator_bulk_get(icd->pdev, icl->num_regulators, 960 icl->regulators); 961if(ret < 0) 962gotoereg; 963 964 ret = soc_camera_power_set(icd, icl, 1); ...
954 struct v4l2_mbus_framefmt mf; 955 int ret; 956 957 dev_info(dev, "Probing %s\n", dev_name(dev)); 958 959 ret = regulator_bulk_get(icd->pdev, icl->num_regulators, 960 icl->regulators); 961 if (ret < 0) 962 goto ereg; 963 964 ret = soc_camera_power_set...