X01BD: add missing ar1337 & s5k5e9yu05 camera sensor blobs

This commit is contained in:
SonicBSV
2025-08-01 22:53:28 +03:00
parent 8e149ea427
commit 37610cb98c
59 changed files with 328 additions and 0 deletions
+196
View File
@@ -0,0 +1,196 @@
<!--
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>
<ISPCommon>ar1337_common</ISPCommon>
<PostProc>ar1337_postproc</PostProc>
</ChromatixName>
<ChromatixName special_mode_mask="FLASH">
<CPPSnapshot>ar1337_cpp_snapshot</CPPSnapshot>
</ChromatixName>
<ChromatixName special_mode_mask="ZOOM_UPSCALE">
<CPPSnapshot>ar1337_cpp_us_chromatix</CPPSnapshot>
</ChromatixName>
<ChromatixName special_mode_mask="ZOOM_DOWNSCALE">
<CPPSnapshot>ar1337_cpp_ds_chromatix</CPPSnapshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>ar1337_snapshot</ISPPreview>
<ISPSnapshot>ar1337_snapshot</ISPSnapshot>
<ISPVideo>ar1337_video_full</ISPVideo>
<!--Huaqin change ar1337 cpp_snapshot by chengming at 2018/09/25 start-->
<CPPPreview>ar1337_cpp_snapshot</CPPPreview>
<!--Huaqin change ar1337 cpp_snapshot by chengming at 2018/09/25 end-->
<CPPSnapshot>ar1337_cpp_snapshot</CPPSnapshot>
<!--Huaqin change ar1337 video_full by chengming at 2018/09/25 start-->
<CPPVideo>ar1337_cpp_video_full</CPPVideo>
<!--Huaqin change ar1337 video_full by chengming at 2018/09/25 end-->
<CPPLiveshot>ar1337_cpp_snapshot</CPPLiveshot>
<A3Preview>ar1337_zsl_preview_bu64297</A3Preview>
<A3Video>ar1337_zsl_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>ar1337_snapshot</ISPPreview>
<ISPSnapshot>ar1337_snapshot</ISPSnapshot>
<ISPVideo>ar1337_video_full</ISPVideo>
<!--Huaqin change ar1337 cpp_snapshot by chengming at 2018/09/25 start-->
<CPPPreview>ar1337_cpp_snapshot</CPPPreview>
<!--Huaqin change ar1337 cpp_snapshot by chengming at 2018/09/25 end-->
<CPPSnapshot>ar1337_cpp_snapshot</CPPSnapshot>
<CPPVideo>ar1337_cpp_video_full</CPPVideo>
<CPPLiveshot>ar1337_cpp_snapshot</CPPLiveshot>
<A3Preview>ar1337_zsl_preview_bu64297</A3Preview>
<A3Video>ar1337_zsl_video_bu64297</A3Video>
</ChromatixName>
<!--Huaqin add ar1337 resolution_index by chengming at 2018/09/25 start-->
<ChromatixName sensor_resolution_index="2">
<ISPPreview>ar1337_preview</ISPPreview>
<ISPSnapshot>ar1337_preview</ISPSnapshot>
<ISPVideo>ar1337_default_video</ISPVideo>
<CPPPreview>ar1337_cpp_preview</CPPPreview>
<CPPSnapshot>ar1337_cpp_preview</CPPSnapshot>
<CPPVideo>ar1337_cpp_video</CPPVideo>
<CPPLiveshot>ar1337_cpp_liveshot</CPPLiveshot>
<A3Preview>ar1337_default_preview_bu64297</A3Preview>
<A3Video>ar1337_default_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>ar1337_preview</ISPPreview>
<ISPSnapshot>ar1337_preview</ISPSnapshot>
<ISPVideo>ar1337_default_video</ISPVideo>
<CPPPreview>ar1337_cpp_preview</CPPPreview>
<CPPSnapshot>ar1337_cpp_preview</CPPSnapshot>
<CPPVideo>ar1337_cpp_video</CPPVideo>
<CPPLiveshot>ar1337_cpp_liveshot</CPPLiveshot>
<A3Preview>ar1337_default_preview_bu64297</A3Preview>
<A3Video>ar1337_default_video_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4">
<ISPPreview>ar1337_hfr_60</ISPPreview>
<ISPSnapshot>ar1337_hfr_60</ISPSnapshot>
<ISPVideo>ar1337_hfr_60</ISPVideo>
<CPPPreview>ar1337_cpp_hfr_60</CPPPreview>
<CPPSnapshot>ar1337_cpp_hfr_60</CPPSnapshot>
<CPPVideo>ar1337_cpp_hfr_60</CPPVideo>
<CPPLiveshot>ar1337_cpp_hfr_60</CPPLiveshot>
<A3Preview>ar1337_hfr_60_bu64297</A3Preview>
<A3Video>ar1337_hfr_60_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5">
<ISPPreview>ar1337_hfr_90</ISPPreview>
<ISPSnapshot>ar1337_hfr_90</ISPSnapshot>
<ISPVideo>ar1337_hfr_90</ISPVideo>
<CPPPreview>ar1337_cpp_hfr_90</CPPPreview>
<CPPSnapshot>ar1337_cpp_hfr_90</CPPSnapshot>
<CPPVideo>ar1337_cpp_hfr_90</CPPVideo>
<CPPLiveshot>ar1337_cpp_hfr_90</CPPLiveshot>
<A3Preview>ar1337_hfr_90_bu64297</A3Preview>
<A3Video>ar1337_hfr_90_bu64297</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6">
<ISPPreview>ar1337_hfr_120</ISPPreview>
<ISPSnapshot>ar1337_hfr_120</ISPSnapshot>
<ISPVideo>ar1337_hfr_120</ISPVideo>
<CPPPreview>ar1337_cpp_hfr_120</CPPPreview>
<CPPSnapshot>ar1337_cpp_hfr_120</CPPSnapshot>
<CPPVideo>ar1337_cpp_hfr_120</CPPVideo>
<CPPLiveshot>ar1337_cpp_hfr_120</CPPLiveshot>
<A3Preview>ar1337_hfr_120_bu64297</A3Preview>
<A3Video>ar1337_hfr_120_bu64297</A3Video>
</ChromatixName>
<!--Huaqin change ar1337 add res front_bokeh by chengming at 2018/11/16 start-->
<ChromatixName sensor_resolution_index="7">
<ISPPreview>ar1337_front_bokeh_snapshot</ISPPreview>
<ISPSnapshot>ar1337_front_bokeh_snapshot</ISPSnapshot>
<ISPVideo>ar1337_video_full</ISPVideo>
<CPPPreview>ar1337_front_bokeh_cpp_preview</CPPPreview>
<CPPSnapshot>ar1337_front_bokeh_cpp_preview</CPPSnapshot>
<CPPVideo>ar1337_cpp_video_full</CPPVideo>
<CPPLiveshot>ar1337_cpp_snapshot</CPPLiveshot>
<A3Preview>ar1337_front_bokeh_zsl_preview_bu64297</A3Preview>
<A3Video>ar1337_zsl_video_bu64297</A3Video>
</ChromatixName>
<!--Huaqin change ar1337 add res front_bokeh by chengming at 2018/11/16 end-->
<!--Huaqin add ar1337 resolution_index by chengming at 2018/09/25 end-->
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>
@@ -0,0 +1,132 @@
<!--
Copyright (c) 2018 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>
<ISPCommon>s5k5e9yu05_common</ISPCommon>
<PostProc>s5k5e9yu05_postproc</PostProc>
<CPPPreview>s5k5e9yu05_cpp_preview</CPPPreview>
<CPPSnapshot>s5k5e9yu05_cpp_snapshot</CPPSnapshot>
<CPPLiveshot>s5k5e9yu05_cpp_liveshot</CPPLiveshot>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>s5k5e9yu05_snapshot</ISPPreview>
<ISPSnapshot>s5k5e9yu05_snapshot</ISPSnapshot>
<ISPVideo>s5k5e9yu05_default_video</ISPVideo>
<CPPVideo>s5k5e9yu05_cpp_video</CPPVideo>
<A3Preview>s5k5e9yu05_zsl_preview_3a</A3Preview>
<A3Video>s5k5e9yu05_zsl_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1">
<ISPPreview>s5k5e9yu05_preview</ISPPreview>
<ISPSnapshot>s5k5e9yu05_preview</ISPSnapshot>
<ISPVideo>s5k5e9yu05_preview</ISPVideo>
<CPPVideo>s5k5e9yu05_cpp_video</CPPVideo>
<A3Preview>s5k5e9yu05_default_preview_3a</A3Preview>
<A3Video>s5k5e9yu05_default_video_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>s5k5e9yu05_hfr_60</ISPPreview>
<ISPSnapshot>s5k5e9yu05_hfr_60</ISPSnapshot>
<ISPVideo>s5k5e9yu05_hfr_60</ISPVideo>
<CPPVideo>s5k5e9yu05_cpp_hfr_60</CPPVideo>
<A3Preview>s5k5e9yu05_hfr_60_3a</A3Preview>
<A3Video>s5k5e9yu05_hfr_60_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3">
<ISPPreview>s5k5e9yu05_hfr_90</ISPPreview>
<ISPSnapshot>s5k5e9yu05_hfr_90</ISPSnapshot>
<ISPVideo>s5k5e9yu05_hfr_90</ISPVideo>
<CPPVideo>s5k5e9yu05_cpp_hfr_90</CPPVideo>
<A3Preview>s5k5e9yu05_hfr_90_3a</A3Preview>
<A3Video>s5k5e9yu05_hfr_90_3a</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4">
<ISPPreview>s5k5e9yu05_hfr_120</ISPPreview>
<ISPSnapshot>s5k5e9yu05_hfr_120</ISPSnapshot>
<ISPVideo>s5k5e9yu05_hfr_120</ISPVideo>
<CPPVideo>s5k5e9yu05_cpp_hfr_120</CPPVideo>
<A3Preview>s5k5e9yu05_hfr_120_3a</A3Preview>
<A3Video>s5k5e9yu05_hfr_120_3a</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>