Skip to content

Commit 584ac5b

Browse files
6by9popcornmix
authored andcommitted
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>
1 parent fa56d8d commit 584ac5b

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎drivers/media/platform/bcm2835/bcm2835-unicam.c‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -299,21 +299,25 @@ static const struct unicam_fmt formats[] = {
299299
.csi_dt = 0x2c,
300300
}, {
301301
.fourcc = V4L2_PIX_FMT_SBGGR14P,
302+
.repacked_fourcc = V4L2_PIX_FMT_SBGGR14,
302303
.code = MEDIA_BUS_FMT_SBGGR14_1X14,
303304
.depth = 14,
304305
.csi_dt = 0x2d,
305306
}, {
306307
.fourcc = V4L2_PIX_FMT_SGBRG14P,
308+
.repacked_fourcc = V4L2_PIX_FMT_SGBRG14,
307309
.code = MEDIA_BUS_FMT_SGBRG14_1X14,
308310
.depth = 14,
309311
.csi_dt = 0x2d,
310312
}, {
311313
.fourcc = V4L2_PIX_FMT_SGRBG14P,
314+
.repacked_fourcc = V4L2_PIX_FMT_SGRBG14,
312315
.code = MEDIA_BUS_FMT_SGRBG14_1X14,
313316
.depth = 14,
314317
.csi_dt = 0x2d,
315318
}, {
316319
.fourcc = V4L2_PIX_FMT_SRGGB14P,
320+
.repacked_fourcc = V4L2_PIX_FMT_SRGGB14,
317321
.code = MEDIA_BUS_FMT_SRGGB14_1X14,
318322
.depth = 14,
319323
.csi_dt = 0x2d,

0 commit comments

Comments
 (0)