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
43 lines
1.3 KiB
Diff
43 lines
1.3 KiB
Diff
From ab4b888295e8df88e1fcb6e9047c7669b3fef034 Mon Sep 17 00:00:00 2001
|
|
From: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
Date: Wed, 1 Jul 2020 10:57:57 +0100
|
|
Subject: [PATCH 0230/1085] media: bcm2835-unicam: Add support for unpacked
|
|
14bit Bayer formats
|
|
|
|
Now that the 14bit non-packed Bayer formats are defined, add them
|
|
into the supported formats lookup table.
|
|
|
|
Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
|
|
---
|
|
drivers/media/platform/bcm2835/bcm2835-unicam.c | 4 ++++
|
|
1 file changed, 4 insertions(+)
|
|
|
|
--- a/drivers/media/platform/bcm2835/bcm2835-unicam.c
|
|
+++ b/drivers/media/platform/bcm2835/bcm2835-unicam.c
|
|
@@ -301,21 +301,25 @@ static const struct unicam_fmt formats[]
|
|
.csi_dt = 0x2c,
|
|
}, {
|
|
.fourcc = V4L2_PIX_FMT_SBGGR14P,
|
|
+ .repacked_fourcc = V4L2_PIX_FMT_SBGGR14,
|
|
.code = MEDIA_BUS_FMT_SBGGR14_1X14,
|
|
.depth = 14,
|
|
.csi_dt = 0x2d,
|
|
}, {
|
|
.fourcc = V4L2_PIX_FMT_SGBRG14P,
|
|
+ .repacked_fourcc = V4L2_PIX_FMT_SGBRG14,
|
|
.code = MEDIA_BUS_FMT_SGBRG14_1X14,
|
|
.depth = 14,
|
|
.csi_dt = 0x2d,
|
|
}, {
|
|
.fourcc = V4L2_PIX_FMT_SGRBG14P,
|
|
+ .repacked_fourcc = V4L2_PIX_FMT_SGRBG14,
|
|
.code = MEDIA_BUS_FMT_SGRBG14_1X14,
|
|
.depth = 14,
|
|
.csi_dt = 0x2d,
|
|
}, {
|
|
.fourcc = V4L2_PIX_FMT_SRGGB14P,
|
|
+ .repacked_fourcc = V4L2_PIX_FMT_SRGGB14,
|
|
.code = MEDIA_BUS_FMT_SRGGB14_1X14,
|
|
.depth = 14,
|
|
.csi_dt = 0x2d,
|