CIS_builder replied to the topic 'v4l2 driver for build in cameras' in the forum. 2 years ago

Should I submit this as a bug ticket on github? Yes we can definitely debug this
But I tend to think the stock V4L2_CCD driver is vastly incomplete. That's also a bug since all other v4l2 based capture works for both multiplanar and single planar devices.

Here's a summary on the rkisp capabilities.

pi@NanoPC-T4:~$ v4l2-ctl --all -d /dev/video0
Driver Info (not using libv4l2):
        Driver name   : rkisp1_v0
        Card type     : rkisp1_mainpath
        Bus info      : platform:ff910000.rkisp1
        Driver version: 4.4.179
        Capabilities  : 0x84201000
                Video Capture Multiplanar
                Streaming
                Extended Pix Format
                Device Capabilities
        Device Caps   : 0x04201000
                Video Capture Multiplanar
                Streaming
                Extended Pix Format
Priority: 2
Format Video Capture Multiplanar:
        Width/Height      : 3840/2160
        Pixel Format      : 'YU12'
        Field             : None
        Number of planes  : 1
        Flags             :
        Colorspace        : Default
        Transfer Function : Default
        YCbCr Encoding    : Default
        Quantization      : Unknown (000000ff)
        Plane 0           :
           Bytes per Line : 3840
           Size Image     : 12441600
Crop: Left 0, Top 0, Width 3864, Height 2180
Selection: crop, Left 0, Top 0, Width 3864, Height 2180
Selection: crop_bounds, Left 0, Top 0, Width 3864, Height 2180
Selection: crop, Left 0, Top 0, Width 3864, Height 2180
Selection: crop_bounds, Left 0, Top 0, Width 3864, Height 2180

User Controls

                       exposure 0x00980911 (int)    : min=1 max=2205 step=1 default=768 value=768

Image Source Controls

              vertical_blanking 0x009e0901 (int)    : min=30 max=1046395 step=1 default=30 value=30
            horizontal_blanking 0x009e0902 (int)    : min=536 max=536 step=1 default=536 value=536 flags=read-only
                  analogue_gain 0x009e0903 (int)    : min=0 max=240 step=1 default=0 value=0

Image Processing Controls

                 link_frequency 0x009f0901 (intmenu): min=0 max=0 default=0 value=0 flags=read-only
                     pixel_rate 0x009f0902 (int64)  : min=0 max=0 step=0 default=0 value=396000000 flags=read-only
pi@NanoPC-T4:~$


Read More...