proprietary_vendor_samsung_.../msm8976-common/proprietary/etc/camera/s5k6b2yx_chromatix.xml

169 lines
7.3 KiB
XML

<!--
Copyright (c) 2015 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>s5k6b2yx_common</ISPCommon>
<ISPPreview>s5k6b2yx_snapshot</ISPPreview>
<ISPSnapshot>s5k6b2yx_snapshot</ISPSnapshot>
<ISPVideo>s5k6b2yx_default_video</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_preview</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_snapshot</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_zsl_preview_lc898122</A3Preview>
<A3Video>s5k6b2yx_default_video_lc898122</A3Video>
<PostProc>s5k6b2yx_postproc</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0">
<ISPPreview>s5k6b2yx_snapshot</ISPPreview>
<ISPSnapshot>s5k6b2yx_snapshot</ISPSnapshot>
<ISPVideo>s5k6b2yx_default_video</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_preview</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_snapshot</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_zsl_preview_lc898122</A3Preview>
<A3Video>s5k6b2yx_default_video_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="VIDEORECORDING">
<ISPPreview>s5k6b2yx_snapshot</ISPPreview>
<ISPSnapshot>s5k6b2yx_snapshot</ISPSnapshot>
<ISPVideo>s5k6b2yx_default_video</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_video</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_snapshot</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_zsl_preview_lc898122</A3Preview>
<A3Video>s5k6b2yx_default_video_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2">
<ISPPreview>s5k6b2yx_hfr_120</ISPPreview>
<ISPSnapshot>s5k6b2yx_hfr_120</ISPSnapshot>
<ISPVideo>s5k6b2yx_hfr_120</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_hfr_120</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_hfr_120</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_hfr_120</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_hfr_120</CPPLiveshot>
<A3Preview>s5k6b2yx_hfr_120_lc898122</A3Preview>
<A3Video>s5k6b2yx_hfr_120_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="VT">
<ISPPreview>s5k6b2yx_vt</ISPPreview>
<ISPSnapshot>s5k6b2yx_vt</ISPSnapshot>
<ISPVideo>s5k6b2yx_snapshot</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_vt</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_vt</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_vt_lc898122</A3Preview>
<A3Video>s5k6b2yx_vt_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="VT_VGA">
<ISPPreview>s5k6b2yx_vt_hd</ISPPreview>
<ISPSnapshot>s5k6b2yx_vt_hd</ISPSnapshot>
<ISPVideo>s5k6b2yx_snapshot</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_vt_hd</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_vt_hd</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_vt_hd_lc898122</A3Preview>
<A3Video>s5k6b2yx_vt_hd_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="VT_HD">
<ISPPreview>s5k6b2yx_vt_30fps</ISPPreview>
<ISPSnapshot>s5k6b2yx_vt_30fps</ISPSnapshot>
<ISPVideo>s5k6b2yx_snapshot</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_vt_30fps</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_vt_30fps</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<CPPLiveshot>s5k6b2yx_cpp_liveshot</CPPLiveshot>
<A3Preview>s5k6b2yx_vt_30fps_lc898122</A3Preview>
<A3Video>s5k6b2yx_vt_30fps_lc898122</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="0" special_mode_mask="NIGHT_SCENE">
<ISPCommon>s5k6b2yx_common</ISPCommon>
<ISPPreview>s5k6b2yx_snapshot</ISPPreview>
<ISPSnapshot>s5k6b2yx_snapshot</ISPSnapshot>
<ISPVideo>s5k6b2yx_default_video</ISPVideo>
<CPPPreview>s5k6b2yx_cpp_preview</CPPPreview>
<CPPSnapshot>s5k6b2yx_cpp_snapshot</CPPSnapshot>
<CPPVideo>s5k6b2yx_cpp_video</CPPVideo>
<A3Preview>s5k6b2yx_night_preview_lc898122</A3Preview>
<A3Video>s5k6b2yx_night_preview_lc898122</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>