[PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller

Nicolas Dufresne nicolas.dufresne at collabora.com
Tue Aug 6 14:17:58 PDT 2024


Hi Tim,

Le mardi 06 août 2024 à 22:37 +0200, Tim Surber a écrit :
> ###source set to 4k60fps####
> ---------------------------
> v4l2-ctl --verbose -d /dev/video1 
> --set-fmt-video=width=3840,height=2160,pixelformat='NV12' 
> --stream-mmap=4 --stream-skip=3 --stream-count=100 --stream-poll
> ---------------------------
> VIDIOC_QUERYCAP: ok
> VIDIOC_G_FMT: ok
> VIDIOC_S_FMT: ok
> Format Video Capture Multiplanar:
>      Width/Height      : 3840/2160
>      Pixel Format      : 'NV12' (Y/UV 4:2:0)
>      Field             : None
>      Number of planes  : 1
>      Flags             :
>      Colorspace        : sRGB
>      Transfer Function : Default
>      YCbCr/HSV Encoding: Default
>      Quantization      : Default
>      Plane 0           :
>         Bytes per Line : 3840
>         Size Image     : 8294400

You have highlighted a bug here. NV12 has 2 planes, but the size image only
allow for the luma to be stored.

   Size Image: 3840 * 2160 * 3 / 2 = 12441600 bytes.

Lets at least get that fixed, and check again.

Nicolas


More information about the Linux-rockchip mailing list