Import from lineage-19.1@d3e8660c7

This commit is contained in:
Michael Bestas
2023-02-24 22:37:06 +02:00
commit c7757f14a4
780 changed files with 5378 additions and 0 deletions
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Binary file not shown.
+299
View File
@@ -0,0 +1,299 @@
<!--
Copyright (c) 2016-2017 Qualcomm Technologies, Inc.
All Rights Reserved.
Confidential and Proprietary - Qualcomm Technologies, Inc.
-->
<!--
CameraModuleConfig :
This node must be added for each module prosent in the device.
It contain all information about the module present.
The number of nodes of CameraModuleConfig indicate number of modules
to be probed on the device.
Maximum number of CameraModuleConfig nodes is 10
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CameraId :
Camera Id is the Slot number in which the mode is plugged.
Valid values are 0, 1, 2 and 3.
*SensorName :
Name of the sensor present on the module.
The sensor library name should be of the form libmmcamera_<SensorName>.so
ActuatorName :
Name of the actuator on this module.
The actuator library name should be of the form libactuator_<ActuatorName>.so.
If there is no actuator remove the <ActuatorName> node.
EepromName :
Name of the eeprom on this module.
Eeprom lib name should be of the form libmmcamera_<EepromName>_eeprom.so
If there is no eeprom remove the <EepromName> node.
FlashName :
Name of the flash on this module.
The flash library name should be of the form libflash_<FlashName>.so.
If there is no flash remove the <FlashName> node.
ChromatixName :
Name of the tuning xml file.
Tuning file contains the list of chromatix library names.
If there is no tuning xml file remove the <ChromatixName> node.
Position :
Position of the sensor module. Valid values are:
BACK, FRONT and BACK_AUX
MountAngle :
Angle at which the sensor is mounted. Valid values are 0, 90, 180, 270 and 360.
To use default mountangle mentioned in kernel use 360.
CsiInfo : This node contains information about the receiver configuration.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*CSIDCore :
CSID core to receive the data. Valid values are 0, 1, 2 and 3.
*LaneMask :
Mask to mention which lane is enabled.
LaneMask[0] for DL0.
LaneMask[1] for CLK.
LaneMask[2] for DL1.
LaneMask[3] for DL2.
LaneMask[4] for DL3
*LaneAssign :
Number which describes the lane mapping between sensor and PHY.
LaneAssign[0:3] is sensor lane number connected to data lane 0 of PHY on MSM
LaneAssign[4:7] is sensor lane number connected to data lane 2 of PHY on MSM
LaneAssign[8:11] is sensor lane number connected to data lane 3 of PHY on MSM
LaneAssign[12:15] is sensor lane number connected to data lane 4 of PHY on MSM
NOTE : Lane 1 is reserved for the clock lane.
Wiring and setting it to a data lane is prohibited.
ComboMode :
Flag to enable combo mode.
This flag is enabled if multiple sensors are using same CSI-PHY receiver
LensInfo : Information of the lens present in the module.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
*FocalLength :
FocalLength of the lens in micometers.
Distance between the center of curvature to the focal point.
*FNumber :
FNumber of the lens.
*TotalFocusDistance : The total distance in meters the lens could focus.
*HorizontalViewAngle : HorizontalViewAngle in degrees
*VerticalViewAngle : VerticalViewAngle in degrees
*MinFocusDistance : Minimum distance in meters the lens could focus.
*VARIABLES MARKED WITH ASTRICK (*) ARE MANDATORY.
-->
<CameraConfigurationRoot>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>wayne_imx376_sunny_back_i</SensorName>
<ActuatorName>wayne_imx376_sunny_back_i_dw9763</ActuatorName>
<EepromName>wayne_imx376_sunny_back_i</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx376_sunny_cn_back_i_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx376_sunny_india_back_i_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<!-- <Position>BACK_AUX</Position> -->
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>4.0</TotalFocusDistance>
<HorizontalViewAngle>76.9</HorizontalViewAngle>
<VerticalViewAngle>57.6</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>wayne_imx376_sunny_back_iii</SensorName>
<ActuatorName>wayne_imx376_sunny_back_i_dw9763</ActuatorName>
<EepromName>wayne_imx376_sunny_back_iii</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx376_sunny_cn_back_iii_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx376_sunny_india_back_iii_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<!-- <Position>BACK_AUX</Position> -->
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>4.0</TotalFocusDistance>
<HorizontalViewAngle>76.9</HorizontalViewAngle>
<VerticalViewAngle>57.6</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>wayne_imx376_ofilm_back_ii</SensorName>
<ActuatorName>wayne_imx376_ofilm_back_ii_dw9763</ActuatorName>
<EepromName>wayne_imx376_ofilm_back_ii</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx376_ofilm_cn_back_ii_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx376_ofilm_india_back_ii_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<!-- <Position>BACK_AUX</Position> -->
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>4.0</TotalFocusDistance>
<HorizontalViewAngle>76.9</HorizontalViewAngle>
<VerticalViewAngle>57.6</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>1</CameraId>
<SensorName>wayne_imx486_sunny_i</SensorName>
<ActuatorName>wayne_imx486_sunny_i_dw9763</ActuatorName>
<EepromName>wayne_imx486_sunny_i</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx486_sunny_cn_i_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx486_sunny_india_i_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>3.78</TotalFocusDistance>
<HorizontalViewAngle>62.9</HorizontalViewAngle>
<VerticalViewAngle>48.7</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>1</CameraId>
<SensorName>wayne_imx486_sunny_iii</SensorName>
<ActuatorName>wayne_imx486_sunny_i_dw9763</ActuatorName>
<EepromName>wayne_imx486_sunny_iii</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx486_sunny_cn_iii_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx486_sunny_india_iii_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>3.78</TotalFocusDistance>
<HorizontalViewAngle>62.9</HorizontalViewAngle>
<VerticalViewAngle>48.7</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>1</CameraId>
<SensorName>wayne_imx486_ofilm_ii</SensorName>
<ActuatorName>wayne_imx486_ofilm_ii_dw9763</ActuatorName>
<EepromName>wayne_imx486_ofilm_ii</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx486_ofilm_cn_ii_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx486_ofilm_india_ii_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>4.07</FocalLength>
<FNumber>1.75</FNumber>
<TotalFocusDistance>4.0</TotalFocusDistance>
<HorizontalViewAngle>62.9</HorizontalViewAngle>
<VerticalViewAngle>48.7</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>wayne_imx376_sunny_front_i</SensorName>
<EepromName>wayne_imx376_sunny_front_i</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx376_sunny_cn_front_i_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx376_sunny_india_front_i_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>FRONT</Position>
<MountAngle>270</MountAngle>
<CSIInfo>
<CSIDCore>2</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.86</FocalLength>
<FNumber>2.2</FNumber>
<TotalFocusDistance>3.5</TotalFocusDistance>
<HorizontalViewAngle>65.3</HorizontalViewAngle>
<VerticalViewAngle>52.1</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>wayne_imx376_ofilm_front_ii</SensorName>
<EepromName>wayne_imx376_ofilm_front_ii</EepromName>
<FlashName>pmic</FlashName>
<ChromatixName_china>wayne_imx376_ofilm_cn_front_ii_chromatix</ChromatixName_china>
<ChromatixName>wayne_imx376_ofilm_india_front_ii_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>FRONT</Position>
<MountAngle>270</MountAngle>
<CSIInfo>
<CSIDCore>2</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.82</FocalLength>
<FNumber>2.2</FNumber>
<TotalFocusDistance>3.5</TotalFocusDistance>
<HorizontalViewAngle>65</HorizontalViewAngle>
<VerticalViewAngle>52.1</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
</CameraConfigurationRoot>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 655 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 719 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

@@ -0,0 +1,143 @@
<!--
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>wayne_imx376_ofilm_cn_back_ii_common</ISPCommon>
<PostProc>wayne_imx376_ofilm_cn_back_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_ofilm_cn_back_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_back_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_back_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_back_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_back_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_back_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_back_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_back_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_back_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_cn_back_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_back_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_back_ii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_back_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_cn_back_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_back_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_back_ii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_back_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_ofilm_cn_back_ii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_back_ii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_back_ii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_back_ii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_cn_back_ii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_back_ii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_back_ii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_back_ii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_back_ii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_back_ii_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_back_ii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_back_ii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_back_ii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,176 @@
<!--
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>wayne_imx376_ofilm_cn_front_ii_common</ISPCommon>
<PostProc>wayne_imx376_ofilm_cn_front_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FRONTFLASH">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_flash_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_flash_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_flash_video</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_flash_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_flash_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_flash_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_flash_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_flash_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_flash_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FACE">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_video_face</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_video_face</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_face</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_video_face</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_video_face</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video_face</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_video_face</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_face_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_face_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx376_ofilm_cn_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_cn_front_ii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_cn_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_cn_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_cn_front_ii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_cn_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_cn_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_cn_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_cn_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,132 @@
<!--
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>wayne_imx376_ofilm_india_back_ii_common</ISPCommon>
<PostProc>wayne_imx376_ofilm_india_back_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_ofilm_india_back_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_back_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_back_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_back_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_back_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_back_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_back_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_back_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_back_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_india_back_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_back_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_back_ii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_back_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_india_back_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_back_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_back_ii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_back_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_ofilm_india_back_ii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_back_ii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_back_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_back_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_back_ii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_back_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_back_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_back_ii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_back_ii_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,176 @@
<!--
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>wayne_imx376_ofilm_india_front_ii_common</ISPCommon>
<PostProc>wayne_imx376_ofilm_india_front_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FRONTFLASH">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_flash_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_flash_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_flash_video</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_flash_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_flash_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_flash_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_flash_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_flash_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_flash_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FACE">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_video_face</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_video_face</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_face</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_video_face</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_video_face</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video_face</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_video_face</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_face_video_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_face_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx376_ofilm_india_front_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_ofilm_india_front_ii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx376_ofilm_india_front_ii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_ofilm_india_front_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_ofilm_india_front_ii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx376_ofilm_india_front_ii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_ofilm_india_front_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_ofilm_india_front_ii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_ofilm_india_front_ii_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,143 @@
<!--
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>wayne_imx376_sunny_cn_back_i_common</ISPCommon>
<PostProc>wayne_imx376_sunny_cn_back_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_cn_back_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_back_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_i_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_cn_back_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_i_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_sunny_cn_back_i_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_i_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_i_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_i_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_back_i_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_i_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_i_hfr_120</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_i_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_i_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_i_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_i_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_i_hfr_120_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_i_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,143 @@
<!--
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>wayne_imx376_sunny_cn_back_iii_common</ISPCommon>
<PostProc>wayne_imx376_sunny_cn_back_iii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_cn_back_iii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_iii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_iii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_iii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_iii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_iii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_iii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_iii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_iii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_back_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_iii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_iii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_cn_back_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_iii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_iii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_sunny_cn_back_iii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_iii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_iii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_iii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_back_iii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_back_iii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_back_iii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_back_iii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_back_iii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_back_iii_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_back_iii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_back_iii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_back_iii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,176 @@
<!--
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>wayne_imx376_sunny_cn_front_i_common</ISPCommon>
<PostProc>wayne_imx376_sunny_cn_front_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_front_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_cn_front_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_cn_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FRONTFLASH">
<ISPPreview>wayne_imx376_sunny_cn_front_i_flash_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_flash_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_flash_video</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_flash_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_flash_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_flash_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_flash_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_flash_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_flash_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_cn_front_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FACE">
<ISPPreview>wayne_imx376_sunny_cn_front_i_video_face</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_video_face</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_face</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_video_face</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_video_face</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video_face</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_video_face</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_face_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_face_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_cn_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx376_sunny_cn_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_cn_front_i_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_cn_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_cn_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_cn_front_i_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_cn_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_cn_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_cn_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_cn_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,132 @@
<!--
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>wayne_imx376_sunny_india_back_i_common</ISPCommon>
<PostProc>wayne_imx376_sunny_india_back_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_india_back_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_india_back_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_i_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_india_back_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_i_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_sunny_india_back_i_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_i_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_i_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_i_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_i_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,132 @@
<!--
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>wayne_imx376_sunny_india_back_iii_common</ISPCommon>
<PostProc>wayne_imx376_sunny_india_back_iii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_india_back_iii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_iii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_iii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_iii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_iii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_iii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_iii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_iii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_iii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_india_back_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_iii_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_iii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_india_back_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_iii_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_iii_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx376_sunny_india_back_iii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_back_iii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_back_iii_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_back_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_back_iii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_back_iii_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_back_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_back_iii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_back_iii_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,176 @@
<!--
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>wayne_imx376_sunny_india_front_i_common</ISPCommon>
<PostProc>wayne_imx376_sunny_india_front_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_india_front_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_india_front_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx376_sunny_india_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_snapshot_5M</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FRONTFLASH">
<ISPPreview>wayne_imx376_sunny_india_front_i_flash_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_flash_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_flash_video</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_flash_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_flash_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_flash_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_flash_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_flash_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_flash_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx376_sunny_india_front_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="FACE">
<ISPPreview>wayne_imx376_sunny_india_front_i_video_face</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_video_face</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_face</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_video_face</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_video_face</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video_face</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_video_face</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_face_video_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_face_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx376_sunny_india_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_snapshot_5M_hht</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx376_sunny_india_front_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx376_sunny_india_front_i_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx376_sunny_india_front_i_video_default</ISPVideo>
<CPPPreview>wayne_imx376_sunny_india_front_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx376_sunny_india_front_i_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx376_sunny_india_front_i_cpp_video_default</CPPVideo>
<CPPLiveshot>wayne_imx376_sunny_india_front_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx376_sunny_india_front_i_fullsize_preview_3a</A3Preview>
<A3Video>wayne_imx376_sunny_india_front_i_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_ofilm_cn_ii_common</ISPCommon>
<PostProc>wayne_imx486_ofilm_cn_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_cn_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_ofilm_cn_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_ofilm_cn_ii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_ofilm_cn_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_cn_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_ofilm_cn_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_cn_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_cn_ii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_cn_ii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_cn_ii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_cn_ii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_cn_ii_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_cn_ii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_cn_ii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_cn_ii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_ofilm_india_ii_common</ISPCommon>
<PostProc>wayne_imx486_ofilm_india_ii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_india_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_ofilm_india_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_ofilm_india_ii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_ofilm_india_ii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_india_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_ofilm_india_ii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_ofilm_india_ii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_video</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_ofilm_india_ii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_ofilm_india_ii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_ofilm_india_ii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_ofilm_india_ii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_ofilm_india_ii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_ofilm_india_ii_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_ofilm_india_ii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_ofilm_india_ii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_ofilm_india_ii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_sunny_cn_i_common</ISPCommon>
<PostProc>wayne_imx486_sunny_cn_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_sunny_cn_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_sunny_cn_i_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_sunny_cn_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_sunny_cn_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_i_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_i_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_i_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_i_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_i_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_i_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_i_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_i_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_i_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_sunny_cn_iii_common</ISPCommon>
<PostProc>wayne_imx486_sunny_cn_iii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_sunny_cn_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_sunny_cn_iii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_sunny_cn_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_sunny_cn_iii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_cn_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_cn_iii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_cn_iii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_cn_iii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_sunny_cn_iii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_cn_iii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_cn_iii_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_cn_iii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_cn_iii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_sunny_cn_iii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_sunny_india_i_common</ISPCommon>
<PostProc>wayne_imx486_sunny_india_i_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_sunny_india_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_sunny_india_i_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_sunny_india_i_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_sunny_india_i_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_i_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_i_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_i_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_i_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_i_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_i_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_i_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_i_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_i_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_i_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,231 @@
<!--
Copyright (c) 2016 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>wayne_imx486_sunny_india_iii_common</ISPCommon>
<PostProc>wayne_imx486_sunny_india_iii_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="PANORAMA">
<ISPPreview>wayne_imx486_sunny_india_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_snapshot</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_pano_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH">
<ISPPreview>wayne_imx486_sunny_india_iii_bokeh_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_bokeh_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_bokeh_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="MIHDR">
<ISPPreview>wayne_imx486_sunny_india_iii_snapshot</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_snapshot_hdr</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_zsl_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="WEIXIN">
<ISPPreview>wayne_imx486_sunny_india_iii_video_weixin</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_video_weixin</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video_weixin</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_video_weixin</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_video_weixin</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video_weixin</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_video_weixin</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_weixin_video_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="HHT MODE">
<ISPPreview>wayne_imx486_sunny_india_iii_preview</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_preview</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_video</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_preview</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_video</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_liveshot</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_default_preview_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_hfr_60</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_hfr_60</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_hfr_60</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_hfr_60</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_hfr_60</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_hfr_60</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_hfr_60</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_hfr_60_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_hfr_90</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_hfr_90</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_hfr_90</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_hfr_90</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_hfr_90</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_hfr_90</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_hfr_90</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_hfr_90_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>wayne_imx486_sunny_india_iii_hfr_120</ISPPreview>
<ISPSnapshot>wayne_imx486_sunny_india_iii_hfr_120</ISPSnapshot>
<ISPVideo>wayne_imx486_sunny_india_iii_hfr_120</ISPVideo>
<CPPPreview>wayne_imx486_sunny_india_iii_cpp_hfr_120</CPPPreview>
<CPPSnapshot>wayne_imx486_sunny_india_iii_cpp_hfr_120</CPPSnapshot>
<CPPVideo>wayne_imx486_sunny_india_iii_cpp_hfr_120</CPPVideo>
<CPPLiveshot>wayne_imx486_sunny_india_iii_cpp_hfr_120</CPPLiveshot>
<A3Preview>wayne_imx486_sunny_india_iii_hfr_120_3a</A3Preview>
<A3Video>wayne_imx486_sunny_india_iii_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,4 @@
service gatekeeper-1-0 /vendor/bin/hw/android.hardware.gatekeeper@1.0-service-qti
class early_hal
user system
group system
@@ -0,0 +1,4 @@
service keymaster-3-0 /vendor/bin/hw/android.hardware.keymaster@3.0-service-qti
class early_hal
user system
group system drmrpc
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -0,0 +1 @@
sensors.ssc.so
+555
View File
@@ -0,0 +1,555 @@
#
# File: sensor_def_qcomdev.conf
#
# Tihs file contains default sensor registry values for Qualcomm development
# test platforms.
#
# Copyright (c) 2013-2019 Qualcomm Technologies, Inc.
# All Rights Reserved.
# Confidential and Proprietary - Qualcomm Technologies, Inc.
# File format:
#
# Lines starting with "#" are comments and ignored.
#
# File metadata uses this format:
# :key value1 value2
#
# The following keys are defined:
# - "version" : value1 is non-zero positive version number of the file. This
# number will be stored in the sensors registry. It should be equal to the
# largest version of any item. It will be saved in the sensors registry for
# later use when initializing values. See the item format below.
# This value should only be specified once in the file.
#
# - "hardware" : The value1 will be compared to the "Hardware" string from
# the property of ro.board.platform.
# Items will only be used as default values in the registry if the hardware
# string value is a substring of the ro.board.platform string.
# This metadata key can be used more than once, so that one file can support
# more than one type of hardware.
# The value may be NULL, indicating common item values for all hardware.
# Common conf entries for multiple hardware can be mentioned as below.
# configuration below this string is common for 8952,8956 and 8974
# :hardware 8952 8956 8974
# hardware list gets overwritten with the new one every time when "hardware"
# tag appears while parsing conf file.
#
# - "platform" : Similar to the "hardware" key, but this string will need to
# match the text of either /sys/devices/soc0/hw_platform or
# /sys/devices/soc0/platform_subtype.
# Common conf entries for multiple platform can be mentioned as below.
# configuration below this string is common for MTP and QRD
# :platfrom MTP QRD
# platform list gets overwritten with the new one every time when "platfrom"
# tag appears while parsing conf file.
#
#
# - "soc_id" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/soc_id.
# Common conf entries for multiple soc_id can be mentioned as below.
# configuration below this string is common for soc_id 264 and 278
# :soc_id 264 278
# soc_id list gets overwritten with the new one every time when "soc_id"
# tag appears while parsing conf file.
#
# - "subtype" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/platform_subtype.
# Common conf entries for multiple subtype can be mentioned as below.
# configuration below this string is common for subtype X and Y
# :subtype X Y
# subtype list gets overwritten with the new one every time when "subtype"
# tag appears while parsing conf file.
#
# - "sub_id" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/platform_subtype_id.
# Common conf entries for multiple sub_id can be mentioned as below.
# configuration below this string is common for sub_id
# :sub_id 0 10
# sub_id list gets overwritten with the new one every time when "sub_id"
# tag appears while parsing conf file.
#
# - "soc_rev" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/revision.
# Common conf entries for multiple soc_rev can be mentioned as below.
# configuration below this string is common for soc_rev 1.0,2.0 and 3.0
# :soc_rev 1.0 2.0 3.0
# soc_rev list gets overwritten with the new one every time when "soc_rev"
# tag appears while parsing conf file.
#
# - "plat_ver" : Similar to the "hardware" key, but this string will need to
# match the text of /sys/devices/soc0/platform_version.
# Common conf entries for multiple plat_ver can be mentioned as below.
# configuration below this string is common for plat_ver 131072 and 1179648
# :plat_ver 131072 1179648
# plat_ver list gets overwritten with the new one every time when "plat_ver"
# tag appears while parsing conf file.
#
# - "property" : value1 is the Android system property key, and value2 is
# the desired property value. If the system property value matches the
# desired property value, then the following items will be applied.
# This metadata key can be used more than once, in which case the new
# property value overrides the old.
# value1 and 2 may be NULL, indicating common item values for all properties.
#
# Registry items are in lines with the following format:
# <itemID> <value> <version>
# Where:
# itemID is the numeric item ID defined in sns_reg_api_v02.h
#
# "value" is the numeric value of the item.
#
# "version" is a non-zero version of the item value.
# The version field will be compared against the previous saved
# value in the sensors registry. If this value is greater than the
# saved value, the default will be applied. Otherwise, the default
# will be skipped.
#
# Registry item values will only be applied if the hardware, platform, and
# property values match for the current hardware configuration.
#
# The numeric fields are parsed with the strtoull function, base 0.
#
:version 0x00010002
#######################################################################
### sdm660 Chipsets
#######################################################################
:hardware sdm660
:platform
:property
:soc_id
:soc_rev
:subtype
# Orientation of sensors
# accel x/y/z
700 1 0x00010002 #accel-x-axis
701 -2 0x00010002 #accel-y-axis
702 -3 0x00010002 #accel-z-axis
# accel x/y/z
720 2 0x00010002 #accel-x-axis
721 -1 0x00010002 #accel-y-axis
722 -3 0x00010002 #accel-z-axis
# gyro x/y/z
800 1 0x00010002 #gyro-x-axis
801 -2 0x00010002 #gyro-y-axis
802 -3 0x00010002 #gyro-z-axis
# mag x/y/z
900 -2 0x00010002 #max-x-axis
901 -1 0x00010002 #mag-y-axis
902 -3 0x00010002 #mag-z-axis
# SSI SMGR Version
1900 1 0x00010002 #Maj Ver
1901 2 0x00010002 #Min Ver
# SAM config
#
203 65536 0x10001 # AMD
225 983040 0x10001 # RMD
501 0x40 0x10001 # Gyro_cal_num_samp
504 65536 0x10001 # Gyro Cal
1703 65536 0x10001 # Ped
2800 983040 0x10001 # basic ges
2900 983040 0x10001 # Facing
3400 65536 0x10001 # CMC
609 983040 0x10001 # FMV
1005 983040 0x10001 # Grav
1103 983040 0x10001 # orientation
3000 983040 0x10001 # gyro quat
3100 983040 0x10001 # rot vec
3500 983040 0x10001 # game rv
4112 65536 0x10001 # SMD
4103 5 0x10001 # SMD_ACC_WIN_TIME
#AMD parameters
200 0x000a0000 0x00010002 #AMD_ACC_SAMP_RATE_HZ_Q16
201 0x00000cd2 0x00010002 #AMD_INT_cfg_prm1
202 0x00008000 0x00010002 #AMD_INT_cfg_prm2
#RMD parameters
220 0x001e0000 0x00010002 #RMD_ACC_SAMP_RATE_HZ_Q16
221 0x0001b333 0x00010002 #RMD_INT_cfg_prm1
222 0x00003333 0x00010002 #RMD_INT_cfg_prm2
223 0x00001657 0x00010002 #RMD_INT_cfg_prm3
224 0x00003333 0x00010002 #RMD_INT_cfg_prm4
# SSI ACC SENSOR
2000 2 0x00010002 #auto detect
2001 3 0x00010002 #no. devices
# SSI SMGR Cfg 0: ICM206xx [INVN ACCEL]
2002 0xc14075963795c661 0x00010002 #UUID
2003 0x0b25b8431bfd46bc 0x00010002 #UUID
2004 100000 0x00010002 #off_to_idle
2005 20000 0x00010002 #idle_to_ready
2006 68 0x00010002 #gpio1 [0xFFFF:Polling; 42(0x2A):Acc Interrupt Pin]
2007 1000 0x00010002 #reg_group_id
2008 0 0x00010002 #cal_grp_id
2009 3 0x00010002 #i2c_bus
2010 0x68 0x00010002 #i2c_address
2011 2 0x00010002 #sens_default
2012 0xD0 0x00010002 #flags [0:Polling; 0x80:DRI]
2068 0x83 0x00010002 #vdd [ LDO3B: 3V ]
2069 0x8E 0x00010002 #vddio [ LDO14A: 1.8V]
# SSI SMGR Cfg 1: BMI160 ACCEL
2013 0xd646cb83ec0cd5a5 0x00010002 #UUID
2014 0x0f4d0fd654c7eab5 0x00010002 #UUID
2015 30000 0x00010002 #off_to_idle
2016 0 0x00010002 #idle_to_ready
2017 68 0x00010002 #gpio1
2018 1000 0x00010002 #reg_group_id
2019 0 0x00010002 #cal_grp_id
2020 3 0x00010002 #i2c_bus
2021 0x68 0x00010002 #i2c address
2022 4 0x00010002 #sens_defatult
2023 0xD0 0x00010002 #flag
2070 0x83 0x00010002 #vdd [ LDO3B: 3V ]
2071 0x8E 0x00010002 #vddio [ LDO14A: 1.8V]
# SSI SMGR Cfg 1: lsm6dsm ACCEL
2024 0xbe48af52e826fd3c 0x00010002 #UUID
2025 0x68534cfc401dc2ac 0x00010002 #UUID
2026 100000 0x00010002 #off_to_idle
2027 250000 0x00010002 #idle_to_ready
2028 68 0x00010002 #gpio1
2029 1001 0x00010002 #reg_group_id
2030 0 0x00010002 #cal_grp_id
2031 3 0x00010002 #i2c_bus
2032 0x6a 0x00010002 #i2c address
2033 4 0x00010002 #sens_defatult
2034 0xD0 0x00010002 #flag
2072 0x83 0x00010002 #vdd [ LDO3B: 3V ]
2073 0x8E 0x00010002 #vddio [ LDO14A: 1.8V]
# SSI G SENSOR
2100 2 0x00010002 #auto detect
2101 3 0x00010002 #no. devices
# SSI SMGR Cfg 0: ICM206xx [INVN GYRO]
2102 0xc14075963795c661 0x00010002 #UUID
2103 0x0b25b8431bfd46bc 0x00010002 #UUID
2104 100000 0x00010002 #off_to_idle
2105 80000 0x00010002 #idle_to_ready
2106 69 0x00010002 #gpio1 [0xFFFF:Polling; 42(0x2A):Gyro Interrupt Pin]
2107 1010 0x00010002 #reg_group_id
2108 10 0x00010002 #cal_grp_id
2109 3 0x00010002 #i2c_bus
2110 0x68 0x00010002 #i2c_address
2111 3 0x00010002 #sens_default
2112 0xD0 0x00010002 #flags [0:Polling; 0x80:DRI]
2168 0x83 0x00010002 #vdd
2169 0x8E 0x00010002 #vddio
# SSI SMGR Cfg 1: BMI160 GYRO
2113 0xd646cb83ec0cd5a5 0x00010002 #UUID
2114 0x0f4d0fd654c7eab5 0x00010002 #UUID
2115 30000 0x00010002 #off_to_idle
2116 0 0x00010002 #idle_to_ready
2117 69 0x00010002 #gpio1
2118 1010 0x00010002 #reg_group_id
2119 10 0x00010002 #cal_grp_id
2120 3 0x00010002 #i2c_bus
2121 0x68 0x00010002 #i2c address
2122 4 0x00010002 #sens_defatult
2123 0xD0 0x00010002 #flag
2170 0x83 0x00010002 #vdd
2171 0x8E 0x00010002 #vddio
# SSI SMGR Cfg 1: lsm6dsm GYRO
2124 0xbe48af52e826fd3c 0x00010002 #UUID
2125 0x68534cfc401dc2ac 0x00010002 #UUID
2126 100000 0x00010002 #off_to_idle
2127 250000 0x00010002 #idle_to_ready
2128 69 0x00010002 #gpio1
2129 1010 0x00010002 #reg_group_id
2130 10 0x00010002 #cal_grp_id
2131 3 0x00010002 #i2c_bus
2132 0x6a 0x00010002 #i2c address
2133 4 0x00010002 #sens_defatult
2134 0xD0 0x00010002 #flag
2172 0x83 0x00010002 #vdd
2173 0x8E 0x00010002 #vddio
# SSI M SENSOR
2200 2 0x00010002 #auto detect
2201 1 0x00010002 #no. devices
# SSI SMGR Cfg 0: AKM099xx_FIFO mag FIFO/DRI
2202 0x564d2b94fe80aef6 0x00010002 #UUID
2203 0x90611b98d561168f 0x00010002 #UUID
2204 3000 0x00010002 #off_to_idle
2205 10000 0x00010002 #idle_to_ready
2206 0xFFFF 0x00010002 #gpio1
2207 1020 0x00010002 #reg_group_id
2208 0xFFFF 0x00010002 #cal_grp_id
2209 3 0x00010002 #i2c_bus
2210 0x0c 0x00010002 #i2c address
2211 0 0x00010002 #sens_defatult
2212 0 0x00010002 #flag
2268 0x83 0x00010002 #vdd
2269 0x8E 0x00010002 #vddio
# SSI ALS/PS SENSOR
2300 2 0x00010002 #auto detect
2301 1 0x00010002 #no. devices
# SSI SMGR Cfg 4: LTR578 DRI
2303 0x014101d151c1e1b1 0x00010002 #UUID should same to ADSP
2302 0xd141c181e101d1a1 0x00010002 #UUID
2304 3000 0x00010002 #off_to_idle
2305 10000 0x00010002 #idle_to_ready
2306 0xFFFF 0x00010002 #gpio1
2307 1040 0x00010002 #reg_group_id
2308 0xFFFF 0x00010002 #cal_grp_id
2309 3 0x00010002 #i2c_bus
2310 0x53 0x00010002 #i2c_address
2311 0 0x00010002 #sens_default
2312 0x00 0x00010002 #flags
2368 0x83 0x00010002 #vdd
2369 0x8E 0x00010002 #vddio
#pressure sensor
2400 2 0x00010002 #min ver
2401 1 0x00010002 #uuid number
# SSI SMGR Cfg 3: BMP285 pressure POLL
2403 0x32c31ec17f1c0abd 0x00010002 #UUID
2402 0x5c473990a806b072 0x00010002 #UUID
2404 5000 0x00010002 #off_to_idle
2405 50000 0x00010002 #idle_to_ready
2406 0xFFFF 0x00010002 #gpio1
2407 0xFFFF 0x00010002 #reg_group_id
2408 0xFFFF 0x00010002 #cal_grp_id
2409 3 0x00010002 #i2c_bus
2410 0x76 0x00010002 #i2c_address
2411 0 0x00010002 #sens_default
2412 0 0x00010002 #flags
2468 0x8E 0x00010002 #vdd
2469 0x8E 0x00010002 #vddio
# SSI SMGR Version
3600 1 0x00010002 #Maj Ver
3601 2 0x00010002 #Min Ver
#
# SSI GPIO configuration
#-----------------------------
2700 1 0x00010002 #maj ver
2701 0 0x00010002 #min ver
2706 0xFFFF 0x00010002 #RESET pin
# Mag Cal config
#-----------------------------
3801 1 0x00010002
3804 0x000a0000 0x10001 #Sample Rate
#
# IOD AUTOCAL configuration
#-----------------------------
6000 1 0x00010002 #version
6001 1 0x00010002 #converge staus
6002 0x3F86CBFB 0x00010002 #coefficient
#
# SSC GPIO CFG (Unused)
#-----------------------------
#
6300 1 0x00010002 # version
6301 0x0104 0x00010002 # gpio num
6302 2 0x00010002 # active func sel
6303 1 0x00010002 # active dir
6304 0 0x00010002 # active pull
6305 3 0x00010002 # active drive
6306 2 0x00010002 # inactive func sel
6307 0 0x00010002 # inactive dir
6308 2 0x00010002 # inactive pull
6309 3 0x00010002 # inactive drive
6310 1 0x00010002 # version
6311 0x0105 0x00010002 # gpio num
6312 2 0x00010002 # active func sel
6313 1 0x00010002 # active dir
6314 0 0x00010002 # active pull
6315 3 0x00010002 # active drive
6316 2 0x00010002 # inactive func sel
6317 0 0x00010002 # inactive dir
6318 2 0x00010002 # inactive pull
6319 3 0x00010002 # inactive drive
6320 1 0x00010002 # version
6321 0x0106 0x00010002 # gpio num
6322 2 0x00010002 # active func sel
6323 1 0x00010002 # active dir
6324 0 0x00010002 # active pull
6325 3 0x00010002 # active drive
6326 2 0x00010002 # inactive func sel
6327 0 0x00010002 # inactive dir
6328 2 0x00010002 # inactive pull
6329 3 0x00010002 # inactive drive
6330 1 0x00010002 # version
6331 0x0107 0x00010002 # gpio num
6332 2 0x00010002 # active func sel
6333 0 0x00010002 # active dir
6334 0 0x00010002 # active pull
6335 3 0x00010002 # active drive
6336 2 0x00010002 # inactive func sel
6337 0 0x00010002 # inactive dir
6338 2 0x00010002 # inactive pull
6339 3 0x00010002 # inactive drive
6340 1 0x00010002 # version
6341 0x010C 0x00010002 # gpio num
6342 1 0x00010002 # active func sel
6343 1 0x00010002 # active dir
6344 0 0x00010002 # active pull
6345 3 0x00010002 # active drive
6346 1 0x00010002 # inactive func sel
6347 0 0x00010002 # inactive dir
6348 2 0x00010002 # inactive pull
6349 3 0x00010002 # inactive drive
6350 1 0x00010002 # version
6351 0x010D 0x00010002 # gpio num
6352 1 0x00010002 # active func sel
6353 0 0x00010002 # active dir
6354 0 0x00010002 # active pull
6355 3 0x00010002 # active drive
6356 1 0x00010002 # inactive func sel
6357 0 0x00010002 # inactive dir
6358 2 0x00010002 # inactive pull
6359 3 0x00010002 # inactive drive
6360 1 0x00010002 # version
6361 0x010E 0x00010002 # gpio num
6362 1 0x00010002 # active func sel
6363 1 0x00010002 # active dir
6364 0 0x00010002 # active pull
6365 3 0x00010002 # active drive
6366 1 0x00010002 # inactive func sel
6367 0 0x00010002 # inactive dir
6368 2 0x00010002 # inactive pull
6369 3 0x00010002 # inactive drive
6490 1 0x00010002 # version
6491 0x010F 0x00010002 # gpio num
6492 1 0x00010002 # active func sel
6493 0 0x00010002 # active dir
6494 0 0x00010002 # active pull
6495 3 0x00010002 # active drive
6496 1 0x00010002 # inactive func sel
6497 0 0x00010002 # inactive dir
6498 2 0x00010002 # inactive pull
6499 3 0x00010002 # inactive drive
6370 1 0x00010002 # version
6371 0x0110 0x00010002 # gpio num
6372 1 0x00010002 # active func sel
6373 1 0x00010002 # active dir
6374 0 0x00010002 # active pull
6375 3 0x00010002 # active drive
6376 1 0x00010002 # inactive func sel
6377 0 0x00010002 # inactive dir
6378 2 0x00010002 # inactive pull
6379 3 0x00010002 # inactive drive
6380 1 0x00010002 # version
6381 0x0111 0x00010002 # gpio num
6382 1 0x00010002 # active func sel
6383 1 0x00010002 # active dir
6384 0 0x00010002 # active pull
6385 3 0x00010002 # active drive
6386 1 0x00010002 # inactive func sel
6387 0 0x00010002 # inactive dir
6388 2 0x00010002 # inactive pull
6389 3 0x00010002 # inactive drive
#
# SSC GPIO CFG (Used)
#-----------------------------
6420 1 0x00010002 # version
6421 0x0100 0x00010002 # gpio num
6422 1 0x00010002 # active func sel
6423 1 0x00010002 # active dir
6424 0 0x00010002 # active pull
6425 0 0x00010002 # active drive
6426 1 0x00010002 # inactive func sel
6427 0 0x00010002 # inactive dir
6428 2 0x00010002 # inactive pull
6429 0 0x00010002 # inactive drive
6430 1 0x00010002 # version
6431 0x0102 0x00010002 # gpio num
6432 1 0x00010002 # active func sel
6433 1 0x00010002 # active dir
6434 0 0x00010002 # active pull
6435 0 0x00010002 # active drive
6436 1 0x00010002 # inactive func sel
6437 0 0x00010002 # inactive dir
6438 2 0x00010002 # inactive pull
6439 0 0x00010002 # inactive drive
6440 1 0x00010002 # version
6441 0x0103 0x00010002 # gpio num
6442 1 0x00010002 # active func sel
6443 1 0x00010002 # active dir
6444 0 0x00010002 # active pull
6445 0 0x00010002 # active drive
6446 1 0x00010002 # inactive func sel
6447 0 0x00010002 # inactive dir
6448 2 0x00010002 # inactive pull
6449 0 0x00010002 # inactive drive
6450 1 0x00010002 # version
6451 0x0108 0x00010002 # gpio num
6452 1 0x00010002 # active func sel
6453 1 0x00010002 # active dir
6454 0 0x00010002 # active pull
6455 3 0x00010002 # active drive
6456 1 0x00010002 # inactive func sel
6457 0 0x00010002 # inactive dir
6458 2 0x00010002 # inactive pull
6459 3 0x00010002 # inactive drive
6460 1 0x00010002 # version
6461 0x0109 0x00010002 # gpio num
6462 1 0x00010002 # active func sel
6463 1 0x00010002 # active dir
6464 0 0x00010002 # active pull
6465 3 0x00010002 # active drive
6466 1 0x00010002 # inactive func sel
6467 0 0x00010002 # inactive dir
6468 2 0x00010002 # inactive pull
6469 3 0x00010002 # inactive drive
6470 1 0x00010002 # version
6471 0x010A 0x00010002 # gpio num
6472 1 0x00010002 # active func sel
6473 1 0x00010002 # active dir
6474 0 0x00010002 # active pull
6475 3 0x00010002 # active drive
6476 1 0x00010002 # inactive func sel
6477 0 0x00010002 # inactive dir
6478 2 0x00010002 # inactive pull
6479 3 0x00010002 # inactive drive
6480 1 0x00010002 # version
6481 0x010B 0x00010002 # gpio num
6482 1 0x00010002 # active func sel
6483 0 0x00010002 # active dir
6484 0 0x00010002 # active pull
6485 3 0x00010002 # active drive
6486 1 0x00010002 # inactive func sel
6487 0 0x00010002 # inactive dir
6488 2 0x00010002 # inactive pull
6489 3 0x00010002 # inactive drive
+4
View File
@@ -0,0 +1,4 @@
[0:thermal-engine-normal.conf]
[1:thermal-engine-high.conf]
[10:thermal-engine-nolimits.conf]
[12:thermal-engine-video.conf]
+302
View File
@@ -0,0 +1,302 @@
# SENSOR : ALIAS
# tsens_tz_sensor8 : gpu
# tsens_tz_sensor6 : cpu7
# tsens_tz_sensor5 : cpu6
# tsens_tz_sensor4 : cpu5
# tsens_tz_sensor3 : cpu4
# tsens_tz_sensor1 : cpu0-cpu1-cpu2-cpu3
#debug
#Conf file: vendor/etc/thermal-engine-normal.conf
[VIRTUAL-CLUSTER1]
algo_type virtual
trip_sensor tsens_tz_sensor3
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor3 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor12
weights
sampling 10
math 2
[VIRTUAL-CLUSTER0]
algo_type virtual
trip_sensor tsens_tz_sensor1
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor1 tsens_tz_sensor2
weights
sampling 10
math 2
[SS-XO-THERM-GOLD]
algo_type ss
sampling 2000
sensor xo_therm
device cluster1
set_point 46000
set_point_clr 42000
time_constant 0
device_max_limit 14016000
[SS-XO-THERM-SILVER]
algo_type ss
sampling 2000
sensor xo_therm
device cluster0
set_point 44000
set_point_clr 40000
time_constant 0
device_max_limit 902400
[SS-QUIET-THERM-GOLD2]
algo_type ss
sampling 2000
sensor tsens_tz_sensor5
device cluster1
set_point 62000
set_point_clr 57000
time_constant 0
device_max_limit 1401600
[SS-QUIET-THERM-SILVER2]
algo_type ss
sampling 2000
sensor tsens_tz_sensor5
device cluster0
set_point 60000
set_point_clr 55000
time_constant 0
device_max_limit 902400
[SS-QUIET-THERM-SILVER]
algo_type ss
sampling 2000
sensor quiet_therm
device cluster0
set_point 41000
set_point_clr 38000
time_constant 0
device_max_limit 1536000
[SS-QUIET-THERM-GOLD]
algo_type ss
sampling 2000
sensor quiet_therm
device cluster1
set_point 40000
set_point_clr 37000
time_constant 0
device_max_limit 1747200
[SS-GPU]
algo_type ss
sampling 10
sensor gpu
device gpu
set_point 95000
set_point_clr 65000
time_constant 0
[SPEAKER-CAL]
sampling 30000 30000 10 1800000
sensor pm660_tz
sensors tsens_tz_sensor8 tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor13
temp_range 6000 10000 2000
max_temp 45000
offset -4000
[BATTERY_CHARGING_CTL]
algo_type monitor
sampling 10000
sensor quiet_therm
thresholds 36000 37000 39000 40000
thresholds_clr 35000 36000 37000 38000
actions battery battery battery battery
action_info 1 2 4 5
[LCD_MANAGEMENT]
algo_type monitor
sampling 1000
sensor xo_therm
thresholds 45000 47000
thresholds_clr 43000 45000
actions lcd lcd
action_info 216 204
[CPU7_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 62000
thresholds_clr 57000
actions hotplug_7
action_info 1
[CPU3_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 60000
thresholds_clr 55000
actions hotplug_3
action_info 1
[CPU5_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor quiet_therm
thresholds 40000
thresholds_clr 37000
actions hotplug_5
action_info 1
[CPU2_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor quiet_therm
thresholds 41000
thresholds_clr 38000
actions hotplug_2
action_info 1
[VDD_RSTR_MONITOR-TSENS13]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor13
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS12]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor12
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS11]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor11
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS10]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor10
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS9]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor9
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS8]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor8
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS7]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor7
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS6]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor6
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS5]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS4]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor4
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS3]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor3
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS2]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor2
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS1]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor1
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS0]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor0
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
+310
View File
@@ -0,0 +1,310 @@
# SENSOR : ALIAS
# tsens_tz_sensor8 : gpu
# tsens_tz_sensor6 : cpu7
# tsens_tz_sensor5 : cpu6
# tsens_tz_sensor4 : cpu5
# tsens_tz_sensor3 : cpu4
# tsens_tz_sensor1 : cpu0-cpu1-cpu2-cpu3
#debug
#Conf file: vendor/etc/thermal-engine-video.conf
[VIRTUAL-CLUSTER1]
algo_type virtual
trip_sensor tsens_tz_sensor3
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor3 tsens_tz_sensor4 tsens_tz_sensor5 tsens_tz_sensor6 tsens_tz_sensor7 tsens_tz_sensor12
weights
sampling 10
math 2
[VIRTUAL-CLUSTER0]
algo_type virtual
trip_sensor tsens_tz_sensor1
set_point 60000
set_point_clr 50000
sensors tsens_tz_sensor1 tsens_tz_sensor2
weights
sampling 10
math 2
[SS-XO-THERM-GOLD]
algo_type ss
sampling 2000
sensor xo_therm
device cluster1
set_point 47000
set_point_clr 43000
time_constant 0
device_max_limit 14016000
[SS-XO-THERM-SILVER]
algo_type ss
sampling 2000
sensor xo_therm
device cluster0
set_point 45000
set_point_clr 41000
time_constant 0
device_max_limit 902400
[SS-QUIET-THERM-GOLD2]
algo_type ss
sampling 2000
sensor tsens_tz_sensor5
device cluster1
set_point 62000
set_point_clr 57000
time_constant 0
device_max_limit 1401600
[SS-QUIET-THERM-SILVER2]
algo_type ss
sampling 2000
sensor tsens_tz_sensor5
device cluster0
set_point 60000
set_point_clr 55000
time_constant 0
device_max_limit 902400
[SS-QUIET-THERM-SILVER]
algo_type ss
sampling 2000
sensor quiet_therm
device cluster0
set_point 41000
set_point_clr 38000
time_constant 0
device_max_limit 1536000
[SS-QUIET-THERM-GOLD]
algo_type ss
sampling 2000
sensor quiet_therm
device cluster1
set_point 40000
set_point_clr 37000
time_constant 0
device_max_limit 1747200
[SS-GPU]
algo_type ss
sampling 10
sensor gpu
device gpu
set_point 95000
set_point_clr 65000
time_constant 0
[SPEAKER-CAL]
sampling 30000 30000 10 1800000
sensor pm660_tz
sensors tsens_tz_sensor8 tsens_tz_sensor9 tsens_tz_sensor10 tsens_tz_sensor11 tsens_tz_sensor13
temp_range 6000 10000 2000
max_temp 45000
offset -4000
[BATTERY_CHARGING_CTL]
algo_type monitor
sampling 10000
sensor quiet_therm
thresholds 36000 37000 39000 40000
thresholds_clr 35000 36000 37000 38000
actions battery battery battery battery
action_info 1 2 4 5
[LCD_MANAGEMENT]
algo_type monitor
sampling 1000
sensor xo_therm
thresholds 45000 47000
thresholds_clr 43000 45000
actions lcd lcd
action_info 216 204
[CPU_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor quiet_therm
thresholds 47000
thresholds_clr 45000
actions hotplug_1+hotplug_2+hotplug_3+hotplug_4+hotplug_5+hotplug_6+hotplug_7
action_info 1+1+1+1+1+1+1
[CPU7_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 62000
thresholds_clr 57000
actions hotplug_7
action_info 1
[CPU3_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 60000
thresholds_clr 55000
actions hotplug_3
action_info 1
[CPU5_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor quiet_therm
thresholds 40000
thresholds_clr 37000
actions hotplug_5
action_info 1
[CPU2_HOTPLUG_MONITOR]
algo_type monitor
sampling 1000
sensor quiet_therm
thresholds 41000
thresholds_clr 38000
actions hotplug_2
action_info 1
[VDD_RSTR_MONITOR-TSENS13]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor13
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS12]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor12
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS11]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor11
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS10]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor10
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS9]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor9
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS8]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor8
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS7]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor7
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS6]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor6
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS5]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor5
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS4]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor4
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS3]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor3
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS2]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor2
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS1]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor1
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
[VDD_RSTR_MONITOR-TSENS0]
algo_type monitor
sampling 1000
sensor tsens_tz_sensor0
thresholds 5000
thresholds_clr 10000
actions vdd_restriction
action_info 1
descending
+2
View File
@@ -0,0 +1,2 @@
# File empty by default.
# Replace contents of this file with custom configuration.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More