mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 04:10:18 +09:00
media: rockchip: isp1: del nonsupport yuv format
from isp specification, only semi-planar with uv swap. Change-Id: I3fc713cd6cbab1e12a94d7b8144d7d43a6de5530 Signed-off-by: Cai YiWei <cyw@rock-chips.com>
This commit is contained in:
@@ -172,22 +172,6 @@ static const struct capture_fmt mp_fmts[] = {
|
||||
.mplanes = 1,
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVYU,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 16 },
|
||||
.cplanes = 1,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_VYUY,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 16 },
|
||||
.cplanes = 1,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUVINT,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.fmt_type = FMT_YUV,
|
||||
@@ -213,12 +197,12 @@ static const struct capture_fmt mp_fmts[] = {
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUV_SPLA,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVU422M,
|
||||
.fourcc = V4L2_PIX_FMT_YUV422M,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 8, 8, 8 },
|
||||
.cplanes = 3,
|
||||
.mplanes = 3,
|
||||
.uv_swap = 1,
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8,
|
||||
},
|
||||
/* yuv420 */
|
||||
@@ -262,14 +246,6 @@ static const struct capture_fmt mp_fmts[] = {
|
||||
.mplanes = 1,
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVU420,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 8, 8, 8 },
|
||||
.cplanes = 3,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_MP_WRITE_YUV_PLA_OR_RAW8,
|
||||
},
|
||||
/* yuv444 */
|
||||
{
|
||||
@@ -368,24 +344,6 @@ static const struct capture_fmt sp_fmts[] = {
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVYU,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 16 },
|
||||
.cplanes = 1,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_VYUY,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 16 },
|
||||
.cplanes = 1,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_SP_WRITE_INT,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YUV422P,
|
||||
.fmt_type = FMT_YUV,
|
||||
@@ -414,12 +372,12 @@ static const struct capture_fmt sp_fmts[] = {
|
||||
.write_format = MI_CTRL_SP_WRITE_SPLA,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV422,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVU422M,
|
||||
.fourcc = V4L2_PIX_FMT_YUV422M,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 8, 8, 8 },
|
||||
.cplanes = 3,
|
||||
.mplanes = 3,
|
||||
.uv_swap = 1,
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_SP_WRITE_PLA,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV422,
|
||||
},
|
||||
@@ -469,15 +427,6 @@ static const struct capture_fmt sp_fmts[] = {
|
||||
.uv_swap = 0,
|
||||
.write_format = MI_CTRL_SP_WRITE_PLA,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV420,
|
||||
}, {
|
||||
.fourcc = V4L2_PIX_FMT_YVU420,
|
||||
.fmt_type = FMT_YUV,
|
||||
.bpp = { 8, 8, 8 },
|
||||
.cplanes = 3,
|
||||
.mplanes = 1,
|
||||
.uv_swap = 1,
|
||||
.write_format = MI_CTRL_SP_WRITE_PLA,
|
||||
.output_format = MI_CTRL_SP_OUTPUT_YUV420,
|
||||
},
|
||||
/* yuv444 */
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user