diff options
author | Cai YiWei <cyw@rock-chips.com> | 2019-01-09 16:31:46 +0800 |
---|---|---|
committer | Tao Huang <huangtao@rock-chips.com> | 2019-01-24 14:49:26 +0800 |
commit | d899b036e2d691bf9c978308f810c8b772656c84 (patch) | |
tree | c866a14d762f54b4e4f9fc92c53bbae53d13afa0 /drivers/media/platform/rockchip | |
parent | 2c61995140f6d45ae6cbaddb5a6686b14516fe1b (diff) |
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>
Diffstat (limited to 'drivers/media/platform/rockchip')
-rw-r--r-- | drivers/media/platform/rockchip/isp1/capture.c | 59 |
1 files changed, 4 insertions, 55 deletions
diff --git a/drivers/media/platform/rockchip/isp1/capture.c b/drivers/media/platform/rockchip/isp1/capture.c index 64105c1f699d..0fe2135f2ff5 100644 --- a/drivers/media/platform/rockchip/isp1/capture.c +++ b/drivers/media/platform/rockchip/isp1/capture.c @@ -173,22 +173,6 @@ static const struct capture_fmt mp_fmts[] = { .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, .bpp = { 8, 4, 4 }, @@ -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 */ { @@ -369,24 +345,6 @@ static const struct capture_fmt sp_fmts[] = { .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, .bpp = { 8, 8, 8 }, @@ -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 */ { |