[COMMON] fimc-is2: Added new data in shot_ext
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 6 Jul 2018 01:58:29 +0000 (10:58 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:18 +0000 (17:06 +0900)
UVSP in MCSC needs the value of LSC_CENTER from CGRAS in 3AA and RADIAL_BIQUAD value in 3AA.
Driver calls the get_cal_info function to DDK, DDK fills the values in cal_info.
These values are need to be sync with frame. So the new data was added in shot_ext.

PR JIRA ID: CPR-39

Change-Id: I44e57317a30865733349f037298e49c69dd81fcd
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/include/fimc-is-metadata.h

index e0da3a86c9f8845f86d82010a2ba05ff3e6929ec..14befeeddbf9ecb95173bc78b33a0878fce8a884 100644 (file)
@@ -2121,8 +2121,16 @@ struct camera2_shot_ext {
        uint32_t                        invalid;
 
        struct hfd_meta                 hfd;
+
+       uint16_t                        binning_ratio_x;
+       uint16_t                        binning_ratio_y;
+       uint32_t                        crop_taa_x;
+       uint32_t                        crop_taa_y;
+       uint32_t                        bds_ratio_x;
+       uint32_t                        bds_ratio_y;
+
        /* reserved for future */
-       uint32_t                        reserved[13];
+       uint32_t                        reserved[8];
 
        /**     \brief
          processing time debugging