Some checks failed
Build Kernel / Build all affected Kernels (push) Has been cancelled
Build all core packages / Build all core packages for selected target (push) Has been cancelled
Build and Push prebuilt tools container / Build and Push all prebuilt containers (push) Has been cancelled
Build Toolchains / Build Toolchains for each target (push) Has been cancelled
Build host tools / Build host tools for linux and macos based systems (push) Has been cancelled
Coverity scan build / Coverity x86/64 build (push) Has been cancelled
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From 4968b02ede602b0fa8deb1daeb394d763013cdf8 Mon Sep 17 00:00:00 2001
|
|
From: Naushir Patuck <naush@raspberrypi.com>
|
|
Date: Tue, 23 Apr 2024 12:50:23 +0100
|
|
Subject: [PATCH 1048/1085] drivers: media: cfe: Add remap entries for mono
|
|
formats
|
|
|
|
The 8-bit and 16-bit mono formats were missing the appropriate remap
|
|
entries in the format table.
|
|
|
|
Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
|
|
---
|
|
drivers/media/platform/raspberrypi/rp1_cfe/cfe_fmts.h | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/drivers/media/platform/raspberrypi/rp1_cfe/cfe_fmts.h
|
|
+++ b/drivers/media/platform/raspberrypi/rp1_cfe/cfe_fmts.h
|
|
@@ -256,6 +256,7 @@ static const struct cfe_fmt formats[] =
|
|
.code = MEDIA_BUS_FMT_Y8_1X8,
|
|
.depth = 8,
|
|
.csi_dt = MIPI_CSI2_DT_RAW8,
|
|
+ .remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
|
},
|
|
{
|
|
.fourcc = V4L2_PIX_FMT_Y10P,
|
|
@@ -284,6 +285,7 @@ static const struct cfe_fmt formats[] =
|
|
.depth = 16,
|
|
.csi_dt = MIPI_CSI2_DT_RAW16,
|
|
.flags = CFE_FORMAT_FLAG_FE_OUT,
|
|
+ .remap = { V4L2_PIX_FMT_Y16, V4L2_PIX_FMT_PISP_COMP1_MONO },
|
|
},
|
|
{
|
|
.fourcc = V4L2_PIX_FMT_PISP_COMP1_MONO,
|