mirror of https://gitee.com/openkylin/linux.git
media: staging: rkisp1: cap: remove support of BGR666 format
The rkisp1 supports RGB encoding with 6 bits per color with the following format: - - b5 b4 b3 b2 b1 b0 - - g5 g4 g3 g2 g1 g0 - - r5 r4 r3 r2 r1 r0 - - - - - - - - This is not how V4L2_PIX_FMT_BGR666 is defined, so remove this format from the driver's formats list. Signed-off-by: Dafna Hirschfeld <dafna.hirschfeld@collabora.com> Acked-by: Helen Koike <helen.koike@collabora.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
e30cc79cc8
commit
372faeb46b
|
@ -283,10 +283,6 @@ static const struct rkisp1_capture_fmt_cfg rkisp1_sp_fmts[] = {
|
|||
.fourcc = V4L2_PIX_FMT_RGB565,
|
||||
.write_format = RKISP1_MI_CTRL_SP_WRITE_PLA,
|
||||
.output_format = RKISP1_MI_CTRL_SP_OUTPUT_RGB565,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_BGR666,
|
||||
.write_format = RKISP1_MI_CTRL_SP_WRITE_PLA,
|
||||
.output_format = RKISP1_MI_CTRL_SP_OUTPUT_RGB666,
|
||||
},
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue