<!--
  Copyright (c) 2017 Qualcomm Technologies, Inc.
  All Rights Reserved.
  Confidential and Proprietary - Qualcomm Technologies, Inc.
-->

<!--
CommonChromatixInfo:
   CommonChromatixInfo is the information about chromatix needed for
       various use cases.
   Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
       3A and SW PostProc.
   Entries in this node are common for all sensor modes.

ResolutionChromatixInfo:
   ResolutionChromatixInfo is the information about chromatix needed for
       various use cases.
   Ex:- Preview, Snapshot, ZSL, HFR, HDR, Video, Liveshot for ISP, CPP,
       3A and SW PostProc.
   Entries in this node are specific to sensor resolution.

ChromatixName:
   Contains the list of chromatix names for all modules.
   special_mode_mask:
       It is the bit mask for special modes, which is used for
           chromatix selection.
       Special modes can be any mode that needs a special chromatix.
       Ex:- scene mode, DZOOM mode, OIS capture mode, flash mode
       This is applicable for CommonChromatixInfo and
           ResolutionChromatixInfo.
       special_mode_mask="0" means none of the special modes are
           selected.
   sensor_resolution_index:
       It is the sensor resolution index for which chromatix libraries
           will be choosen.
       It is applicable only in ResolutionChromatixInfo.

ISPCommon :
   Common tuning library name for ISP
ISPPreview :
   Preview tuning library name for ISP
ISPSnapshot :
   Snapshot tuning library name for ISP
CPPCommon :
   Common tuning library name for CPP
CPPPreview :
   Preview tuning library name for CPP
CPPSnapshot :
   Snapshot tuning library name for CPP
CPPLiveshot :
   Liveshot tuning library name for CPP
PostProc :
   Tuning library name for postproc module
A3Preview :
   Preview tuning library for 3A
A3Video :
   Video tuning library for 3A

Order of Resolution Pick:
   Assume the current sensor mode is "r" and special mode mask is "s".
   Chromatix for a module and type is choosen in this order till we find a
       valid chroamtix file name or else NULL is returned.
   1) From ResolutionChromatixInfo node for which sensor_resolution_index
       is "r" and special_mode_mask is "s".
   2) From CommonChromatixInfo node for which special_mode_mask is "s".
   3) From ResolutionChromatixInfo node for which sensor_resolution_index
       is "r" and special_mode_mask is "0".
   4) From CommonChromatixInfo node for which special_mode_mask is "0".
   5) NULL is returned if we dont find in any of the above cases.

special_mode_mask values:
   SENSOR_SPECIAL_MODE_NONE = 0,
   SENSOR_SPECIAL_MODE_FLASH = 1,
   SENSOR_SPECIAL_MODE_ZOOM_UPSCALE = 2,
   SENSOR_SPECIAL_MODE_ZOOM_DOWNSCALE = 4,
   SENSOR_SPECIAL_MODE_OIS_CAPTURE = 8,
-->

<ChromatixConfigurationRoot>
  <CommonChromatixInfo>
	  <ChromatixName special_mode_mask="0">
      <ISPCommon>ysl_imx486_ofilm_india_i_common</ISPCommon>
      <PostProc>ysl_imx486_ofilm_india_i_postproc</PostProc>
    </ChromatixName>
  </CommonChromatixInfo>
  <ResolutionChromatixInfo>
    <ChromatixName sensor_resolution_index="0">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_default_video</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_zsl_preview_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_zsl_video_dw9714v</A3Video>
    </ChromatixName>
	<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT_CHROMATIX">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_default_video</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_hht</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_zsl_preview_dw9714v</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_zsl_video_dw9714v</A3Video>
	</ChromatixName>
	<ChromatixName sensor_resolution_index="0" special_mode_mask="HDR_CHROMATIX">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot_hdr</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_default_video</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_hdr</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_zsl_preview_dw9714v</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_zsl_video_dw9714v</A3Video>
	</ChromatixName>
    <ChromatixName sensor_resolution_index="1">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview_4k</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot_4k</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_preview_4k</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview_4k</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_4k</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot_4k</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video_4k</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_default_preview_4k_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_default_video_4k_dw9714v</A3Video>
    </ChromatixName>
    <ChromatixName sensor_resolution_index="1" special_mode_mask="HHT_CHROMATIX">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview_4k</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot_4k</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_preview_4k</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview_4k</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_4k_hht</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot_4k</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video_4k</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_default_preview_4k_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_default_video_4k_dw9714v</A3Video>
    </ChromatixName>
    <ChromatixName sensor_resolution_index="1" special_mode_mask="HDR_CHROMATIX">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview_4k</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot_4k_hdr</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_preview_4k</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview_4k</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_4k_hdr</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot_4k</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video_4k</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_default_preview_4k_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_default_video_4k_dw9714v</A3Video>
    </ChromatixName>
	<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview_weixin</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_preview_weixin</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_preview_weixin</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_default_preview_dw9714v_weixin</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_default_preview_dw9714v_weixin</A3Video>
	</ChromatixName>
    <ChromatixName sensor_resolution_index="2">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_default_video</ISPVideo>
           <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
           <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot</CPPSnapshot>
           <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_zsl_preview_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_zsl_video_dw9714v</A3Video>
    </ChromatixName>
    <ChromatixName sensor_resolution_index="3">
      <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_preview</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_default_preview_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_default_video_dw9714v</A3Video>
    </ChromatixName>
	<ChromatixName sensor_resolution_index="3" special_mode_mask="HHT_CHROMATIX">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_preview</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_hht</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_default_preview_dw9714v</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_default_video_dw9714v</A3Video>
	</ChromatixName>
	<ChromatixName sensor_resolution_index="3" special_mode_mask="HDR_CHROMATIX">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_snapshot_hdr</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_preview</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_snapshot_hdr</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_video</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_default_preview_dw9714v</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_default_video_dw9714v</A3Video>
	</ChromatixName>
	<ChromatixName sensor_resolution_index="3" special_mode_mask="WEIXIN">
	 <ISPPreview>ysl_imx486_ofilm_india_i_preview_weixin</ISPPreview>
	 <ISPSnapshot>ysl_imx486_ofilm_india_i_preview_weixin</ISPSnapshot>
	 <ISPVideo>ysl_imx486_ofilm_india_i_preview_weixin</ISPVideo>
	  <CPPPreview>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPPreview>
	  <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPSnapshot>
	  <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPLiveshot>
	 <CPPVideo>ysl_imx486_ofilm_india_i_cpp_preview_weixin</CPPVideo>
	 <A3Preview>ysl_imx486_ofilm_india_i_default_preview_dw9714v_weixin</A3Preview>
	 <A3Video>ysl_imx486_ofilm_india_i_default_preview_dw9714v_weixin</A3Video>
	</ChromatixName>
    <ChromatixName sensor_resolution_index="4">
      <ISPPreview>ysl_imx486_ofilm_india_i_hfr_60</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_hfr_60</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_hfr_60</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_hfr_60</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_hfr_60</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_hfr_60</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_hfr_60_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_hfr_60_dw9714v</A3Video>
    </ChromatixName>
    <ChromatixName sensor_resolution_index="5">
      <ISPPreview>ysl_imx486_ofilm_india_i_hfr_90</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_hfr_90</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_hfr_90</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_hfr_90</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_hfr_90</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_hfr_90</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_hfr_90_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_hfr_90_dw9714v</A3Video>
    </ChromatixName>
    <ChromatixName sensor_resolution_index="6">
      <ISPPreview>ysl_imx486_ofilm_india_i_hfr_120</ISPPreview>
      <ISPSnapshot>ysl_imx486_ofilm_india_i_hfr_120</ISPSnapshot>
      <ISPVideo>ysl_imx486_ofilm_india_i_hfr_120</ISPVideo>
	   <CPPPreview>ysl_imx486_ofilm_india_i_cpp_hfr_120</CPPPreview>
	   <CPPSnapshot>ysl_imx486_ofilm_india_i_cpp_hfr_120</CPPSnapshot>
	   <CPPLiveshot>ysl_imx486_ofilm_india_i_cpp_liveshot</CPPLiveshot>
      <CPPVideo>ysl_imx486_ofilm_india_i_cpp_hfr_120</CPPVideo>
      <A3Preview>ysl_imx486_ofilm_india_i_hfr_120_dw9714v</A3Preview>
      <A3Video>ysl_imx486_ofilm_india_i_hfr_120_dw9714v</A3Video>
    </ChromatixName>
  </ResolutionChromatixInfo>
</ChromatixConfigurationRoot>

