media: s5p-mfc: Add YV12 and I420 multiplanar format support
authorAakarsh Jain <aakarsh.jain@samsung.com>
Wed, 13 Dec 2023 08:10:59 +0000 (13:40 +0530)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 13:33:49 +0000 (14:33 +0100)
commit6f1466123d731265e607df3a0ea79bfc7531a564
tree396af13aded9954a08804cda48e966c2fd5b1520
parente57b6d326f94a4e4b13625b3b5533e1be4be81c6
media: s5p-mfc: Add YV12 and I420 multiplanar format support

YV12 and I420 format (3-plane) support is added. Stride information is
added to all formats and planes since it is necessary for YV12/I420
which are different from width.

Cc: linux-fsd@tesla.com
Signed-off-by: Smitha T Murthy <smithatmurthy@gmail.com>
Signed-off-by: Aakarsh Jain <aakarsh.jain@samsung.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v12.h
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v7.h
drivers/media/platform/samsung/s5p-mfc/regs-mfc-v8.h
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_common.h
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_dec.c
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_enc.c
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr.h
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v5.c
drivers/media/platform/samsung/s5p-mfc/s5p_mfc_opr_v6.c