imx8mp basler add data type

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

imx8mp basler add data type

1,661 次查看
lei11
Contributor I

您好,我正在使用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

0 项奖励
回复
4 回复数

1,634 次查看
joanxie
NXP TechSupport
NXP TechSupport

for basler, they are not open to customers

0 项奖励
回复

1,623 次查看
lei11
Contributor I

Do you have any suggestions for modifying the OS08a20 driver if I want to perform ISP processing on grayscale images

0 项奖励
回复

1,607 次查看
joanxie
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复

1,627 次查看
lei11
Contributor I

 So if I modify the driver of OS08a20, can I add formatting normally

0 项奖励
回复