]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
media: staging: rkisp1: replace rkisp1_fmt_pix_type with v4l2_pixel_encoding
authorDafna Hirschfeld <dafna.hirschfeld@collabora.com>
Mon, 6 Apr 2020 18:52:33 +0000 (20:52 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 21 Apr 2020 11:36:58 +0000 (13:36 +0200)
commit2990e3dbf7ee3094a6f5138bd3d0fcaef080c056
tree7704336bd2c14e016c8a47038d9e0e7ca99ef207
parentdd844fb8e50b12e65bbdc5746c9876c6735500df
media: staging: rkisp1: replace rkisp1_fmt_pix_type with v4l2_pixel_encoding

The enum rkisp1_fmt_pix_type that holds the pixel format
which is one of RGB, YUV, BAYER, can be replace by the
v4l2 enum v4l2_pixel_encoding.

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>
drivers/staging/media/rkisp1/rkisp1-capture.c
drivers/staging/media/rkisp1/rkisp1-common.h
drivers/staging/media/rkisp1/rkisp1-isp.c
drivers/staging/media/rkisp1/rkisp1-resizer.c