media: staging: rkisp1: cap: remove unsupported formats
For Ycbcr packed formats only YUYV can be supported by the driver. This patch removes the other formats. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Acked-by: Helen Koike <helen.koike@collabora.com> Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
81cdedb0aa
commit
3acb3e06ba
@ -88,13 +88,6 @@ static const struct rkisp1_capture_fmt_cfg rkisp1_mp_fmts[] = {
|
||||
.fourcc = V4L2_PIX_FMT_YUYV,
|
||||
.uv_swap = 0,
|
||||
.write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVYU,
|
||||
.uv_swap = 1,
|
||||
.write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_VYUY,
|
||||
.write_format = RKISP1_MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.uv_swap = 0,
|
||||
@ -197,16 +190,6 @@ static const struct rkisp1_capture_fmt_cfg rkisp1_sp_fmts[] = {
|
||||
.uv_swap = 0,
|
||||
.write_format = RKISP1_MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = RKISP1_MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVYU,
|
||||
.uv_swap = 1,
|
||||
.write_format = RKISP1_MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = RKISP1_MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_VYUY,
|
||||
.uv_swap = 1,
|
||||
.write_format = RKISP1_MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = RKISP1_MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.uv_swap = 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user