diff options
| author | Sven Püschel <s.pueschel@pengutronix.de> | 2026-05-21 01:44:13 +0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-05-21 13:32:19 +0300 |
| commit | 74d010fbdc4478293ceb96eed7f6609fe6c7529c (patch) | |
| tree | 201fb2a0d015e3fe2bae6b5b8d1fe670500d9152 /include/linux/timerqueue.h | |
| parent | a2a4f69fd2e333bacd17d1788eb5211cb6f373cc (diff) | |
| download | linux-74d010fbdc4478293ceb96eed7f6609fe6c7529c.tar.xz | |
media: rockchip: rga: use stride for offset calculation
Use the stride instead of the width for the offset calculation. This
ensures that the bytesperline value doesn't need to match the width
value of the image.
Furthermore this patch removes the dependency on the uv_factor property
and instead reuses the v4l2_format_info to determine the correct
division factor.
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/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
