diff options
| author | Sven Püschel <s.pueschel@pengutronix.de> | 2026-05-21 01:44:28 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-21 13:32:21 +0300 |
| commit | 918c4589a0e2bb7338b556c28ad5cb36e8e27795 (patch) | |
| tree | 0fd3d658025f03356142b179ddeffe985d84cbe5 /include/linux/patchkey.h | |
| parent | d11d812ddea312659c28d4402c059f88f2b4e348 (diff) | |
| download | linux-918c4589a0e2bb7338b556c28ad5cb36e8e27795.tar.xz | |
media: rockchip: rga: remove stride from rga_frame
Remove the stride variable from rga_frame. Despite the comment it
didn't involve any calculation and is just a copy of the
plane_fmt[0].bytesperline value. Therefore avoid this struct member
and use the bytesperline value directly in the places where it is
required.
Also drop the dependency on the depth format member, which was only
used to calculate the stride of the default format. This is already done
by the v4l2_fill_pixfmt_mp_aligned helper and used as stride in try_fmt.
Therefore using it's value also for the default format stride is just
more consistent.
Reviewed-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Sven Püschel <s.pueschel@pengutronix.de>
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/patchkey.h')
0 files changed, 0 insertions, 0 deletions
