Skip to content

Commit addef3d

Browse files
committed
drivers: media: pispbe: Add V4L2_PIX_FMT_NV12MT_COL128 format support
Add support for NV12 based 128-pixel coloumn output format in the pisp_be device. Signed-off-by: Naushir Patuck <naush@raspberrypi.com>
1 parent dfa8c35 commit addef3d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

drivers/media/platform/raspberrypi/pisp_be/pisp_be_formats.h

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,16 @@ static const struct pisp_be_format supported_formats[] = {
170170
.colorspace_mask = V4L2_COLORSPACE_MASK_ALL_SRGB,
171171
.colorspace_default = V4L2_COLORSPACE_SMPTE170M,
172172
},
173+
{
174+
.fourcc = V4L2_PIX_FMT_NV12MT_COL128,
175+
.opt_align = 128,
176+
.min_align = 128,
177+
.bit_depth = 8,
178+
.plane_factor = { P3(1), P3(0.5) },
179+
.num_planes = 2,
180+
.colorspace_mask = V4L2_COLORSPACE_MASK_ALL_SRGB,
181+
.colorspace_default = V4L2_COLORSPACE_SMPTE170M,
182+
},
173183
{
174184
.fourcc = V4L2_PIX_FMT_NV21M,
175185
.opt_align = 32,

0 commit comments

Comments
 (0)