Hi JerryChang,
I fix the command like this:
v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=2160,pixelformat=BA12 --set-ctrl=bypass_mode=0,hdr_enable=1,sensor_mode=1 --stream-mmap --stream-count=1 --stream-to=ov1080.raw
$ v4l2-ctl --device=/dev/video0 --list-formats-ext
ioctl: VIDIOC_ENUM_FMT
Index : 0
Type : Video Capture
Pixel Format: 'BA12'
Name : 12-bit Bayer GRGR/BGBG
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1928x2184
Interval: Discrete 0.033s (30.000 fps)
But if I disable the error (tegra194-vi5 15c10000.vi: corr_err: discarding frame), like Get half raw data of wdr DOL mode 2 exposure - #3 by JerryChang , I still only get 4147200 Bytes and kworker/0:0-8379 [000] .... 418.870401: rtcpu_vinotify_error: tstamp:13454018340 tag:CHANSEL_NOMATCH channel:0x50 frame:8 vi_tstamp:13454015522 data:0x00000589
error.
Other, I find if I set is_interlaced=1 and interlaced_type=1 in dtsi file, I can output the 8294400 Bytes, but the first 4147200 bytes are normal images, and the second 4147200 bytes are all zeros。