public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 0/6] media: rkisp1: Add YUV bypass support for rkisp1
@ 2026-02-04 11:25 Isaac Scott
  2026-02-04 11:25 ` [PATCH v1 1/6] media: rkisp1-resizer: Add YUV source formats to resizer Isaac Scott
                   ` (5 more replies)
  0 siblings, 6 replies; 14+ messages in thread
From: Isaac Scott @ 2026-02-04 11:25 UTC (permalink / raw)
  To: linux-media
  Cc: dafna, laurent.pinchart, mchehab, heiko, linux-rockchip,
	linux-arm-kernel, linux-kernel, Isaac Scott

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


^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-02-04 17:04 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-04 11:25 [PATCH v1 0/6] media: rkisp1: Add YUV bypass support for rkisp1 Isaac Scott
2026-02-04 11:25 ` [PATCH v1 1/6] media: rkisp1-resizer: Add YUV source formats to resizer Isaac Scott
2026-02-04 16:43   ` Laurent Pinchart
2026-02-04 11:25 ` [PATCH v1 2/6] media: rkisp1-isp: Add in_bypass flag for YUV bypass Isaac Scott
2026-02-04 17:04   ` Laurent Pinchart
2026-02-04 11:25 ` [PATCH v1 3/6] media: rkisp1-isp: Add target_format Isaac Scott
2026-02-04 11:37   ` Laurent Pinchart
2026-02-04 13:28     ` Isaac Scott
2026-02-04 11:25 ` [PATCH v1 4/6] media: rkisp1-isp: Propagate sink -> source format in YUV passthough Isaac Scott
2026-02-04 15:28   ` Laurent Pinchart
2026-02-04 11:25 ` [PATCH v1 5/6] media: rkisp1: Give buffers back instead of dropping in bypass mode Isaac Scott
2026-02-04 15:40   ` Laurent Pinchart
2026-02-04 16:36     ` Isaac Scott
2026-02-04 11:25 ` [PATCH v1 6/6] media: rkisp1: Treat 8 bus width and 16 bus width formats the same Isaac Scott

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox