android_device_samsung_msm8.../camera/s5k2p2xx_chromatix.xml

209 lines
10 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 special_mode_mask="0">
<ISPCommon>libchromatix_s5k2p2xx_common.so</ISPCommon>
<PostProc>libchromatix_s5k2p2xx_postproc.so</PostProc>
</ChromatixName>
</CommonChromatixInfo>
<ResolutionChromatixInfo>
<ChromatixName sensor_resolution_index="0" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_snapshot.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_snapshot.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_snapshot.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_preview.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_liveshot.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_zsl_preview_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_zsl_video_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="1" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_snapshot.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_snapshot.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_snapshot.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_preview.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_liveshot.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_video_16M_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_video_16M_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="2" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_video_4k.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_video_4k.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_video_4k.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_preview.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video_4k.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_liveshot.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_4k_preview_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_4k_video_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="3" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_preview.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_preview.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_preview.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_preview.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_liveshot.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_default_preview_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_default_video_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="4" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_default_video.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_default_video.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_default_video.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_preview.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_liveshot.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_1080p_video_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_1080p_video_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="5" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_hfr_60.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_hfr_60.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_hfr_60.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_hfr_60.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_hfr_60.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_hfr_60.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_hfr_60.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hfr_60_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hfr_60_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="6" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_hfr_90.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_hfr_90.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_hfr_90.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_hfr_90.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_hfr_90.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_hfr_90.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_hfr_90.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hfr_90_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hfr_90_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="7" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_hfr_120.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_hfr_120.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_hfr_120.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_hfr_120.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_hfr_120.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_hfr_120.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_hfr_120.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hfr_120_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hfr_120_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="8" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_hfr_240.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_hfr_240.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_hfr_240.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_hfr_240.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_hfr_240.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_hfr_240.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_hfr_240.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hfr_240_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hfr_240_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="9" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_video_hdr.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_video_hdr.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_video_hdr.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_video_hdr.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_video_hdr.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_video_hdr.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_video_hdr.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hdr_video_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hdr_video_lc898212xd.so</A3Video>
</ChromatixName>
<ChromatixName sensor_resolution_index="10" special_mode_mask="0">
<ISPPreview>libchromatix_s5k2p2xx_snapshot_hdr.so</ISPPreview>
<ISPSnapshot>libchromatix_s5k2p2xx_snapshot_hdr.so</ISPSnapshot>
<ISPVideo>libchromatix_s5k2p2xx_snapshot_hdr.so</ISPVideo>
<CPPPreview>libchromatix_s5k2p2xx_cpp_snapshot_hdr.so</CPPPreview>
<CPPSnapshot>libchromatix_s5k2p2xx_cpp_snapshot_hdr.so</CPPSnapshot>
<CPPVideo>libchromatix_s5k2p2xx_cpp_snapshot_hdr.so</CPPVideo>
<CPPLiveshot>libchromatix_s5k2p2xx_cpp_snapshot_hdr.so</CPPLiveshot>
<A3Preview>libchromatix_s5k2p2xx_hdr_video_lc898212xd.so</A3Preview>
<A3Video>libchromatix_s5k2p2xx_hdr_video_lc898212xd.so</A3Video>
</ChromatixName>
</ResolutionChromatixInfo>
</ChromatixConfigurationRoot>