-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added some oxygen camera libs and actuators
- Loading branch information
AyaanSaleemMalik
authored and
AyaanSaleemMalik
committed
Nov 25, 2019
1 parent
180c481
commit ebce0bf
Showing
12 changed files
with
705 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+98.9 KB
msm8953-common/proprietary/vendor/lib/vendor.qti.hardware.camera.device@1.0_vendor.so
Binary file not shown.
Binary file added
BIN
+109 KB
msm8953-common/proprietary/vendor/lib64/vendor.qti.hardware.camera.device@1.0_vendor.so
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 154 additions & 0 deletions
154
oxygen/proprietary/vendor/etc/camera/oxygen_imx386_sunny_chromatix.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
<!-- | ||
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>oxygen_imx386_common</ISPCommon> | ||
<PostProc>oxygen_imx386_postproc</PostProc> | ||
</ChromatixName> | ||
</CommonChromatixInfo> | ||
<ResolutionChromatixInfo> | ||
<ChromatixName sensor_resolution_index="0" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_preview</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_zsl_preview</A3Preview> | ||
<A3Video>oxygen_imx386_zsl_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="1" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_snapshot</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_default_preview</A3Preview> | ||
<A3Video>oxygen_imx386_default_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="2" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_snapshot_hdr</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_snapshot_hdr</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_snapshot_hdr</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_snapshot_hdr</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_snapshot_hdr</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_video_hdr</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_video_hdr</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_hdr_snapshot_3a</A3Preview> | ||
<A3Video>oxygen_imx386_hdr_video_3a</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="3" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_video</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_video</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_video</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_video</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_4K_preview</A3Preview> | ||
<A3Video>oxygen_imx386_4K_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="4" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_video</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_video</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_video</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_video</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_video</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_default_preview</A3Preview> | ||
<A3Video>oxygen_imx386_default_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="5" special_mode_mask="0"> | ||
<ISPPreview>oxygen_imx386_hfr_120</ISPPreview> | ||
<ISPSnapshot>oxygen_imx386_hfr_120</ISPSnapshot> | ||
<ISPVideo>oxygen_imx386_hfr_120</ISPVideo> | ||
<CPPPreview>oxygen_imx386_cpp_hfr_120</CPPPreview> | ||
<CPPSnapshot>oxygen_imx386_cpp_hfr_120</CPPSnapshot> | ||
<CPPVideo>oxygen_imx386_cpp_hfr_120</CPPVideo> | ||
<CPPLiveshot>oxygen_imx386_cpp_hfr_120</CPPLiveshot> | ||
<A3Preview>oxygen_imx386_hfr_120_3a</A3Preview> | ||
<A3Video>oxygen_imx386_hfr_120_3a</A3Video> | ||
</ChromatixName> | ||
</ResolutionChromatixInfo> | ||
</ChromatixConfigurationRoot> |
154 changes: 154 additions & 0 deletions
154
oxygen/proprietary/vendor/etc/camera/oxygen_ov12a_ofilm_chromatix.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,154 @@ | ||
<!-- | ||
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>oxygen_ov12a_ofilm_common</ISPCommon> | ||
<PostProc>oxygen_ov12a_ofilm_postproc</PostProc> | ||
</ChromatixName> | ||
</CommonChromatixInfo> | ||
<ResolutionChromatixInfo> | ||
<ChromatixName sensor_resolution_index="0" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_snapshot</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_zsl_preview</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_zsl_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="1" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_snapshot</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_default_preview</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_default_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="2" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_snapshot_hdr</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_snapshot_hdr</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_snapshot_hdr</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_snapshot_hdr</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_snapshot_hdr</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_video_hdr</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_video_hdr</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_hdr_snapshot_3a</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_hdr_video_3a</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="3" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_snapshot</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_4K_preview</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_4K_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="4" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_snapshot</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_snapshot</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_snapshot</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_preview</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_snapshot</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_video</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_liveshot</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_default_preview</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_default_video</A3Video> | ||
</ChromatixName> | ||
<ChromatixName sensor_resolution_index="5" special_mode_mask="0"> | ||
<ISPPreview>oxygen_ov12a_ofilm_hfr_120</ISPPreview> | ||
<ISPSnapshot>oxygen_ov12a_ofilm_hfr_120</ISPSnapshot> | ||
<ISPVideo>oxygen_ov12a_ofilm_hfr_120</ISPVideo> | ||
<CPPPreview>oxygen_ov12a_ofilm_cpp_hfr_120</CPPPreview> | ||
<CPPSnapshot>oxygen_ov12a_ofilm_cpp_hfr_120</CPPSnapshot> | ||
<CPPVideo>oxygen_ov12a_ofilm_cpp_hfr_120</CPPVideo> | ||
<CPPLiveshot>oxygen_ov12a_ofilm_cpp_hfr_120</CPPLiveshot> | ||
<A3Preview>oxygen_ov12a_ofilm_hfr_120_3a</A3Preview> | ||
<A3Video>oxygen_ov12a_ofilm_hfr_120_3a</A3Video> | ||
</ChromatixName> | ||
</ResolutionChromatixInfo> | ||
</ChromatixConfigurationRoot> |
Oops, something went wrong.