platina: Regenetaye vendor tree

Signed-off-by: HeroBuxx <me@herobuxx.me>
This commit is contained in:
HeroBuxx
2026-08-06 01:44:37 +00:00
commit 4a3513b175
620 changed files with 18318 additions and 0 deletions
BIN
View File
Binary file not shown.
Binary file not shown.
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.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,105 @@
/*
1 2 3 4 5 6 7 8 9 10
soften white ruddy eye-large slender-face foundation eye-bright deblemish depouch lip
11 12 13 14 15 16 17 18 19 20
relight iris auto-bright auto-color clarity auto-style slender-nose skin-sharp nose-highlight nosehump
21 22 23 24 25 26 27 28 29 30
3d-nose 3d-app 3d-lip 3d-chin 3d-neck M-PUPIL_BRIGHTEN M-eyebrow M-pupil-line M-gloss M-blush
31 32 33
eye-sharp eye-type eye-val
/*
// CN/G 13 value is different with other devices becuase the AE of D2T is too bright
------------------------------------CN------------------------------------------------------------------------
//male
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 10, 0, 0, 10, 20, 0, 5, 1, 50, 0, 0, 0, 0, 0, 30, 50, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 15, 0, 0, 10, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 20, 0, 0, 10, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 15, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 20, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//female
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 10, 40, 0, 10, 1, 50, 20, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 10, 40, 0, 10, 1, 60, 25, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 35, 0, 0, 10, 40, 0, 10, 1, 60, 30, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 15, 40, 0, 10, 1, 60, 35, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 45, 0, 0, 20, 40, 0, 10, 1, 60, 40, 0, 0, 0, 0, 30, 50, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
------------------------------------India------------------------------------------------------------------------
//male
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 10, 0, 0, 0, 0, 0, 0, 1, 30, 0, 0, 15, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 20, 0, 0, 0, 0, 0, 0, 1, 40, 0, 0, 20, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 0, 0, 0, 0, 1, 50, 0, 0, 25, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 0, 0, 0, 0, 1, 60, 0, 0, 25, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 50, 0, 0, 0, 0, 0, 0, 1, 70, 0, 0, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//female
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 20, 0, 0, 0, 40, 0, 0, 1, 30, 20, 0, 15, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 0, 40, 0, 0, 1, 40, 20, 0, 20, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 0, 40, 0, 0, 1, 50, 30, 0, 25, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 50, 0, 0, 0, 40, 0, 0, 1, 50, 40, 0, 30, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 50, 0, 0, 0, 40, 0, 0, 1, 60, 50, 0, 35, 0, 0, 10, 50, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
------------------------------------Global------------------------------------------------------------------------
//male
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 5, 0, 0, 10, 20, 0, 5, 1, 50, 0, 0, 0, 0, 0, 30, 50, 0, 0, 5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 10, 0, 0, 10, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 15, 0, 0, 10, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 20, 0, 0, 15, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 20, 20, 0, 5, 1, 60, 0, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//female
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 10, 0, 0, 10, 40, 0, 10, 1, 50, 20, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 15, 0, 0, 10, 40, 0, 10, 1, 60, 25, 0, 0, 0, 0, 30, 50, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 20, 0, 0, 10, 40, 0, 10, 1, 60, 30, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 15, 40, 0, 10, 1, 60, 35, 0, 0, 0, 0, 30, 50, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 20, 40, 0, 10, 1, 60, 40, 0, 0, 0, 0, 30, 50, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
------------------------------------preview------------------------------------------------------------------------
//male
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 30, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 35, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 40, 0, 0, 15, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 45, 0, 0, 20, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
//female
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 30, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 35, 0, 0, 10, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 40, 0, 0, 15, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
{ 45, 0, 0, 20, 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 0, 0},
------------------------------------record------------------------------------------------------------------------
//male
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
//female
{ 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 25, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 30, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 35, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 40, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
{ 45, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
------------------------------------advance------------------------------------------------------------------------
// 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
{ 40, 0, 0, 30, 40, 0, 0, 0, 0, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, 100,100,100,60, 100,100,70, 80, 100,80, 0, 0, 0},
{ 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
+264
View File
@@ -0,0 +1,264 @@
<!--
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>2</CameraId>
<SensorName>platina_imx576_sunny</SensorName>
<SensorAlias>platina_imx576_i</SensorAlias>
<EepromName>platina_imx576_gt24p64ba2_sunny</EepromName>
<ChromatixName>platina_imx576_sunny_chromatix</ChromatixName>
<GlobalChromatixName>platina_imx576_sunny_global_chromatix</GlobalChromatixName>
<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>0.15</TotalFocusDistance>
<HorizontalViewAngle>66.1</HorizontalViewAngle>
<VerticalViewAngle>52.1</VerticalViewAngle>
<MinFocusDistance>0.15</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>2</CameraId>
<SensorName>platina_imx576_ofilm</SensorName>
<SensorAlias>platina_imx576_ii</SensorAlias>
<EepromName>platina_imx576_bl24sa64_ofilm</EepromName>
<ChromatixName>platina_imx576_ofilm_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>0.15</TotalFocusDistance>
<HorizontalViewAngle>66.1</HorizontalViewAngle>
<VerticalViewAngle>52.1</VerticalViewAngle>
<MinFocusDistance>0.15</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>platina_imx363_sunny</SensorName>
<SensorAlias>platina_imx363_i</SensorAlias>
<EepromName>platina_imx363_gt24p64ba8_sunny</EepromName>
<ActuatorName>platina_dw9714_sunny</ActuatorName>
<FlashName>pmic</FlashName>
<ChromatixName>platina_imx363_sunny_chromatix</ChromatixName>
<GlobalChromatixName>platina_imx363_sunny_global_chromatix</GlobalChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.94</FocalLength>
<FNumber>1.9</FNumber>
<TotalFocusDistance>2.918</TotalFocusDistance>
<HorizontalViewAngle>70.4</HorizontalViewAngle>
<VerticalViewAngle>55.7</VerticalViewAngle>
<MinFocusDistance>0.07</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>0</CameraId>
<SensorName>platina_imx363_ofilm</SensorName>
<SensorAlias>platina_imx363_ii</SensorAlias>
<EepromName>platina_imx363_bl24sa64_ofilm</EepromName>
<ActuatorName>platina_dw9714_ofilm</ActuatorName>
<FlashName>pmic</FlashName>
<ChromatixName>platina_imx363_ofilm_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.94</FocalLength>
<FNumber>1.9</FNumber>
<TotalFocusDistance>2.918</TotalFocusDistance>
<HorizontalViewAngle>70.4</HorizontalViewAngle>
<VerticalViewAngle>55.7</VerticalViewAngle>
<MinFocusDistance>0.07</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>3</CameraId>
<SensorName>platina_s5k5e8_sunny</SensorName>
<SensorAlias>platina_s5k5e8_i</SensorAlias>
<EepromName>platina_s5k5e8_sunny</EepromName>
<ChromatixName>platina_s5k5e8_sunny_chromatix</ChromatixName>
<GlobalChromatixName>platina_s5k5e8_sunny_global_chromatix</GlobalChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>1.85</FocalLength>
<FNumber>2.2</FNumber>
<TotalFocusDistance>0.15</TotalFocusDistance>
<HorizontalViewAngle>87.2</HorizontalViewAngle>
<VerticalViewAngle>87.2</VerticalViewAngle>
<MinFocusDistance>0.15</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
<CameraModuleConfig>
<CameraId>3</CameraId>
<SensorName>platina_s5k5e8_ofilm</SensorName>
<SensorAlias>platina_s5k5e8_ii</SensorAlias>
<EepromName>platina_s5k5e8_ofilm</EepromName>
<ChromatixName>platina_s5k5e8_ofilm_chromatix</ChromatixName>
<ModesSupported>1</ModesSupported>
<Position>BACK_AUX</Position>
<MountAngle>90</MountAngle>
<CSIInfo>
<CSIDCore>1</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>1.85</FocalLength>
<FNumber>2.2</FNumber>
<TotalFocusDistance>0.15</TotalFocusDistance>
<HorizontalViewAngle>87.2</HorizontalViewAngle>
<VerticalViewAngle>87.2</VerticalViewAngle>
<MinFocusDistance>0.15</MinFocusDistance>
<MaxRollDegree>1.0</MaxRollDegree>
<MaxPitchDegree>1.0</MaxPitchDegree>
<MaxYawDegree>1.0</MaxYawDegree>
</LensInfo>
</CameraModuleConfig>
</CameraConfigurationRoot>
Binary file not shown.
+110
View File
@@ -0,0 +1,110 @@
<!--
Copyright (c) 2015 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>csidtg</SensorName>
<ChromatixName>csidtg_chromatix</ChromatixName>
<ActuatorName>pseudo</ActuatorName>
<ModesSupported>1</ModesSupported>
<Position>BACK</Position>
<MountAngle>360</MountAngle>
<CSIInfo>
<CSIDCore>0</CSIDCore>
<LaneMask>0x1F</LaneMask>
<LaneAssign>0x4320</LaneAssign>
<ComboMode>0</ComboMode>
</CSIInfo>
<LensInfo>
<FocalLength>3.82</FocalLength>
<FNumber>2.0</FNumber>
<TotalFocusDistance>1.2</TotalFocusDistance>
<HorizontalViewAngle>69.6</HorizontalViewAngle>
<VerticalViewAngle>43.0</VerticalViewAngle>
<MinFocusDistance>0.1</MinFocusDistance>
</LensInfo>
</CameraModuleConfig>
</CameraConfigurationRoot>
+203
View File
@@ -0,0 +1,203 @@
<!--
Copyright (c) 2015-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 has values from this list:
"FLASH"
"ZOOM_UPSCALE"
"ZOOM_DOWNSCALE"
"OIS_CAPTURE"
"ISO_100"
"ISO_200"
"ISO_400"
"ISO_800"
"ISO_1600"
"DIM_720P"
"DIM_1080P"
"DIM_UHD"
"SCENE_LANDSCAPE"
"SCENE_SNOW"
"SCENE_BEACH"
"SCENE_SUNSET"
"SCENE_NIGHT"
"SCENE_PORTRAIT"
"SCENE_BACKLIGHT"
"SCENE_SPORTS"
"SCENE_ANTISHAKE"
"SCENE_FLOWERS"
"SCENE_CANDLELIGHT"
"SCENE_FIREWORKS"
"SCENE_PARTY"
"SCENE_NIGHT_PORTRAIT"
"SCENE_THEATRE"
"SCENE_ACTION"
"SCENE_AR"
"SCENE_FACE_PRIORITY"
"SCENE_BARCODE"
special_mode_mask:
special_mode_mask is a string or a group of strings from the above list
separated by a comma(,) or pipe (|) but not both.
Multiple strings in special_mode_mask separated by | share same
chromatix name. It picks the chromatix when any one of the
modes mentioned in the list ar selected.
Multiple strings in special_mode_mask separated by , means to use the
chromatix when all the those modes are selected.
special_mode_mask can contain any number of special modes delimited by
, or | but cannot be both.
Valid usecases:
"ISO_100|SCENE_BEACH|SCENE_SNOW"
"ISO_100,SCENE_BEACH,SCENE_SNOW"
Invalid usecases:
"ISO_100|SCENE_BEACH,SCENE_SNOW"
"ISO_100,SCENE_BEACH|SCENE_SNOW"
Creating special_mode_mask examples:
If a special chromatix is required for ISO100 then
special_mode_mask="ISO_100"
If a special chromatix is required when both ISO100 and BEACH are set
special_mode_mask="ISO_100,SCENE_BEACH"
If same chromatix is to be used for SPORTS, BEACH, SNOW then
special_mode_mask="ISO_100|SCENE_BEACH|SCENE_SNOW"
-->
<ChromatixConfigurationRoot>
<CommonChromatixInfo>
<ChromatixName>
<ISPCommon>csidtg_common</ISPCommon>
<PostProc>csidtg_postproc</PostProc>
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4">
<ISPPreview>csidtg_preview</ISPPreview>
<ISPSnapshot>csidtg_preview</ISPSnapshot>
<ISPVideo>csidtg_preview</ISPVideo>
<CPPPreview>csidtg_cpp_preview</CPPPreview>
<CPPSnapshot>csidtg_cpp_preview</CPPSnapshot>
<CPPVideo>csidtg_cpp_preview</CPPVideo>
<CPPLiveshot>csidtg_cpp_preview</CPPLiveshot>
<A3Preview>csidtg_zsl_preview</A3Preview>
<A3Video>csidtg_zsl_preview</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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.
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.
Binary file not shown.
+529
View File
@@ -0,0 +1,529 @@
<?xml version="1.0" encoding="utf-8" ?>
<lib_lowlight>
<device name="nitrogen">
<camera id="0">
<iso value="104">
<ynr_weights>0,3,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>15</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>3.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>0</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="204">
<ynr_weights>0,4,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>15</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>3.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="400">
<ynr_weights>0,6,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>21</c_nr_level>
<c_nr_times>3</c_nr_times>
<obc>3.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="900">
<ynr_weights>0,6,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>3</y_nr_level>
<c_nr_level>22</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>1.6</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="1700">
<ynr_weights>0,5,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>4</y_nr_level>
<c_nr_level>30</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>1.2</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="2400">
<ynr_weights>0,5,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>8</y_nr_level>
<c_nr_level>40</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.8</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="3300">
<ynr_weights>0,6,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>10</y_nr_level>
<c_nr_level>40</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="4800">
<ynr_weights>0,8,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>10</y_nr_level>
<c_nr_level>50</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
<iso value="6400">
<ynr_weights>0,10,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>12</y_nr_level>
<c_nr_level>55</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
<iso value="9500">
<ynr_weights>0,10,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>70</y_nr_level>
<c_nr_level>60</c_nr_level>
<c_nr_times>5</c_nr_times>
<obc>0.3</obc>
<gain>140</gain>
<gamma>100</gamma>
<contrast>20</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
</camera>
<camera id="1">
<iso value="200">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>12</y_nr_level>
<c_nr_level>25</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>140</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>2</mergenumber>
</iso>
<iso value="400">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>9</y_nr_level>
<c_nr_level>20</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>120</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>2</mergenumber>
</iso>
<iso value="900">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>7</y_nr_level>
<c_nr_level>20</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="1700">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>6</y_nr_level>
<c_nr_level>10</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="3300">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>4</y_nr_level>
<c_nr_level>10</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>1</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
</camera>
</device>
<device name="platina">
<camera id="0">
<iso value="104">
<ynr_weights>0,6,4,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>15</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>2.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>0</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="204">
<ynr_weights>0,6,4,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>15</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>2.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="400">
<ynr_weights>0,6,4,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,6,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>1</y_nr_level>
<c_nr_level>21</c_nr_level>
<c_nr_times>3</c_nr_times>
<obc>2.0</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>0</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="900">
<ynr_weights>0,6,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>3</y_nr_level>
<c_nr_level>22</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>1.6</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="1700">
<ynr_weights>0,5,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>4</y_nr_level>
<c_nr_level>30</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>1.2</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="2400">
<ynr_weights>0,5,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,8,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>8</y_nr_level>
<c_nr_level>40</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.8</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="3300">
<ynr_weights>0,6,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>10</y_nr_level>
<c_nr_level>40</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="4800">
<ynr_weights>0,8,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>10</y_nr_level>
<c_nr_level>50</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
<iso value="6400">
<ynr_weights>0,10,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>12</y_nr_level>
<c_nr_level>55</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>0</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
<iso value="9500">
<ynr_weights>0,10,2,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,10,4,4,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>70</y_nr_level>
<c_nr_level>60</c_nr_level>
<c_nr_times>5</c_nr_times>
<obc>0.3</obc>
<gain>140</gain>
<gamma>100</gamma>
<contrast>20</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>5</mergenumber>
</iso>
</camera>
<camera id="1">
<iso value="200">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>12</y_nr_level>
<c_nr_level>25</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>140</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>2</mergenumber>
</iso>
<iso value="400">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>9</y_nr_level>
<c_nr_level>20</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>120</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>2</mergenumber>
</iso>
<iso value="900">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>7</y_nr_level>
<c_nr_level>20</c_nr_level>
<c_nr_times>4</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>3</mergenumber>
</iso>
<iso value="1700">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>6</y_nr_level>
<c_nr_level>10</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>0.3</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
<iso value="3300">
<ynr_weights>0,20,10,2,1,1,1,1,1,1,1</ynr_weights>
<cnr_weights>0,60,30,11,4,4,2,2,2,2,2</cnr_weights>
<y_nr_level>4</y_nr_level>
<c_nr_level>10</c_nr_level>
<c_nr_times>2</c_nr_times>
<obc>1</obc>
<gain>100</gain>
<gamma>100</gamma>
<contrast>100</contrast>
<saturation>1024</saturation>
<sharpness>100</sharpness>
<spike_noise_level>16</spike_noise_level>
<block_cnr>1</block_cnr>
<mergenumber>4</mergenumber>
</iso>
</camera>
</device>
</lib_lowlight>
Binary file not shown.
@@ -0,0 +1,298 @@
<!--
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>platina_imx363_ofilm_common</ISPCommon>
<PostProc>platina_imx363_ofilm_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH MODE">
<ISPPreview>platina_imx363_ofilm_snapshot_bokeh</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot_bokeh</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot_bokeh</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview_bokeh</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_bokeh_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_video</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_default_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_default_video</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_default_video</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_default_video</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_1080p_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_1080p_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx363_ofilm_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_video_weixin</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_weixin_video_3a</A3Preview>
<A3Video>platina_imx363_ofilm_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_video_4k</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_video_4k</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_video_4k</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video_4k</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_4k_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_4k_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_hfr_60</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_hfr_60</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_hfr_60</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_hfr_60</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_hfr_60</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_hfr_60</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_hfr_60</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_hfr_60_3a</A3Preview>
<A3Video>platina_imx363_ofilm_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_hfr_120</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_hfr_120</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_hfr_120</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_hfr_120</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_hfr_120</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_hfr_120</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_hfr_120</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_hfr_120_3a</A3Preview>
<A3Video>platina_imx363_ofilm_hfr_120_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="7" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_hfr_240</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_hfr_240</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_hfr_240</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_hfr_240</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_hfr_240</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_hfr_240</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_hfr_240</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_hfr_240_3a</A3Preview>
<A3Video>platina_imx363_ofilm_hfr_240_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="8" special_mode_mask="0">
<ISPPreview>platina_imx363_ofilm_snapshot_panorama</ISPPreview>
<ISPSnapshot>platina_imx363_ofilm_snapshot_panorama</ISPSnapshot>
<ISPVideo>platina_imx363_ofilm_snapshot_panorama</ISPVideo>
<CPPPreview>platina_imx363_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_ofilm_panorama_preview_3a</A3Preview>
<A3Video>platina_imx363_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,297 @@
<!--
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>platina_imx363_sunny_common</ISPCommon>
<PostProc>platina_imx363_sunny_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH MODE">
<ISPPreview>platina_imx363_sunny_snapshot_bokeh</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot_bokeh</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot_bokeh</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview_bokeh</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_bokeh_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_preview</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_preview</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_video</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_default_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_default_video</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_default_video</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_default_video</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_1080p_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_1080p_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx363_sunny_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_video_weixin</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx363_sunny_weixin_video_3a</A3Preview>
<A3Video>platina_imx363_sunny_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_video_4k</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_video_4k</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_video_4k</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video_4k</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_4k_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_4k_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_hfr_60</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_hfr_60</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_hfr_60</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_hfr_60</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_hfr_60</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_hfr_60</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_hfr_60</CPPLiveshot>
<A3Preview>platina_imx363_sunny_hfr_60_3a</A3Preview>
<A3Video>platina_imx363_sunny_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_hfr_120</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_hfr_120</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_hfr_120</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_hfr_120</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_hfr_120</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_hfr_120</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_hfr_120</CPPLiveshot>
<A3Preview>platina_imx363_sunny_hfr_120_3a</A3Preview>
<A3Video>platina_imx363_sunny_hfr_120_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="7" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_hfr_240</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_hfr_240</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_hfr_240</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_hfr_240</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_hfr_240</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_hfr_240</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_hfr_240</CPPLiveshot>
<A3Preview>platina_imx363_sunny_hfr_240_3a</A3Preview>
<A3Video>platina_imx363_sunny_hfr_240_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="8" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_snapshot_panorama</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_snapshot_panorama</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_snapshot_panorama</ISPVideo>
<CPPPreview>platina_imx363_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_panorama_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,297 @@
<!--
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>platina_imx363_sunny_global_common</ISPCommon>
<PostProc>platina_imx363_sunny_global_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="BOKEH MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot_bokeh</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot_bokeh</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot_bokeh</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview_bokeh</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_bokeh</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_bokeh_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HHT MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_hht</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SN MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot_sn</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_sn</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a_sn</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="SR MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_sr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx363_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_video</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_default_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_default_video</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_default_video</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_default_video</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_1080p_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_1080p_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx363_sunny_global_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_video_weixin</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_weixin_video_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_video_4k</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_video_4k</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_video_4k</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video_4k</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_4k_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_4k_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_hfr_60</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_hfr_60</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_hfr_60</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_hfr_60</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_hfr_60</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_hfr_60</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_hfr_60</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_hfr_60_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_hfr_120</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_hfr_120</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_hfr_120</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_hfr_120</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_hfr_120</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_hfr_120</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_hfr_120</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_hfr_120_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_hfr_120_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="7" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_hfr_240</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_hfr_240</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_hfr_240</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_hfr_240</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_hfr_240</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_hfr_240</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_hfr_240</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_hfr_240_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_hfr_240_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="8" special_mode_mask="0">
<ISPPreview>platina_imx363_sunny_global_snapshot_panorama</ISPPreview>
<ISPSnapshot>platina_imx363_sunny_global_snapshot_panorama</ISPSnapshot>
<ISPVideo>platina_imx363_sunny_global_snapshot_panorama</ISPVideo>
<CPPPreview>platina_imx363_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx363_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx363_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx363_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx363_sunny_global_panorama_preview_3a</A3Preview>
<A3Video>platina_imx363_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,143 @@
<!--
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>platina_imx576_ofilm_common</ISPCommon>
<PostProc>platina_imx576_ofilm_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx576_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_imx576_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_imx576_ofilm_video</ISPVideo>
<CPPPreview>platina_imx576_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx576_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx576_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_imx576_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_imx576_ofilm_video</ISPVideo>
<CPPPreview>platina_imx576_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_ofilm_cpp_snapshot_6m</CPPSnapshot>
<CPPVideo>platina_imx576_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx576_ofilm_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx576_ofilm_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx576_ofilm_video_weixin</ISPVideo>
<CPPPreview>platina_imx576_ofilm_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx576_ofilm_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx576_ofilm_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx576_ofilm_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx576_ofilm_weixin_video_3a</A3Preview>
<A3Video>platina_imx576_ofilm_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx576_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_imx576_ofilm_snapshot_hdr</ISPSnapshot>
<ISPVideo>platina_imx576_ofilm_video</ISPVideo>
<CPPPreview>platina_imx576_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_ofilm_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx576_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="CLEARSHOT MODE">
<ISPPreview>platina_imx576_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_imx576_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_imx576_ofilm_video</ISPVideo>
<CPPPreview>platina_imx576_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_ofilm_cpp_snapshot_6m_hht</CPPSnapshot>
<CPPVideo>platina_imx576_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_ofilm_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_ofilm_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,143 @@
<!--
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>platina_imx576_sunny_common</ISPCommon>
<PostProc>platina_imx576_sunny_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx576_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx576_sunny_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_preview</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_cpp_snapshot_6m</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx576_sunny_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_video_weixin</ISPVideo>
<CPPPreview>platina_imx576_sunny_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx576_sunny_weixin_video_3a</A3Preview>
<A3Video>platina_imx576_sunny_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx576_sunny_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_snapshot_hdr</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="CLEARSHOT MODE">
<ISPPreview>platina_imx576_sunny_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_preview</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_cpp_snapshot_6m_hht</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_fullsize_video_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,143 @@
<!--
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>platina_imx576_sunny_global_common</ISPCommon>
<PostProc>platina_imx576_sunny_global_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_imx576_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_global_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_imx576_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_global_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_global_cpp_snapshot_6m</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="WEIXIN MODE">
<ISPPreview>platina_imx576_sunny_global_video_weixin</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_global_video_weixin</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_global_video_weixin</ISPVideo>
<CPPPreview>platina_imx576_sunny_global_cpp_video_weixin</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_global_cpp_video_weixin</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_global_cpp_video_weixin</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_global_cpp_video_weixin</CPPLiveshot>
<A3Preview>platina_imx576_sunny_global_weixin_video_3a</A3Preview>
<A3Video>platina_imx576_sunny_global_weixin_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="HDR MODE">
<ISPPreview>platina_imx576_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_global_snapshot_hdr</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_global_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_global_cpp_snapshot_hdr</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_global_fullsize_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="CLEARSHOT MODE">
<ISPPreview>platina_imx576_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_imx576_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_imx576_sunny_global_video</ISPVideo>
<CPPPreview>platina_imx576_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_imx576_sunny_global_cpp_snapshot_6m_hht</CPPSnapshot>
<CPPVideo>platina_imx576_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_imx576_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_imx576_sunny_global_fullsize_preview_3a</A3Preview>
<A3Video>platina_imx576_sunny_global_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>platina_s5k5e8_ofilm_common</ISPCommon>
<PostProc>platina_s5k5e8_ofilm_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_ofilm_snapshot</ISPPreview>
<ISPSnapshot>platina_s5k5e8_ofilm_snapshot</ISPSnapshot>
<ISPVideo>platina_s5k5e8_ofilm_snapshot</ISPVideo>
<CPPPreview>platina_s5k5e8_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_ofilm_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_s5k5e8_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_ofilm_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_ofilm_a3_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_ofilm_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_ofilm_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_ofilm_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_ofilm_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_ofilm_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_ofilm_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_ofilm_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_ofilm_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_ofilm_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_ofilm_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_ofilm_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_ofilm_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_ofilm_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_ofilm_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_ofilm_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_ofilm_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_ofilm_a3_zsl_video</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>platina_s5k5e8_sunny_common</ISPCommon>
<PostProc>platina_s5k5e8_sunny_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_snapshot</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_snapshot</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_snapshot</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_a3_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_a3_zsl_video</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>platina_s5k5e8_sunny_global_common</ISPCommon>
<PostProc>platina_s5k5e8_sunny_global_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_global_snapshot</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_global_snapshot</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_global_snapshot</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_global_cpp_snapshot</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_global_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_global_a3_zsl_preview</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_global_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_global_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_global_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_global_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_global_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_global_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_global_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_global_a3_zsl_video</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>platina_s5k5e8_sunny_global_preview</ISPPreview>
<ISPSnapshot>platina_s5k5e8_sunny_global_preview</ISPSnapshot>
<ISPVideo>platina_s5k5e8_sunny_global_preview</ISPVideo>
<CPPPreview>platina_s5k5e8_sunny_global_cpp_preview</CPPPreview>
<CPPSnapshot>platina_s5k5e8_sunny_global_cpp_snapshot_4m</CPPSnapshot>
<CPPVideo>platina_s5k5e8_sunny_global_cpp_video</CPPVideo>
<CPPLiveshot>platina_s5k5e8_sunny_global_cpp_liveshot</CPPLiveshot>
<A3Preview>platina_s5k5e8_sunny_global_a3_zsl_preview</A3Preview>
<A3Video>platina_s5k5e8_sunny_global_a3_zsl_video</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 560 B

Binary file not shown.
Binary file not shown.
+12
View File
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8" ?>
<algo>
<library>libmorphohht4.0</library>
<algo_xml>morpho_lowlight4.0.xml</algo_xml>
<input>/data/vendor/camera/1.yuv</input>
<input>/data/vendor/camera/2.yuv</input>
<input>/data/vendor/camera/3.yuv</input>
<output>/data/vendor/camera/o.yuv</output>
<width>4000</width>
<height>3000</height>
</algo>
@@ -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
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<permissions>
<library name="com.fingerprints.extension"
file="/system_ext/framework/com.fingerprints.extension.jar" />
</permissions>
+1
View File
@@ -0,0 +1 @@
sensors.ssc.so
+545
View File
@@ -0,0 +1,545 @@
#
# File: sensor_def_qcomdev.conf
#
# Tihs file contains default sensor registry values for Qualcomm development
# test platforms.
#
# Copyright (c) 2013-2017 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 0x00010006
#######################################################################
### sdm660 Chipsets
#######################################################################
# msm8976,apq8076 and msm8956 share the same property(ro.board.platfrom)
# as msm8952.
# use 8952 as hardware,8976,8076 and 8956 identification is done by
# soc_id which is unique.
:hardware sdm660
:platform
:property
# soc_id for msm8976 targets is 278
# soc_id for apq8076 targets is 277
# soc_id for msm8956 targets is 266
# Below configuration is common for msm8976,apq8076 and msm8956
:soc_id
:soc_rev
:subtype
# Orientation of sensors
# accel x/y/z
700 2 0x00010004 #accel-x-axis
701 1 0x00010004 #accel-y-axis
702 -3 0x00010004 #accel-z-axis
# accel x/y/z for ICM406xx
720 -1 0x00010004 #accel-x-axis
721 2 0x00010004 #accel-y-axis
722 -3 0x00010004 #accel-z-axis
# gyro x/y/z
800 2 0x00010004 #gyro-x-axis
801 1 0x00010004 #gyro-y-axis
802 -3 0x00010004 #gyro-z-axis
# mag x/y/z
900 11 0x00010002 #mag-x-axis
901 12 0x00010002 #mag-y-axis
902 13 0x00010006 #mag-z-axis
# SSI SMGR Version
1900 0 0x00010002 #Maj Ver
1901 2 0x00010002 #Min Ver
# SAM config
#
203 65536 0x00010002 # AMD
225 983040 0x00010002 # RMD
504 65536 0x00010002 # Gyro Cal
1703 65536 0x00010002 # Ped
2800 983040 0x00010002 # basic ges
2900 983040 0x00010002 # Facing
3400 65536 0x00010002 # CMC
609 983040 0x00010002 # FMV
1005 983040 0x00010002 # Grav
1103 983040 0x00010002 # orientation
3000 983040 0x00010002 # gyro quat
3100 983040 0x00010002 # rot vec
3500 983040 0x00010002 # game rv
4112 65536 0x00010002 # SMD
4103 5 0x00010002 # 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
# DEVICEINFO ACCEL
2000 2 0x00010002 # set to 1 to enable
2001 2 0x00010002 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different accel sensors
# SSI SMGR Cfg 0 BMI160 FIFO ACCEL
2002 0xd646cb83ec0cd5a5 0x00010002 #UUID
2003 0x0f4d0fd654c7eab5 0x00010002 #UUID
2004 10000 0x00010002 #off_to_idle
2005 100000 0x00010002 #idle_to_ready
2006 69 0x00010006 #gpio1
2007 1000 0x00010002 #reg_group_id
2008 0 0x00010002 #cal_grp_id
2009 0x1001 0x00010002 #I2C_BUS
2010 0 0x00010002 #CS for SPI
2011 2 0x00010002 #SENSTIVITY
2012 0xD0 0x00010002 #flags
2068 0x8e 0x00010002 #vdd
2069 0x8e 0x00010002 #vddio
# SSI SMGR Cfg 1 ICM406XX ACCEL
2013 0x0b25b8431bfd46bc 0x00010003 #UUID
2014 0xc14075963795c661 0x00010003 #UUID
2015 100000 0x00010003 #off_to_idle
2016 10000 0x00010003 #idle_to_ready
2017 69 0x00010006 #gpio1 [0xFFFF:Polling; 69:Acc Interrupt Pin]
2018 1001 0x00010003 #reg_group_id
2019 0 0x00010003 #cal_grp_id
2020 0x1001 0x00010003 #spi_bus
2021 0 0x00010003 #CS for SPI
2022 3 0x00010003 #sens_default
2023 0XD0 0x00010003 #flags [0:Polling; 0x80:DRI]
2070 0x8e 0x00010003 #vdd [0x93: 2.8V; 0x02: 1.8V]
2071 0x8e 0x00010003 #vddio [0x93: 2.8V; 0x02: 1.8V]
# DEVINFO GYRO
2100 2 0x00010002 # set to 1 to enable
2101 2 0x00010002 # set this to number of gyro sensors you want to auto-detect eg: 2 if there are 2 different gyro sensors
# SSI SMGR Cfg 0 BMI160 FIFO GYRO
2102 0xd646cb83ec0cd5a5 0x00010002 #UUID
2103 0x0f4d0fd654c7eab5 0x00010002 #UUID
2104 10000 0x00010002 #off_to_idle
2105 30000 0x00010002 #idle_to_ready
2106 69 0x00010006 #gpio1
2107 1010 0x00010002 #reg_group_id
2108 10 0x00010002 #cal_grp_id
2109 0x1001 0x00010002 #I2C_BUS
2110 0 0x00010002 #CS for SPI
2111 3 0x00010002 #sens_default
2112 0xD0 0x00010002 #flags
2168 0x8e 0x00010002 #vdd
2169 0x8e 0x00010002 #vddio
# SSI SMGR Cfg 1 ICM406XX GYRO
2113 0x0b25b8431bfd46bc 0x00010003 #UUID
2114 0xc14075963795c661 0x00010003 #UUID
2115 100000 0x00010003 #off_to_idle
2116 50000 0x00010003 #idle_to_ready
2117 69 0x00010006 #gpio1 [0xFFFF:Polling; 68:Gyro Interrupt Pin]
2118 1001 0x00010003 #reg_group_id
2119 10 0x00010003 #cal_grp_id
2120 0x1001 0x00010003 #spi_bus
2121 0 0x00010003 #CS for SPI
2122 7 0x00010003 #sens_default
2123 0xD0 0x00010003 #flags [0:Polling; 0x80:DRI]
2170 0x8e 0x00010003 #vdd [0x93: 2.8V; 0x02: 1.8V]
2171 0x8e 0x00010003 #vddio [0x93: 2.8V; 0x02: 1.8V]
# DEVINFO MAG
2200 2 0x00010002 # set to 1 to enable
2201 1 0x00010002 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different mag sensors
# SSI SMGR Cfg 0: AKM09916 POLL
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_default
2212 0x00 0x00010002 #flags
2268 0x8e 0x00010002 #vdd
2269 0x8e 0x00010002 #vddio
# DEVINFO PROX_LIGHT
2300 2 0x00010002 # set to 1 to enable
2301 1 0x00010002 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different PROX_LIGHT sensors
# SSI SMGR Cfg 0: TMD2725 DRI/FIFO
2302 0xf74705152d839a5f 0x00010002 #UUID_HIGH
2303 0x9d303762258c80a3 0x00010002 #UUID_LOW
2304 5000 0x00010002 #OFF_TO_IDLE
2305 5000 0x00010002 #IDLE_TO_READY
2306 71 0x00010002 #GPIO1
2307 1040 0x00010002 #REG_GROUP_ID
2308 0xFFFF 0x00010002 #CAL_PRI_GROUP_ID
2309 3 0x00010002 #I2C_BUS
2310 0x39 0x00010002 #i2c_address
2311 0 0x00010002 #SENSTIVITY
2312 0x80 0x00010002 #FLAGS
2368 0x83 0x00010002 #vdd
2369 0x8e 0x00010002 #vddio
# DEVINFO SAR
4500 2 0x00010005 # set to 1 to enable
4501 2 0x00010005 # set this to number of accel sensors you want to auto-detect eg: 2 if there are 2 different SAR sensors
# SSI SMGR Cfg 0: SX931X POLL
4502 0x664aa53de8b92aff 0x00010005 #UUID_HIGH
4503 0x39882043cbf738a3 0x00010005 #UUID_LOW
4504 10000 0x00010005 #OFF_TO_IDLE
4505 10000 0x00010005 #IDLE_TO_READY
4506 0xFFFF 0x00010005 #GPIO1
4507 1090 0x00010005 #REG_GROUP_ID
4508 0xFFFF 0x00010005 #CAL_PRI_GROUP_ID
4509 3 0x00010005 #I2C_BUS
4510 0x28 0x00010005 #i2c_address
4511 0 0x00010005 #SENSTIVITY
4512 0x00 0x00010005 #FLAGS
4568 0x83 0x00010005 #vdd
4569 0x8e 0x00010005 #vddio
# SSI SMGR Cfg 0: ADU1050 POLL
4513 0x664aa53de8b92a1f 0x00010005 #UUID_HIGH
4514 0x39882043ccf738a3 0x00010005 #UUID_LOW
4515 10000 0x00010005 #OFF_TO_IDLE
4516 10000 0x00010005 #IDLE_TO_READY
4517 0xFFFF 0x00010005 #GPIO1
4518 1091 0x00010005 #REG_GROUP_ID
4519 0xFFFF 0x00010005 #CAL_PRI_GROUP_ID
4520 3 0x00010005 #I2C_BUS
4521 0x2C 0x00010005 #i2c_address
4522 0 0x00010005 #SENSTIVITY
4523 0x00 0x00010005 #FLAGS
4570 0x83 0x00010005 #vdd
4571 0x8e 0x00010005 #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 0x00010002 #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
+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.

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