Hi, I’m trying to run GStreamer pipeline with monochrome 10-bit CMOS. The V4L2 interface works fine, I’m able to stream all frames using v4l2-ctl using formats Y10 and BG10. (I tried with MEDIA_BUS_FMT_SBGGR10_1X10 and MEDIA_BUS_FMT_Y10_1X10 on the CMOS driver). But GStreamer does not work with Y10 or BG10 format, and there is no way to stream data using GStreamer v4l2src and keeping a 10-bit raw video stream.
The ISP21 capture driver doesn’t provide Y10 or BGGR10 as output format, if I run v4l2-ctl --list-formats I have only the following options:
# v4l2-ctl --list-formats
ioctl: VIDIOC_ENUM_FMT
Type: Video Capture Multiplanar
[0]: 'UYVY' (UYVY 4:2:2)
[1]: '422P' (Planar YUV 4:2:2)
[2]: 'NV16' (Y/CbCr 4:2:2)
[3]: 'NV61' (Y/CrCb 4:2:2)
[4]: 'YM16' (Planar YUV 4:2:2 (N-C))
[5]: 'NV21' (Y/CrCb 4:2:0)
[6]: 'NV12' (Y/CbCr 4:2:0)
[7]: 'NM21' (Y/CrCb 4:2:0 (N-C))
[8]: 'NM12' (Y/CbCr 4:2:0 (N-C))
[9]: 'YU12' (Planar YUV 4:2:0)
[10]: 'YM24' (Planar YUV 4:4:4 (N-C))
But using GStreamer pipeline only NV12 and UYVY works, but cut image to 8-bit (Channel Y max 8 bit on both formats). My question is:
- There is the possibility to stream with GStreamer 10 bit gray images?
- Can I set two different formats on ISP selfpath and mainpath?
- Except BG10 and Y10 there is other 10bit format that I can use on GStremer in order to get RGA acceleration?
System Information:
- CMOS ar0234
- SoC RK3566
- Kernel 5.10
- Rootfs built with buildroot
- GStreamer version 1.20 (plugins good v4l2srcsrc from https://github.com/Caesar-github/gst-plugins-good)