[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260204112506.3706049-1-isaac.scott@ideasonboard.com>
Date: Wed, 4 Feb 2026 11:25:00 +0000
From: Isaac Scott <isaac.scott@...asonboard.com>
To: linux-media@...r.kernel.org
Cc: dafna@...tmail.com,
laurent.pinchart@...asonboard.com,
mchehab@...nel.org,
heiko@...ech.de,
linux-rockchip@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Isaac Scott <isaac.scott@...asonboard.com>
Subject: [PATCH v1 0/6] media: rkisp1: Add YUV bypass support for rkisp1
Hi all,
"Smart" cameras that do all image processing on the camera module itself
may not have the ability to output image data in RAW formats. These
cameras would require the use of the ISI, which is sometimes not
included in the hardware.
In hotplug systems, it is also impossible to switch between the ISP and
ISI at runtime, meaning if a media pipeline was set up between the
sensor and the rkisp1 ISP capture device, it would not be possible to
switch from a sensor supporting RAW formats to one outputting only YUV.
Thankfully, the ISP can be configured to allow the incoming YUV stream
to "bypass" the ISP blocks, allowing these sensors to be used. It
bypasses all ISP blocks and passes through the resizer, with the input
image data being presented at the output of the ISP to be captured.
In bypass mode, stats buffers are not provided by the ISP.
This series adds support for "YUV bypass", allowing sensors which only
output YUV streams to be used through the rkisp1.
Tested on: v6.18
Compile-tested on: media/next
Isaac Scott (6):
media: rkisp1-resizer: Add YUV source formats to resizer
media: rkisp1-isp: Add in_bypass flag for YUV bypass
media: rkisp1-isp: Add target_format
media: rkisp1-isp: Propagate sink -> source format in YUV passthough
media: rkisp1: Give buffers back instead of dropping in bypass mode
media: rkisp1: Treat 8 bus width and 16 bus width formats the same
.../platform/rockchip/rkisp1/rkisp1-capture.c | 5 ++++
.../platform/rockchip/rkisp1/rkisp1-common.h | 1 +
.../platform/rockchip/rkisp1/rkisp1-isp.c | 26 ++++++++++++++-----
.../platform/rockchip/rkisp1/rkisp1-resizer.c | 15 +++++++++++
4 files changed, 40 insertions(+), 7 deletions(-)
--
2.43.0
Powered by blists - more mailing lists