您好,我正在使用imx8mp的basler模组的驱动,我使用v4l2-ctl --device=/dev/video2 --list-formats-ext获取了它目前支持的数据格式,我想添加一种GREY格式的数据捕获,我该怎么做,我该修改怎么文件,我在basler-camera-driver-vvcam.c文件中没看见看见相关的设置data type的地方
v4l2-ctl --device=/dev/video2 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture
[0]: 'YUYV' (YUYV 4:2:2)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[1]: 'NV12' (Y/UV 4:2:0)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[2]: 'NV16' (Y/UV 4:2:2)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
[3]: 'BA12' (12-bit Bayer GRGR/BGBG)
Size: Stepwise 176x144 - 4096x3072 with step 16/8
for basler, they are not open to customers
Do you have any suggestions for modifying the OS08a20 driver if I want to perform ISP processing on grayscale images
you need check the os08a20 data sheet, to check the register to control this, then set this register in the driver, you need contact os08a20 vendor
So if I modify the driver of OS08a20, can I add formatting normally