msm: camera: isp: Add YUV format support

Add YUV format support in ISP driver. This change is
needed to support the requirement of many OEM who
are trying to bring up YUV sensors.
This commit adds support for YUV 422 8 bit and YUV422 10 bit
format using IPP and RDI path.

CRs-Fixed: 3025233
Change-Id: I61c5881bc655451a6aa6aebe6d6bbf520597a473
Signed-off-by: Gaurav Jindal <gjindal@codeaurora.org>
This commit is contained in:
Gaurav Jindal
2021-06-27 20:57:02 +05:30
parent 0794e0fa6b
commit 919e62d01e
7 changed files with 52 additions and 4 deletions

View File

@@ -179,7 +179,8 @@ struct cam_iommu_handle {
#define CAM_FORMAT_PLAIN32 47
#define CAM_FORMAT_ARGB_16 48
#define CAM_FORMAT_PLAIN16_10_LSB 49
#define CAM_FORMAT_MAX 50
#define CAM_FORMAT_YUV422_10 50
#define CAM_FORMAT_MAX 51
/* Pixel Patterns */
#define PIXEL_PATTERN_RGRGRG 0x0