[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3c388a51fef3d2c284fe7648ffd7215e097980a9.camel@collabora.com>
Date: Tue, 06 Aug 2024 17:17:58 -0400
From: Nicolas Dufresne <nicolas.dufresne@...labora.com>
To: Tim Surber <me@...surber.de>, Dmitry Osipenko
<dmitry.osipenko@...labora.com>, Shreeya Patel
<shreeya.patel@...labora.com>, heiko@...ech.de, mchehab@...nel.org,
robh@...nel.org, krzk+dt@...nel.org, conor+dt@...nel.org,
mturquette@...libre.com, sboyd@...nel.org, p.zabel@...gutronix.de,
jose.abreu@...opsys.com, nelson.costa@...opsys.com,
shawn.wen@...k-chips.com, hverkuil@...all.nl, hverkuil-cisco@...all.nl
Cc: kernel@...labora.com, linux-kernel@...r.kernel.org,
linux-media@...r.kernel.org, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-rockchip@...ts.infradead.org
Subject: Re: [PATCH v4 0/4] Add Synopsys DesignWare HDMI RX Controller
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
Powered by blists - more mailing lists