imx8mp basler add data type

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx8mp basler add data type

871 Views
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 Kudos
Reply
4 Replies

844 Views
joanxie
NXP TechSupport
NXP TechSupport

for basler, they are not open to customers

0 Kudos
Reply

833 Views
lei11
Contributor I

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

0 Kudos
Reply

817 Views
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 Kudos
Reply

837 Views
lei11
Contributor I

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

0 Kudos
Reply