diff --git a/laphone/audio/BUILD.gn b/laphone/audio/BUILD.gn deleted file mode 100644 index fd04cd7454545dd17222d300ae2e992944e8ca02..0000000000000000000000000000000000000000 --- a/laphone/audio/BUILD.gn +++ /dev/null @@ -1,27 +0,0 @@ -# Copyright (c) 2021-2022 Huawei Device Co., Ltd. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -import("//build/ohos.gni") - -ohos_prebuilt_etc("audio_policy_config") { - if (target_cpu == "arm64") { - source = - "//vendor/${product_company}/${product_name}/audio/arm64/audio_policy_config.xml" - } else { - source = "//vendor/${product_company}/${product_name}/audio/arm/audio_policy_config.xml" - } - subsystem_name = "hdf" - relative_install_dir = "audio" - install_images = [ chipset_base_dir ] - part_name = "drivers_peripheral_audio" -} diff --git a/laphone/bundle.json b/laphone/bundle.json index 303b0d36f7e226f7bfcd9f1b6e4bb8a303c45395..eb004970816aee7caf2462ebe03e8078d211d560 100644 --- a/laphone/bundle.json +++ b/laphone/bundle.json @@ -34,9 +34,61 @@ "//vendor/hys/laphone/wm_config:wm_config", "//vendor/hys/laphone/etc:product_etc_conf", "//vendor/hys/laphone/hdf_config/uhdf:hdf_config", - "//vendor/hys/laphone/modules:modules" + "//vendor/hys/laphone/hals/audio:hdf_audio_config", + "//vendor/hys/laphone/modules/video/memory/videosharememory:libvideo_share_memory", + "//vendor/hys/laphone/camera/libcaminiparser:cam-ini-parser", + "//vendor/hys/laphone/camera/common:camcommon", + "//vendor/hys/laphone/camera/common/memory:cammem", + "//vendor/hys/laphone/camera/utils/camxmlparser:camxmlparser", + "//vendor/hys/laphone/camera/utils/yuv2rgb:camv4l2yuv2rgb", + "//vendor/hys/laphone/camera/sensor/otp_parser:cam_otp_parser", + "//vendor/hys/laphone/camera/sensor/etc:sensor_etc", + "//vendor/hys/laphone/camera/sensor:camsensor", + "//vendor/hys/laphone/modules:modules", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_imx616", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_imx586", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_gc05a2", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_ov13853_m1", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_imx111", + "//vendor/hys/laphone/camera/sensor/sensor_drv:sensor_sp250a", + "//vendor/hys/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx586:tuning_imx586", + "//vendor/hys/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111:tuning_imx111", + "//vendor/hys/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx616:tuning_imx616", + "//vendor/hys/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a:tuning_sp250a", + "//vendor/hys/laphone/camera/sensor/sensor_drv:vcm_lc898229", + "//vendor/hys/laphone/camera/sensor/sensor_drv:vcm_dw9714", + "//vendor/hys/laphone/camera/sensor/sensor_drv:otp_general", + "//vendor/hys/laphone/camera/cpp:cppdrv", + "//vendor/hys/laphone/camera/pss/isp2.7/param_manager:campm_isp2.7", + "//vendor/hys/laphone/camera/pss/isp2.7/bridge:cambr_isp2.7", + "//vendor/hys/laphone/camera/pss/paramsdk:camps", + "//vendor/hys/laphone/camera/ppm:camppm", + "//vendor/hys/laphone/camera/pss/isp2.7:pss_isp2.7", + "//vendor/hys/laphone/camera/pss/pmloader/its_drv:campmloader", + "//vendor/hys/laphone/camera/oem2v6:camoem", + "//vendor/hys/laphone/camera/ispalg/isp_lib:ae3.x", + "//vendor/hys/laphone/camera/ispalg/isp_lib:af3.2_le", + "//vendor/hys/laphone/camera/ispalg/isp_lib:af3.2", + "//vendor/hys/laphone/camera/ispalg/isp_lib:aftrigger", + "//vendor/hys/laphone/camera/ispalg/isp_lib:alsc3.2", + "//vendor/hys/laphone/camera/ispalg/isp_lib:atm", + "//vendor/hys/laphone/camera/ispalg/isp_lib:awb3.2", + "//vendor/hys/laphone/camera/ispalg/isp_lib:deflicker", + "//vendor/hys/laphone/camera/ispalg/isp_lib:flash", + "//vendor/hys/laphone/camera/ispalg/isp_lib:pdalgo", + "//vendor/hys/laphone/camera/ispalg:ispalg", + "//vendor/hys/laphone/camera/ispalg/isp_lib:camAe4.0", + "//vendor/hys/laphone/camera/ispalg/isp_lib:libcamAlsc4.0", + "//vendor/hys/laphone/camera/ispalg/isp_lib:camAwb4.0", + "//vendor/hys/laphone/camera/ispalg/isp_lib:camAf4.0", + "//vendor/hys/laphone/camera/ispalg/isp_lib:camAfl4.0", + "//vendor/hys/laphone/camera/ispalg/isp_lib:camPd4.0", + "//vendor/hys/laphone/camera/npi/v4l2camera:camv4l2adapter", + "//vendor/hys/laphone/camera/npi/v4l2camera:v4l2camera", + "//vendor/hys/laphone/camera/npi/v4l2camera:dual-cam", + "//vendor/hys/laphone/hdf_config/uhdf:hdf_config" ], "test": [] } } -} \ No newline at end of file +} diff --git a/laphone/camera/Camera.mk b/laphone/camera/Camera.mk index a077a2865a4ec511ea42ea5943811f17e2fc9e93..a0e6534406c056955bf92293c36346475c301639 100644 --- a/laphone/camera/Camera.mk +++ b/laphone/camera/Camera.mk @@ -51,10 +51,10 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/npi/mtrace \ $(LOCAL_PATH) \ $(LOCAL_PATH)/hal3_multicam/multicamera \ - $(TOP)/vendor/sprd/external/kernel-headers \ - $(TOP)/vendor/sprd/external/drivers/gpu \ - $(TOP)/vendor/sprd/external/camera_opensource/pugi \ - $(TOP)/vendor/sprd/modules/enhance/include \ + $(TOP)/vendor/hys/external/kernel-headers \ + $(TOP)/vendor/hys/external/drivers/gpu \ + $(TOP)/vendor/hys/external/camera_opensource/pugi \ + $(TOP)/vendor/hys/modules/enhance/include \ $(LOCAL_PATH)/kiface/interface \ $(LOCAL_PATH)/pss/paramsdk @@ -84,8 +84,8 @@ LOCAL_C_INCLUDES += \ $(LOCAL_PATH)/arithmetic/eis/inc \ $(LOCAL_PATH)/arithmetic/sprd_warp/inc \ $(LOCAL_PATH)/arithmetic/sprd_wt/inc \ - $(TOP)/vendor/sprd/external/camera_opensource/libxmp/inc \ - $(TOP)/vendor/sprd/external/camera_opensource/libxmp/inc/client-glue \ + $(TOP)/vendor/hys/external/camera_opensource/libxmp/inc \ + $(TOP)/vendor/hys/external/camera_opensource/libxmp/inc/client-glue \ $(LOCAL_PATH)/arithmetic/sprd_portrait_scene/inc \ $(LOCAL_PATH)/arithmetic/sprd_filter/inc \ $(LOCAL_PATH)/arithmetic/sprd_camalg_assist \ @@ -97,8 +97,8 @@ LOCAL_C_INCLUDES += \ # for bbat #LOCAL_C_INCLUDES += \ -# $(TOP)/vendor/sprd/proprietories-source/engpc/sprd_fts_inc \ -# $(TOP)/vendor/sprd/proprietories-source/autotest/interface/include +# $(TOP)/vendor/hys/proprietories-source/engpc/sprd_fts_inc \ +# $(TOP)/vendor/hys/proprietories-source/autotest/interface/include ifeq ($(strip $(TARGET_CAMERA_OIS_FUNC)),true) LOCAL_C_INCLUDES += \ @@ -170,7 +170,7 @@ LOCAL_SRC_FILES := \ ifneq ($(strip $(TARGET_BOARD_SPRD_PIPELINE_VERSION)),1) ifneq ($(wildcard $(LOCAL_PATH)/$(HAL_DIR)/dispatch),) -LWP_CAMERA_INCLUDE := $(TOP)/vendor/sprd/modules/libcamera/ +LWP_CAMERA_INCLUDE := $(TOP)/vendor/hys/modules/libcamera/ LOCAL_SRC_FILES += $(HAL_DIR)/dispatch/FrameDispatch.cpp \ $(HAL_DIR)/dispatch/FrameProcesser.cpp \ $(HAL_DIR)/dispatch/FramePolicyMgr.cpp \ @@ -186,56 +186,56 @@ LOCAL_C_INCLUDES += \ $(LOCAL_PATH)/Android/$(SDK_PROJECT) \ $(LOCAL_PATH)/ips/lwp/ \ $(LOCAL_PATH)/ips/lwp/lwpsdk \ - $(TOP)/vendor/sprd/modules/libcamera/ips/lwp/framework/ \ - $(TOP)/vendor/sprd/modules/libcamera/ips/lwp/framework/buffermanager \ - $(TOP)/vendor/sprd/external/kernel-headers \ - $(TOP)/vendor/sprd/external/drivers/gpu \ - $(TOP)/vendor/sprd/external/drivers/gpu/soft/include \ - $(TOP)/vendor/sprd/modules/enhance/include \ - $(TOP)/vendor/sprd/modules/libcamera/./common/inc/ \ - $(TOP)/vendor/sprd/modules/libcamera/kiface/interface \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/common/inc \ - $(TOP)/vendor/sprd/modules/libcamera/oem2v6/inc \ - $(TOP)/vendor/sprd/modules/libcamera/hal3_2v6 \ - $(TOP)/vendor/sprd/modules/libcamera/hal3_2v6\dispatch \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/libdrepro/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/facebeauty/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprdface/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_mfsr/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/depth/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/bokeh/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/depth_bokeh/inc\ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_yuvprocess/inc\ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_scale/inc\ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_warp/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_wt/inc \ - $(TOP)/vendor/sprd/external/camera_opensource/libxmp/inc \ - $(TOP)/vendor/sprd/external/camera_opensource/libxmp/inc/client-glue \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/inc \ - $(TOP)/vendor/sprd/modules/libcamera/arithmetic/sprd_frc/inc \ - $(TOP)/vendor/sprd/modules/libcamera/sensor/inc \ - $(TOP)/vendor/sprd/modules/libcamera/sensor \ - $(TOP)/vendor/sprd/modules/libcamera/jpeg \ - $(TOP)/vendor/sprd/modules/libcamera/common/inc \ - $(TOP)/vendor/sprd/modules/libcamera/$(HAL_DIR)/dispatch/ \ - $(TOP)/vendor/sprd/modules/libcamera/hal3_multicam/multicamera \ - $(TOP)/vendor/sprd/modules/libcamera/ips/lwp/framework/utils \ + $(TOP)/vendor/hys/modules/libcamera/ips/lwp/framework/ \ + $(TOP)/vendor/hys/modules/libcamera/ips/lwp/framework/buffermanager \ + $(TOP)/vendor/hys/external/kernel-headers \ + $(TOP)/vendor/hys/external/drivers/gpu \ + $(TOP)/vendor/hys/external/drivers/gpu/soft/include \ + $(TOP)/vendor/hys/modules/enhance/include \ + $(TOP)/vendor/hys/modules/libcamera/./common/inc/ \ + $(TOP)/vendor/hys/modules/libcamera/kiface/interface \ + $(TOP)/vendor/hys/modules/libcamera/ispalg/common/inc \ + $(TOP)/vendor/hys/modules/libcamera/oem2v6/inc \ + $(TOP)/vendor/hys/modules/libcamera/hal3_2v6 \ + $(TOP)/vendor/hys/modules/libcamera/hal3_2v6\dispatch \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/libdrepro/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/facebeauty/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprdface/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_mfsr/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/depth/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/bokeh/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/depth_bokeh/inc\ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_yuvprocess/inc\ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_scale/inc\ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_warp/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_wt/inc \ + $(TOP)/vendor/hys/external/camera_opensource/libxmp/inc \ + $(TOP)/vendor/hys/external/camera_opensource/libxmp/inc/client-glue \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/inc \ + $(TOP)/vendor/hys/modules/libcamera/arithmetic/sprd_frc/inc \ + $(TOP)/vendor/hys/modules/libcamera/sensor/inc \ + $(TOP)/vendor/hys/modules/libcamera/sensor \ + $(TOP)/vendor/hys/modules/libcamera/jpeg \ + $(TOP)/vendor/hys/modules/libcamera/common/inc \ + $(TOP)/vendor/hys/modules/libcamera/$(HAL_DIR)/dispatch/ \ + $(TOP)/vendor/hys/modules/libcamera/hal3_multicam/multicamera \ + $(TOP)/vendor/hys/modules/libcamera/ips/lwp/framework/utils \ $(TOP)/hardware/interfaces/camera/common/1.0/default \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/ae/inc \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/awb/inc \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/lsc/inc \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/smart \ - $(TOP)/vendor/sprd/modules/libcamera/ispalg/af/inc \ - $(TOP)/vendor/sprd/modules/libcamera/pss/isp2.7/bridge + $(TOP)/vendor/hys/modules/libcamera/ispalg/ae/inc \ + $(TOP)/vendor/hys/modules/libcamera/ispalg/awb/inc \ + $(TOP)/vendor/hys/modules/libcamera/ispalg/lsc/inc \ + $(TOP)/vendor/hys/modules/libcamera/ispalg/smart \ + $(TOP)/vendor/hys/modules/libcamera/ispalg/af/inc \ + $(TOP)/vendor/hys/modules/libcamera/pss/isp2.7/bridge LOCAL_C_INCLUDES += \ - $(TOP)/vendor/sprd/modules/libcamera/pss/isp2.7/isp_tune \ - $(TOP)/vendor/sprd/modules/libcamera/pss/isp2.7/middleware/inc \ - $(TOP)/vendor/sprd/modules/libcamera/pss/isp2.7/driver/inc \ - $(TOP)/vendor/sprd/modules/libcamera/pss/paramsdk \ - $(TOP)/vendor/sprd/modules/libcamera/pss/isp2.7/param_manager + $(TOP)/vendor/hys/modules/libcamera/pss/isp2.7/isp_tune \ + $(TOP)/vendor/hys/modules/libcamera/pss/isp2.7/middleware/inc \ + $(TOP)/vendor/hys/modules/libcamera/pss/isp2.7/driver/inc \ + $(TOP)/vendor/hys/modules/libcamera/pss/paramsdk \ + $(TOP)/vendor/hys/modules/libcamera/pss/isp2.7/param_manager LOCAL_SHARED_LIBRARIES += liblightweightpipeline liblwpcommon libutilscallstack liblwpAdapter libcamps ifneq ($(strip $(TARGET_BOARD_CAMERA_ASAN_MEM_DETECT)),true) @@ -406,7 +406,7 @@ include $(CLEAR_VARS) include $(LOCAL_PATH)/SprdCtrl.mk LOCAL_C_INCLUDES := \ - $(TOP)/vendor/sprd/modules/libcamera/common/inc/ \ + $(TOP)/vendor/hys/modules/libcamera/common/inc/ \ $(LOCAL_PATH)/sensor/inc \ $(LOCAL_PATH)/sensor \ $(LOCAL_PATH)/jpeg \ @@ -415,8 +415,8 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/$(HAL_DIR)/inc \ $(LOCAL_PATH)/$(HAL_DIR)/ \ $(LOCAL_PATH)/npi/mtrace \ - $(TOP)/vendor/sprd/external/kernel-headers \ - $(TOP)/vendor/sprd/external/drivers/gpu \ + $(TOP)/vendor/hys/external/kernel-headers \ + $(TOP)/vendor/hys/external/drivers/gpu \ $(LOCAL_PATH)/npi/camera_tool/npi_app \ $(LOCAL_PATH)/npi/camera_tool/cpat_sdk \ $(LOCAL_PATH)/kiface/interface diff --git a/laphone/camera/arithmetic/facebeauty/product.mk b/laphone/camera/arithmetic/facebeauty/product.mk index d53f7df03bdda58dc1f05001e073c82077c1aa8d..9d2b338af47ff38aeafd0bf2b1739f722fb2f97f 100644 --- a/laphone/camera/arithmetic/facebeauty/product.mk +++ b/laphone/camera/arithmetic/facebeauty/product.mk @@ -13,9 +13,9 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/facebeauty/firmware/facebeauty_cadence.bin:vendor/firmware/facebeauty_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/facebeauty/firmware/facebeauty_cadence.bin:vendor/firmware/facebeauty_cadence.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/facebeauty/firmware/facebeauty_cadence_vq7.bin:vendor/firmware/facebeauty_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/facebeauty/firmware/facebeauty_cadence_vq7.bin:vendor/firmware/facebeauty_cadence.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/faceskinseg/product.mk b/laphone/camera/arithmetic/faceskinseg/product.mk index 90148baa6510dff50deba44f5164f9a9c87b8333..722b0b799f1b666de2f02de6d4e475736444a49c 100644 --- a/laphone/camera/arithmetic/faceskinseg/product.mk +++ b/laphone/camera/arithmetic/faceskinseg/product.mk @@ -13,11 +13,11 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_cadence.bin:vendor/firmware/faceskin_seg_cadence.bin -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_network.bin:vendor/firmware/faceskin_seg_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_cadence.bin:vendor/firmware/faceskin_seg_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_network.bin:vendor/firmware/faceskin_seg_network.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_cadence_vq7.bin:vendor/firmware/faceskin_seg_cadence.bin -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_network_vq7.bin:vendor/firmware/faceskin_seg_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_cadence_vq7.bin:vendor/firmware/faceskin_seg_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/faceskinseg/firmware/faceskin_seg_network_vq7.bin:vendor/firmware/faceskin_seg_network.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_ai_sfnr/product.mk b/laphone/camera/arithmetic/sprd_ai_sfnr/product.mk index 718b46e95c3108c1c9d1a39b29ab27885eaa37c1..876916093d30d556940fa78a96d4609605b1ce23 100644 --- a/laphone/camera/arithmetic/sprd_ai_sfnr/product.mk +++ b/laphone/camera/arithmetic/sprd_ai_sfnr/product.mk @@ -13,7 +13,7 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/sfnr_64m_id0_NNA.mbs.bin:vendor/firmware/sfnr_64m_id0_NNA.mbs.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/sfnr_48m_id0_NNA.mbs.bin:vendor/firmware/sfnr_48m_id0_NNA.mbs.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/aisfnr_tuning.txt:vendor/bin/aisfnr_tuning.txt +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/sfnr_64m_id0_NNA.mbs.bin:vendor/firmware/sfnr_64m_id0_NNA.mbs.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/sfnr_48m_id0_NNA.mbs.bin:vendor/firmware/sfnr_48m_id0_NNA.mbs.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_ai_sfnr/firmware/aisfnr_tuning.txt:vendor/bin/aisfnr_tuning.txt endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_aidepth/product.mk b/laphone/camera/arithmetic/sprd_aidepth/product.mk index e2fcc8921347ef8fc5286443e664e7046d75c5fa..d6327978bb744489cde0f4d77cf7183fa2a8cc8b 100644 --- a/laphone/camera/arithmetic/sprd_aidepth/product.mk +++ b/laphone/camera/arithmetic/sprd_aidepth/product.mk @@ -13,5 +13,5 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_aidepth/firmware/Depth_NNA_3nx.mbs.bin:vendor/firmware/Depth_NNA.mbs.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_aidepth/firmware/Depth_NNA_3nx.mbs.bin:vendor/firmware/Depth_NNA.mbs.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_face_sdk/product.mk b/laphone/camera/arithmetic/sprd_face_sdk/product.mk index 1a23b4511691bc6de3b37e3b880654023747956f..52fd27504a3b55521310a92a1838c033aee6ed3a 100644 --- a/laphone/camera/arithmetic/sprd_face_sdk/product.mk +++ b/laphone/camera/arithmetic/sprd_face_sdk/product.mk @@ -12,13 +12,13 @@ # See the Unisoc General Software License, version 1.0 for more details. # -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/FD_tunning_param.xml:vendor/etc/FD_tunning_param.xml +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/FD_tunning_param.xml:vendor/etc/FD_tunning_param.xml ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_cadence.bin:vendor/firmware/face_analyze_cadence.bin -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_network.bin:vendor/firmware/face_analyze_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_cadence.bin:vendor/firmware/face_analyze_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_network.bin:vendor/firmware/face_analyze_network.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_cadence_v7.bin:vendor/firmware/face_analyze_cadence.bin -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_network_v7.bin:vendor/firmware/face_analyze_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_cadence_v7.bin:vendor/firmware/face_analyze_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/firmware/face_analyze_network_v7.bin:vendor/firmware/face_analyze_network.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_fdr/product.mk b/laphone/camera/arithmetic/sprd_fdr/product.mk index 09c266c924355e8adf20c4aa673e471c1cd5e966..79102a83aa190a7dc9a8c84be5f2f7f4fd782dee 100644 --- a/laphone/camera/arithmetic/sprd_fdr/product.mk +++ b/laphone/camera/arithmetic/sprd_fdr/product.mk @@ -13,9 +13,9 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_fdr/firmware/fdr_cadence.bin:vendor/firmware/fdr_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_fdr/firmware/fdr_cadence.bin:vendor/firmware/fdr_cadence.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_fdr/firmware/fdr_cadence_vq7.bin:vendor/firmware/fdr_cadence.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_fdr/firmware/fdr_cadence_vq7.bin:vendor/firmware/fdr_cadence.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_portrait_scene/product.mk b/laphone/camera/arithmetic/sprd_portrait_scene/product.mk index a1548cfe532a2544c718cea42bc76398a78afd01..aceedafc40c2f0c802372edfe967af7aef183441 100644 --- a/laphone/camera/arithmetic/sprd_portrait_scene/product.mk +++ b/laphone/camera/arithmetic/sprd_portrait_scene/product.mk @@ -13,23 +13,23 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512 ums9620), ) -COM_IMG_PATH := vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/image/common +COM_IMG_PATH := vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/image/common img_files := $(shell ls $(COM_IMG_PATH)) PRODUCT_COPY_FILES += $(foreach file, $(img_files), \ $(COM_IMG_PATH)/$(file):vendor/etc/aiimg/common/$(file)) -COM_IMG_PATH := vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/image/front +COM_IMG_PATH := vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/image/front img_files := $(shell ls $(COM_IMG_PATH)) PRODUCT_COPY_FILES += $(foreach file, $(img_files), \ $(COM_IMG_PATH)/$(file):vendor/etc/aiimg/front/$(file)) endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_cadence.bin:vendor/firmware/portraitseg_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_network.bin:vendor/firmware/portraitseg_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_cadence.bin:vendor/firmware/portraitseg_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_network.bin:vendor/firmware/portraitseg_network.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_cadence_vq7.bin:vendor/firmware/portraitseg_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_network_vq7.bin:vendor/firmware/portraitseg_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_cadence_vq7.bin:vendor/firmware/portraitseg_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/firmware/portraitseg_network_vq7.bin:vendor/firmware/portraitseg_network.bin endif \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_portrait_seg/product.mk b/laphone/camera/arithmetic/sprd_portrait_seg/product.mk index 3f49ce8c6be524f6c8b40edd5d2f195f3e06729f..5d918d0127019bea8386ad59dc8c9a82d3480648 100644 --- a/laphone/camera/arithmetic/sprd_portrait_seg/product.mk +++ b/laphone/camera/arithmetic/sprd_portrait_seg/product.mk @@ -13,26 +13,26 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_cadence.bin:vendor/firmware/PortraitSegHP_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_network.bin:vendor/firmware/PortraitSegHP_network.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_cadence.bin:vendor/firmware/PortraitSegLP_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_network.bin:vendor/firmware/PortraitSegLP_network.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_cadence.bin:vendor/firmware/PortraitSegHP_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_network.bin:vendor/firmware/PortraitSegHP_network.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_cadence.bin:vendor/firmware/PortraitSegLP_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_network.bin:vendor/firmware/PortraitSegLP_network.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_cadence_vq7.bin:vendor/firmware/PortraitSegHP_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_network_vq7.bin:vendor/firmware/PortraitSegHP_network.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_cadence_vq7.bin:vendor/firmware/PortraitSegLP_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_network_vq7.bin:vendor/firmware/PortraitSegLP_network.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_NNA.mbs.bin:vendor/firmware/PortraitSegHP_NNA.mbs.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_cadence_vq7.bin:vendor/firmware/PortraitSegHP_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_network_vq7.bin:vendor/firmware/PortraitSegHP_network.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_cadence_vq7.bin:vendor/firmware/PortraitSegLP_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP_network_vq7.bin:vendor/firmware/PortraitSegLP_network.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP_NNA.mbs.bin:vendor/firmware/PortraitSegHP_NNA.mbs.bin endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9621), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/SegHP.tempcache:vendor/firmware/SegHP.tempcache \ - vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/SegLP.tempcache:vendor/firmware/SegLP.tempcache +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/SegHP.tempcache:vendor/firmware/SegHP.tempcache \ + vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/SegLP.tempcache:vendor/firmware/SegLP.tempcache endif -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP.mnn:vendor/firmware/PortraitSegHP.mnn -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP.mnn:vendor/firmware/PortraitSegLP.mnn +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegHP.mnn:vendor/firmware/PortraitSegHP.mnn +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/firmware/PortraitSegLP.mnn:vendor/firmware/PortraitSegLP.mnn diff --git a/laphone/camera/arithmetic/sprd_raw_mfnr/product.mk b/laphone/camera/arithmetic/sprd_raw_mfnr/product.mk index 94e8dafb653dee0bb84c9923b923119f38e77799..44014762233e7c37824de2b7d80f2f47a6f3ef14 100644 --- a/laphone/camera/arithmetic/sprd_raw_mfnr/product.mk +++ b/laphone/camera/arithmetic/sprd_raw_mfnr/product.mk @@ -14,11 +14,11 @@ #raw_ai_mfnr ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/mod/raw_mfnr_n6pro_sensor_48M_day_NNA.mbs.bin:vendor/firmware/raw_mfnr_n6pro_sensor_48M_day_NNA.mbs.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/mod/raw_mfnr_n6pro_sensor_48M_night_NNA.mbs.bin:vendor/firmware/raw_mfnr_n6pro_sensor_48M_night_NNA.mbs.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/platform_info/raw_ai_mfnr_platform_info_n6pro_48M.txt:vendor/etc/raw_mfnr/raw_ai_mfnr/raw_ai_mfnr_platform_info_n6pro_48M.txt \ - vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_ai_mfnr/ai_mfnr_tuning.txt:vendor/etc/raw_mfnr/raw_ai_mfnr/ai_mfnr_tuning.txt +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/mod/raw_mfnr_n6pro_sensor_48M_day_NNA.mbs.bin:vendor/firmware/raw_mfnr_n6pro_sensor_48M_day_NNA.mbs.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/mod/raw_mfnr_n6pro_sensor_48M_night_NNA.mbs.bin:vendor/firmware/raw_mfnr_n6pro_sensor_48M_night_NNA.mbs.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/platform_info/raw_ai_mfnr_platform_info_n6pro_48M.txt:vendor/etc/raw_mfnr/raw_ai_mfnr/raw_ai_mfnr_platform_info_n6pro_48M.txt \ + vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_ai_mfnr/ai_mfnr_tuning.txt:vendor/etc/raw_mfnr/raw_ai_mfnr/ai_mfnr_tuning.txt endif #raw_mfnr -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_mfnr/raw_mfnr_tuning.txt:vendor/etc/raw_mfnr/raw_mfnr/raw_mfnr_tuning.txt \ - vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_mfnr/const_file.txt:vendor/etc/raw_mfnr/raw_mfnr/const_file.txt \ No newline at end of file +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_mfnr/raw_mfnr_tuning.txt:vendor/etc/raw_mfnr/raw_mfnr/raw_mfnr_tuning.txt \ + vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/tuning_param/raw_mfnr/const_file.txt:vendor/etc/raw_mfnr/raw_mfnr/const_file.txt \ No newline at end of file diff --git a/laphone/camera/arithmetic/sprd_video_hdr/product.mk b/laphone/camera/arithmetic/sprd_video_hdr/product.mk index 199d428bcf288bb8b2a265b5f0e1972504b8bf10..f72b38c4dbfa7fdaaa3394258678fbbce4bd4154 100644 --- a/laphone/camera/arithmetic/sprd_video_hdr/product.mk +++ b/laphone/camera/arithmetic/sprd_video_hdr/product.mk @@ -13,5 +13,5 @@ # ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_video_hdr/firmware/hdrnet_NNA.mbs.bin:vendor/firmware/hdrnet_NNA.mbs.bin +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_video_hdr/firmware/hdrnet_NNA.mbs.bin:vendor/firmware/hdrnet_NNA.mbs.bin endif \ No newline at end of file diff --git a/laphone/camera/common/BUILD.gn b/laphone/camera/common/BUILD.gn index 08a7590fb356c051d19082a5158f11fabc42aa46..0db0d78a4c3e2cf9f58a2f4fb52a3d4b25ad1e91 100644 --- a/laphone/camera/common/BUILD.gn +++ b/laphone/camera/common/BUILD.gn @@ -2,58 +2,11 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("camcommon") { - - output_name = "camcommon" - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wtautological-constant-out-of-range-compare", - ] - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-variable", - "-Wno-pointer-to-int-cast", - ] - - include_dirs = [ - "inc", - "ispalg-common-inc", - "//vendor/$product_company/$product_name/camera/libcaminiparser", - "../ispalg/common/inc", - ] - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "src/cmr_log.c", - "src/cmr_msg.c", - "src/cjson.c" - ] - deps = [ "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser" ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - # part_name = "product_laphone" - # subsystem_name = "product_laphone" - # install_enable = true - # install_images = [ "chipset_base_dir" ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true - -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("camcommon") { + source = "lib/libcamcommon.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/common/lib/libcamcommon.z.so b/laphone/camera/common/lib/libcamcommon.z.so new file mode 100755 index 0000000000000000000000000000000000000000..48f96c4a2c7daa3ba9b753fc2ee32c3e73192b43 Binary files /dev/null and b/laphone/camera/common/lib/libcamcommon.z.so differ diff --git a/laphone/camera/common/memory/BUILD.gn b/laphone/camera/common/memory/BUILD.gn index fab7f5ece0c588c9e2e685703b92c932f81ea97e..dd630728ffef529a37923ef5d4af25fc5238d4fd 100644 --- a/laphone/camera/common/memory/BUILD.gn +++ b/laphone/camera/common/memory/BUILD.gn @@ -2,65 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("cammem") { - - output_name = "cammem" - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wtautological-constant-out-of-range-compare", - "-Wno-inconsistent-missing-override", - ] - defines = [ "KERNEL_5_15" ] - include_dirs = [ - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/kernel-headers", - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/drivers/gpu/natt/include", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libdmabufheap/include/", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libion/kernel-headers/", - "inc", - "ispalg-common-inc", - "//vendor/$product_company/$product_name/camera/libcaminiparser", - "../ispalg/common/inc", - "./../../common/inc", - "./../../kiface/interface/", - "./../../../modules/kernel-headers/", - ] - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "MemObject.cpp", - "MemIon.cpp", - "MemDmabuf.cpp", - "sprd_camera_memory_api.cpp", - ] - deps = [ - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libdmabufheap:libaosp_dmabufheap", - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libion:libion", - - ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - # part_name = "product_laphone" - # subsystem_name = "product_laphone" - # install_enable = true - # install_images = [ "chipset_base_dir" ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true - -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("cammem") { + source = "lib/libcammem.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } - diff --git a/laphone/camera/common/memory/lib/libcammem.z.so b/laphone/camera/common/memory/lib/libcammem.z.so new file mode 100755 index 0000000000000000000000000000000000000000..fc712c73b2682df3b90e2d975fe601c54e49a026 Binary files /dev/null and b/laphone/camera/common/memory/lib/libcammem.z.so differ diff --git a/laphone/camera/cpp/BUILD.gn b/laphone/camera/cpp/BUILD.gn index 0bce9f0c07db9a78cc71f9eac8aa71630a2e1414..04d2ddc85a5af1c402c8db1dede78a2ebf46bc1b 100644 --- a/laphone/camera/cpp/BUILD.gn +++ b/laphone/camera/cpp/BUILD.gn @@ -2,47 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("cppdrv") { - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - ] - - include_dirs = [ - "../kiface/interface", - "../common/inc", - "../$OEM_DIR/inc", - "../$ISPALG_DIR/common/inc", - "../$ISPDRV_DIR/middleware/inc", - "../$ISPDRV_DIR/driver/inc", - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/driver/inc", - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/algo/inc", - "../libcaminiparser", - ] - - sources = [ - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/driver/src/cpp_u_dev.c", - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/driver/src/cpp_u_slice.c", - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/algo/src/core_yuvscaler_drv.c", - "./$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/algo/src/slice_drv.c", - ] - external_deps = [ - "hilog:libhilog" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("cppdrv") { + source = "lib/$TARGET_BOARD_CAMERA_CPP_MODULAR_KERNEL/libcppdrv.z.so" + install_enable = true + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" } diff --git a/laphone/camera/cpp/lib/lite_r5p0/libcppdrv.z.so b/laphone/camera/cpp/lib/lite_r5p0/libcppdrv.z.so new file mode 100755 index 0000000000000000000000000000000000000000..1808c189ac204f45ab3a07eb25ad9426b4c19866 Binary files /dev/null and b/laphone/camera/cpp/lib/lite_r5p0/libcppdrv.z.so differ diff --git a/laphone/camera/cpp/lib/lite_r6p0/libcppdrv.z.so b/laphone/camera/cpp/lib/lite_r6p0/libcppdrv.z.so new file mode 100755 index 0000000000000000000000000000000000000000..1808c189ac204f45ab3a07eb25ad9426b4c19866 Binary files /dev/null and b/laphone/camera/cpp/lib/lite_r6p0/libcppdrv.z.so differ diff --git a/laphone/camera/ips/3rdpool/product.mk b/laphone/camera/ips/3rdpool/product.mk index 9fdf813f64e27c078554442b883e9888b9ccd89c..a2a1b51a2a5c23a2a0f611ffbf72d07b108d026b 100644 --- a/laphone/camera/ips/3rdpool/product.mk +++ b/laphone/camera/ips/3rdpool/product.mk @@ -13,6 +13,6 @@ # #third tuning sample -SAMPLE_SRC_TUNING_PATH := vendor/sprd/modules/libcamera/ips/3rdpool/samplenode/tuning +SAMPLE_SRC_TUNING_PATH := vendor/hys/modules/libcamera/ips/3rdpool/samplenode/tuning SAMPLE_DST_TUNING_PATH := odm/etc/camera/3rdpool/samplenode/tuning PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(SAMPLE_SRC_TUNING_PATH),$(SAMPLE_DST_TUNING_PATH)) diff --git a/laphone/camera/ispalg/BUILD.gn b/laphone/camera/ispalg/BUILD.gn index 4fda565641ef99c606878be54d6b2b2e4ac24ebe..505e6f5da5284a6b422b07fabba7f1b0973ba246 100644 --- a/laphone/camera/ispalg/BUILD.gn +++ b/laphone/camera/ispalg/BUILD.gn @@ -2,134 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("ispalg") { - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-variable" - ] - if (target_cpu == "arm") { - defines = [ "__ARM32__" ] - } else { - defines = [ "__ARM64__" ] - } - defines += [ - "CAMERA_DATA_FILE=\"/data/vendor/cameraserver\"", - "CONFIG_LINUX_LIKE", - ] - - include_dirs = [ - "./../kiface/interface/", - "./../common/inc", - "./../$OEM_DIR/inc", - "./../jpeg", - "./../vsp/inc", - "./../tool/mtrace", - "./../utils/camxmlparser/inc/libxml2/", - "./../libcaminiparser", - "./../$ISPDRV_DIR/middleware/inc", - "./../$ISPDRV_DIR/isp_tune", - "./../$ISPDRV_DIR/driver/inc", - "./../$ISPDRV_DIR/param_manager", - "./../$ISPDRV_DIR/bridge", - "./ae/inc", - "./ae/sprd/ae3.x/ae/inc", - "./ae/sprd/ae4.x/ae/inc", - "./ae/sprd/ae3.x", - "./ae/sprd/ae4.x", - "./ae/sprd/ae2.x/flash/inc", - "./ae/sprd/ae3.x/flash/inc", - "./ae/sprd/ae3.x/hdr/inc", - "./ae/sprd/ae3.x/inc", - "./ae/sprd/ae4.x/adpt/inc", - "./atm/sprd/inc", - "./awb/inc", - "./gtm/inc", - "./awb/alc_awb/inc", - "./awb/sprd/awb4.0/inc", - "./awb/sprd/awb3.0/inc", - "./awb/sprd/awb3.2/inc", - "./af/inc", - "./af/sprd/af3.x/inc", - "./af/sprd/af4.x/inc", - "./af/sft_af/inc", - "./af/alc_af/inc", - "./lsc/inc", - "./lsc/sprd/alsc3_0/inc", - "./lsc/sprd/alsc2_1/inc", - "./lsc/sprd/alsc4_0/inc", - "./common/inc", - "./afl/inc", - "./smart", - "./tof", - "./../sensor/inc", - "./../../property/lib/include", - "./../pss/paramsdk/", - "./../ppm/", - "./ai/inc/", - "./ai/sprd/inc", - "./xtm/inc/", - "./xtm/sprd/xtm1_0/inc", - "./ae/sprd/ae4.x/algo/ae/inc/", - "./cap_offline/inc/", - ] - - sources = [ - "ae/ae_ctrl.c", - "ae/sensor_exposure_queue.c", - "ae/sprd/ae3.x/ae_sprd_adpt.c", - "ae/sprd/ae3.x/ae_sprd_flash_calibration.c", - "ae/sprd/ae4.x/adpt/src/ae_sprd_adpt_v4.c", - "ae/sprd/ae4.x/adpt/src/ae_exp_gain_param_adjust.c", - "ae/sprd/ae4.x/adpt/src/ae_sprd_flash_calibration_v4.c", - "af/af_ctrl.c", - "af/sprd/af3.x/af_sprd_adpt_v1.c", - "af/sprd/af4.x/af_sprd_adpt_v2.c", - "afl/afl_ctrl.c", - "awb/awb_ctrl.c", - "awb/sprd/awb3.0/awb_sprd_adpt.c", - "awb/sprd/awb3.2/awb_sprd_adpt.c", - "awb/sprd/awb4.0/awb_sprd_adpt.c", - "cap_offline/src/3a_cap_offline.c", - "common/src/isp_adpt.c", - "gtm/gtm_ctrl.c", - "lsc/lsc_ctrl.c", - "lsc/table_transform.c", - "lsc/sprd/alsc3_0/lsc_sprd_adapt_v1.c", - "lsc/sprd/alsc4_0/lsc_sprd_adapt_v2.c", - "smart/debug_file.c", - "smart/smart_ctrl.c", - "tof/tof_ctrl.c", - "xtm/xtm_ctrl.c", - "xtm/sprd/xtm1_0/xtm_sprd_adapt_v1.c" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/ppm:camppm", - "//vendor/$product_company/$product_name/camera/pss/paramsdk:camps", - "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:deflicker", - "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:ae3.x", - "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:flash", - "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:atm", - ] - - external_deps = [ - "hilog:libhilog" - ] - - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_prefix_override = true -# output_extension = "so" +ohos_prebuilt_shared_library("ispalg") { + source = "lib/libispalg.z.so" + install_enable = true + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" } diff --git a/laphone/camera/ispalg/isp_lib/BUILD.gn b/laphone/camera/ispalg/isp_lib/BUILD.gn index 392bc583e51655ea4f611267702498bc73b77148..414e6750cde818560ccdf0dabcc10c2dff54f46e 100644 --- a/laphone/camera/ispalg/isp_lib/BUILD.gn +++ b/laphone/camera/ispalg/isp_lib/BUILD.gn @@ -14,6 +14,19 @@ ohos_prebuilt_shared_library("ae3.x") { } +ohos_prebuilt_shared_library("camAe4.0") { + if (target_cpu == "arm") { + source = "./libs/32/oh_libae4.x_release/libcamAe4.0.z.so" + } else { + source = "./libs/64/libcamAe4.0.z.so" + } + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_sprd" + install_enable = true + +} + ohos_prebuilt_shared_library("af3.2_le") { if (target_cpu == "arm") { source = "./libs/32/libaf3.2_le.z.so" @@ -38,6 +51,30 @@ ohos_prebuilt_shared_library("af3.2") { install_enable = true } +ohos_prebuilt_shared_library("camAf4.0") { + if (target_cpu == "arm") { + source = "./libs/32/libcamAf4.0.z.so" + } else { + source = "./libs/64/libcamAf4.0.z.so" + } + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_shared_library("camAfl4.0") { + if (target_cpu == "arm") { + source = "./libs/32/libcamAfl4.0.z.so" + } else { + source = "./libs/64/libcamAfl4.0.z.so" + } + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + ohos_prebuilt_shared_library("aftrigger") { if (target_cpu == "arm") { source = "./libs/32/libaftrigger.z.so" @@ -62,6 +99,18 @@ ohos_prebuilt_shared_library("alsc3.2") { install_enable = true } +ohos_prebuilt_shared_library("libcamAlsc4.0") { + if (target_cpu == "arm") { + source = "./libs/32/oh_libalsc4.0/libcamAlsc4.0.z.so" + } else { + source = "./libs/64/libcamAlsc4.0.z.so" + } + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + ohos_prebuilt_shared_library("atm") { if (target_cpu == "arm") { source = "./libs/32/oh_libatm_release/libatm.z.so" @@ -86,6 +135,18 @@ ohos_prebuilt_shared_library("awb3.2") { install_enable = true } +ohos_prebuilt_shared_library("camAwb4.0") { + if (target_cpu == "arm") { + source = "./libs/32/oh_libawb4.0/libcamAwb4.0.z.so" + } else { + source = "./libs/64/libcamAwb4.0.z.so" + } + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + ohos_prebuilt_shared_library("deflicker") { if (target_cpu == "arm") { source = "./libs/32/oh_libdeflicker_release/libdeflicker.z.so" @@ -123,3 +184,16 @@ ohos_prebuilt_shared_library("pdalgo") { install_enable = true } +ohos_prebuilt_shared_library("camPd4.0") { + if (target_cpu == "arm") { + source = "./libs/32/libcamPd4.0.z.so" + } else { + source = "./libs/64/libcamPd4.0.z.so" + } + + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + diff --git a/laphone/camera/ispalg/isp_lib/libs/32/libcamAf4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/libcamAf4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..1f054ce73bfe625daa2ce0c2ce5c1e3a29f341ed Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/libcamAf4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/32/libcamAfl4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/libcamAfl4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..3d72c2572707182947c03bdacf47ee874db00882 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/libcamAfl4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/32/libcamPd4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/libcamPd4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..83f848924290d15dce986147d4cdd8d118b5e765 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/libcamPd4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/32/oh_libae4.x_release/libcamAe4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/oh_libae4.x_release/libcamAe4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..7544539bb5cb49547428ecc52b635d0c1e199443 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/oh_libae4.x_release/libcamAe4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/32/oh_libalsc4.0/libcamAlsc4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/oh_libalsc4.0/libcamAlsc4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..071da8934ed9636c3207bfae71011444e963ba87 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/oh_libalsc4.0/libcamAlsc4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/32/oh_libawb4.0/libcamAwb4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/32/oh_libawb4.0/libcamAwb4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..f28a4f8dcf0d107bbcdfc422c03a8fdaf6d26996 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/32/oh_libawb4.0/libcamAwb4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamAe4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamAe4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..9cde1328da474a976fb15e0d106698ee33195108 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamAe4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamAf4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamAf4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..49ac64b334c98de8bd744febe8b8c9e59189c993 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamAf4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamAfl4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamAfl4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..ccd835cf2a5970144a13fd2d55b121ab795ae21a Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamAfl4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamAlsc4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamAlsc4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..d0cfc531a0bd66f56c9530faaf86e500c95bdc07 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamAlsc4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamAwb4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamAwb4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..02f5470fc552171e11c411b0352323d5b91aa034 Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamAwb4.0.z.so differ diff --git a/laphone/camera/ispalg/isp_lib/libs/64/libcamPd4.0.z.so b/laphone/camera/ispalg/isp_lib/libs/64/libcamPd4.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..ffc226e0de81ca35a99144f4f1d7e7a01530497b Binary files /dev/null and b/laphone/camera/ispalg/isp_lib/libs/64/libcamPd4.0.z.so differ diff --git a/laphone/camera/ispalg/lib/libispalg.z.so b/laphone/camera/ispalg/lib/libispalg.z.so new file mode 100755 index 0000000000000000000000000000000000000000..3829c71a0d250a78ee83e386237eb82f3effa4c4 Binary files /dev/null and b/laphone/camera/ispalg/lib/libispalg.z.so differ diff --git a/laphone/camera/iss/cds_common/cds_gpu2/sprd_gpu.mk b/laphone/camera/iss/cds_common/cds_gpu2/sprd_gpu.mk index 24ed27cbd6f218d6ae031e179c94bdac87c63edb..6e327058eb390dc35d909c906605e6787f7ace41 100644 --- a/laphone/camera/iss/cds_common/cds_gpu2/sprd_gpu.mk +++ b/laphone/camera/iss/cds_common/cds_gpu2/sprd_gpu.mk @@ -23,9 +23,9 @@ LOCAL_C_INCLUDES :=\ $(LOCAL_PATH)/inc \ $(LOCAL_PATH)/../../cds_common/cds_types \ $(LOCAL_PATH)/../../cds_common/cds_typeID \ - $(TOP)/vendor/sprd/external/drivers/gpu \ - $(TOP)/vendor/sprd/modules/libmemion \ - $(TOP)/vendor/sprd/modules/libcamera/common/inc \ + $(TOP)/vendor/hys/external/drivers/gpu \ + $(TOP)/vendor/hys/modules/libmemion \ + $(TOP)/vendor/hys/modules/libcamera/common/inc \ $(LOCAL_PATH)/../../cds_common/cds_log \ $(LOCAL_PATH)/../../cds_common/cds_register/inc \ $(LOCAL_PATH)/../otp_interface/inc/ \ diff --git a/laphone/camera/iss/cds_interface/mfnr4_interface/sprd_mfnr.mk b/laphone/camera/iss/cds_interface/mfnr4_interface/sprd_mfnr.mk index 2690879b85c6b8521348d1ea5c19c3c3444fce9c..55d74fe32140927c484bcd9216b754e7a5e240ac 100644 --- a/laphone/camera/iss/cds_interface/mfnr4_interface/sprd_mfnr.mk +++ b/laphone/camera/iss/cds_interface/mfnr4_interface/sprd_mfnr.mk @@ -46,8 +46,8 @@ LOCAL_C_INCLUDES := \ $(LOCAL_PATH)/../../../$(ISPDRV_DIR)/bridge/ \ $(LOCAL_PATH)/../../../arithmetic/libmfnr/inc/ \ $(LOCAL_PATH)/../../../arithmetic/inc/ \ - $(TOP)/vendor/sprd/external/drivers/gpu \ - $(TOP)/vendor/sprd/external/kernel-headers \ + $(TOP)/vendor/hys/external/drivers/gpu \ + $(TOP)/vendor/hys/external/kernel-headers \ diff --git a/laphone/camera/iss2.0/PipelineLinkage/product.mk b/laphone/camera/iss2.0/PipelineLinkage/product.mk index eaf5082dc1dafefb97894014657212000bbca7ce..05195002bb0446c4548fda56078da7056506eda8 100644 --- a/laphone/camera/iss2.0/PipelineLinkage/product.mk +++ b/laphone/camera/iss2.0/PipelineLinkage/product.mk @@ -13,6 +13,6 @@ # #pipelinelinkage -SAMPLE_SRC_TUNING_PATH := vendor/sprd/modules/libcamera/iss2.0/PipelineLinkage/$(TARGET_BOARD_PLATFORM) +SAMPLE_SRC_TUNING_PATH := vendor/hys/modules/libcamera/iss2.0/PipelineLinkage/$(TARGET_BOARD_PLATFORM) SAMPLE_DST_TUNING_PATH := odm/etc/isppipeline PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,$(SAMPLE_SRC_TUNING_PATH),$(SAMPLE_DST_TUNING_PATH)) \ No newline at end of file diff --git a/laphone/camera/libcam_device.mk b/laphone/camera/libcam_device.mk index be5b08e090fb9f23ce7a8f52004e66bb72fb3514..0a75b0e5f3aa0398c34a37b2cc8152404ca3faf3 100644 --- a/laphone/camera/libcam_device.mk +++ b/laphone/camera/libcam_device.mk @@ -33,80 +33,80 @@ SPRD_LIB += libunnengine PRODUCT_PACKAGES += $(SPRD_LIB) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_easy_hdr/param/sprd_hdr_tuning.param:vendor/etc/sprd_hdr_tuning.param -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_gesture/firmware/gesture.mnn:vendor/firmware/gesture.mnn +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_easy_hdr/param/sprd_hdr_tuning.param:vendor/etc/sprd_hdr_tuning.param +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_gesture/firmware/gesture.mnn:vendor/firmware/gesture.mnn ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9230), ) -PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/Sony/imx586,vendor/firmware/imx586) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/Sony/imx616,vendor/firmware/imx616) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/Sony/imx363_back_main,vendor/firmware/imx363_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/Samsung/s5kgw1sp03,vendor/firmware/s5kgw1sp03) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/OmniVision/ov08a10,vendor/firmware/ov08a10) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/Samsung/s5kjn1,vendor/firmware/s5kjn1) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirl6/OmniVision/ov8856_back,vendor/firmware/ov8856_back) +PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/Sony/imx586,vendor/firmware/imx586) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/Sony/imx616,vendor/firmware/imx616) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/Sony/imx363_back_main,vendor/firmware/imx363_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/Samsung/s5kgw1sp03,vendor/firmware/s5kgw1sp03) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/OmniVision/ov08a10,vendor/firmware/ov08a10) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/Samsung/s5kjn1,vendor/firmware/s5kjn1) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirl6/OmniVision/ov8856_back,vendor/firmware/ov8856_back) endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9620), ) -PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/Sony/imx586_replace_back_main,vendor/firmware/imx586_replace_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/Sony/imx616_front_main,vendor/firmware/imx616_front_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov08a10_back_tele,vendor/firmware/ov08a10_back_tele) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov8856_back_ultrawide,vendor/firmware/ov8856_back_ultrawide) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/Samsung/s5kgw1sp03_back_main,vendor/firmware/s5kgw1sp03_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov08a10_back_sunny,vendor/firmware/ov08a10_back_sunny) +PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/Sony/imx586_replace_back_main,vendor/firmware/imx586_replace_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/Sony/imx616_front_main,vendor/firmware/imx616_front_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov08a10_back_tele,vendor/firmware/ov08a10_back_tele) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov8856_back_ultrawide,vendor/firmware/ov8856_back_ultrawide) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/Samsung/s5kgw1sp03_back_main,vendor/firmware/s5kgw1sp03_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6pro/OmniVision/ov08a10_back_sunny,vendor/firmware/ov08a10_back_sunny) endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums9621), ) -PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/Sony/imx586_replace_back_main,vendor/firmware/imx586_replace_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/Sony/imx616_front_main,vendor/firmware/imx616_front_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov08a10_back_tele,vendor/firmware/ov08a10_back_tele) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov8856_back_ultrawide,vendor/firmware/ov8856_back_ultrawide) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/Samsung/s5kgw1sp03_back_main,vendor/firmware/s5kgw1sp03_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov08a10_back_sunny,vendor/firmware/ov08a10_back_sunny) +PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/Sony/imx586_replace_back_main,vendor/firmware/imx586_replace_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/Sony/imx616_front_main,vendor/firmware/imx616_front_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov08a10_back_tele,vendor/firmware/ov08a10_back_tele) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov8856_back_ultrawide,vendor/firmware/ov8856_back_ultrawide) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/Samsung/s5kgw1sp03_back_main,vendor/firmware/s5kgw1sp03_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/qogirn6l/OmniVision/ov08a10_back_sunny,vendor/firmware/ov08a10_back_sunny) endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), sp9863a), ) -PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/Sony/imx351,vendor/firmware/imx351) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_shine_front,vendor/firmware/ov8856_shine_front) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_shine_back,vendor/firmware/ov8856_shine_back) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/Galaxycore/gc08a3,vendor/firmware/gc08a3) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/Galaxycore/gc5035,vendor/firmware/gc5035) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov5675_dual,vendor/firmware/ov5675_dual) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov5675,vendor/firmware/ov5675) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_front_ts,vendor/firmware/ov8856_front_ts) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_back_ts,vendor/firmware/ov8856_back_ts) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/Samsung/s5k3p9sx04,vendor/firmware/s5k3p9sx04)\ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl3/Samsung/s5k3p9sx04_ts,vendor/firmware/s5k3p9sx04_ts) +PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/Sony/imx351,vendor/firmware/imx351) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_shine_front,vendor/firmware/ov8856_shine_front) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_shine_back,vendor/firmware/ov8856_shine_back) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/Galaxycore/gc08a3,vendor/firmware/gc08a3) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/Galaxycore/gc5035,vendor/firmware/gc5035) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov5675_dual,vendor/firmware/ov5675_dual) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov5675,vendor/firmware/ov5675) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_front_ts,vendor/firmware/ov8856_front_ts) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/OmniVision/ov8856_back_ts,vendor/firmware/ov8856_back_ts) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/Samsung/s5k3p9sx04,vendor/firmware/s5k3p9sx04)\ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl3/Samsung/s5k3p9sx04_ts,vendor/firmware/s5k3p9sx04_ts) endif -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/facebeauty/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/faceskinseg/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_fdr/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_scene/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_face_analyze/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_face_sdk/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_ai_sfnr/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_aidepth/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_raw_mfnr/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_portrait_seg/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/ips/3rdpool/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/iss2.0/PipelineLinkage/product.mk) -$(call inherit-product-if-exists, vendor/sprd/modules/libcamera/arithmetic/sprd_video_hdr/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/facebeauty/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/faceskinseg/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_fdr/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_portrait_scene/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_face_analyze/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_face_sdk/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_ai_sfnr/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_aidepth/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_raw_mfnr/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_portrait_seg/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/ips/3rdpool/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/iss2.0/PipelineLinkage/product.mk) +$(call inherit-product-if-exists, vendor/hys/modules/libcamera/arithmetic/sprd_video_hdr/product.mk) ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums512), ) -PRODUCT_COPY_FILES += vendor/sprd/modules/libcamera/arithmetic/sprd_easy_hdr/firmware/hdr_cadence.bin:vendor/firmware/hdr_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/sprd_warp/firmware/warp_cadence.bin:vendor/firmware/warp_cadence.bin \ - vendor/sprd/modules/libcamera/arithmetic/libmfnr/firmware/mfnr_cadence.bin:vendor/firmware/mfnr_cadence.bin \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov32a1q_back_main,vendor/firmware/ov32a1q_back_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5pro/Samsung/s5ks3p92_front_main,vendor/firmware/s5ks3p92_front_main) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov16885_normal,vendor/firmware/ov16885_normal) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov8856_shine,vendor/firmware/ov8856_shine) +PRODUCT_COPY_FILES += vendor/hys/modules/libcamera/arithmetic/sprd_easy_hdr/firmware/hdr_cadence.bin:vendor/firmware/hdr_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/sprd_warp/firmware/warp_cadence.bin:vendor/firmware/warp_cadence.bin \ + vendor/hys/modules/libcamera/arithmetic/libmfnr/firmware/mfnr_cadence.bin:vendor/firmware/mfnr_cadence.bin \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov32a1q_back_main,vendor/firmware/ov32a1q_back_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5pro/Samsung/s5ks3p92_front_main,vendor/firmware/s5ks3p92_front_main) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov16885_normal,vendor/firmware/ov16885_normal) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5pro/OmniVision/ov8856_shine,vendor/firmware/ov8856_shine) endif ifneq ($(filter $(TARGET_BOARD_PLATFORM), ums312), ) -PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov12a10,vendor/firmware/ov12a10) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov5675_dual,vendor/firmware/ov5675_dual) \ - $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov8856_shine,vendor/firmware/ov8856_shine) +PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov12a10,vendor/firmware/ov12a10) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov5675_dual,vendor/firmware/ov5675_dual) \ + $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/sensor/its_param/sharkl5/OmniVision/ov8856_shine,vendor/firmware/ov8856_shine) endif @@ -119,7 +119,7 @@ IS_PRODUCT_JSON_DIRECTORY_EXIST := $(shell test -d $(LOCAL_PATH)/ips/topology/ma #Determine whether the json directory of product exists or not ifeq ($(IS_PRODUCT_JSON_DIRECTORY_EXIST),yes) -PIPELINE_PRODUCT_PATH := vendor/sprd/modules/libcamera/ips/topology/main/$(TARGET_BOARD_PLATFORM)/product/$(TARGET_BOARD_PLATFORM_PRODUCT) +PIPELINE_PRODUCT_PATH := vendor/hys/modules/libcamera/ips/topology/main/$(TARGET_BOARD_PLATFORM)/product/$(TARGET_BOARD_PLATFORM_PRODUCT) pipeline_product_files := $(shell find $(PIPELINE_PRODUCT_PATH) -maxdepth 2 -type f -name *json) PRODUCT_COPY_FILES += $(foreach file, $(pipeline_product_files), \ $(file):/odm/etc/lwp/Topology/$(shell echo $(file)|awk -F '/' '{ print $$11 }')/$(shell echo $(file)|awk -F '/' '{ print $$12 }')) @@ -127,24 +127,24 @@ PRODUCT_COPY_FILES += $(foreach file, $(pipeline_product_files), \ endif endif -PIPELINE_PATH := vendor/sprd/modules/libcamera/ips/topology/main/$(TARGET_BOARD_PLATFORM)/common +PIPELINE_PATH := vendor/hys/modules/libcamera/ips/topology/main/$(TARGET_BOARD_PLATFORM)/common pipeline_files := $(shell find $(PIPELINE_PATH) -maxdepth 2 -type f -name *json) PRODUCT_COPY_FILES += $(foreach file, $(pipeline_files), \ $(file):/odm/etc/lwp/Topology/$(shell echo $(file)|awk -F '/' '{ print $$10 }')/$(shell echo $(file)|awk -F '/' '{ print $$11 }')) -include vendor/sprd/modules/libcamera/hal3_2v6/dispatch/framepolicy/policy_device.mk +include vendor/hys/modules/libcamera/hal3_2v6/dispatch/framepolicy/policy_device.mk endif ifneq ($(wildcard $(LOCAL_PATH)/ips/icapcontrol//$(TARGET_BOARD_PLATFORM)),) -#PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/sprd/modules/libcamera/iss/icap_control/,/vendor/etc/icap) +#PRODUCT_COPY_FILES += $(call find-copy-subdir-files,*,vendor/hys/modules/libcamera/iss/icap_control/,/vendor/etc/icap) PRODUCT_COPY_FILES += $(LOCAL_PATH)/ips/icapcontrol/IcapSwitchs.xml:/vendor/etc/icap/control/IcapSwitchs.xml -ICAP_CONTROL_PATH := vendor/sprd/modules/libcamera/ips/icapcontrol/$(TARGET_BOARD_PLATFORM)/scenes +ICAP_CONTROL_PATH := vendor/hys/modules/libcamera/ips/icapcontrol/$(TARGET_BOARD_PLATFORM)/scenes icap_control_files := $(shell find $(ICAP_CONTROL_PATH) -maxdepth 1 -type f -name *xml) PRODUCT_COPY_FILES += $(foreach file, $(icap_control_files), \ $(file):/vendor/etc/icap/control/$(shell echo $(file)|awk -F '/' '{ print $$8 }')/$(shell echo $(file)|awk -F '/' '{ print $$9 }')) else ifneq ($(wildcard $(LOCAL_PATH)/ips/icapcontrol/common),) PRODUCT_COPY_FILES +=$(LOCAL_PATH)/ips/icapcontrol/IcapSwitchs.xml:/vendor/etc/icap/control/IcapSwitchs.xml -ICAP_CONTROL_PATH := vendor/sprd/modules/libcamera/ips/icapcontrol/common/scenes +ICAP_CONTROL_PATH := vendor/hys/modules/libcamera/ips/icapcontrol/common/scenes icap_control_files := $(shell find $(ICAP_CONTROL_PATH) -maxdepth 1 -type f -name *xml) PRODUCT_COPY_FILES += $(foreach file, $(icap_control_files), \ $(file):/vendor/etc/icap/control/$(shell echo $(file)|awk -F '/' '{ print $$8 }')/$(shell echo $(file)|awk -F '/' '{ print $$9 }')) diff --git a/laphone/camera/libcaminiparser/BUILD.gn b/laphone/camera/libcaminiparser/BUILD.gn index 050864c588c5d29791c752f6ff35d9cea8618000..f06c81be439073e237bb71df7b724e13e43a3c62 100644 --- a/laphone/camera/libcaminiparser/BUILD.gn +++ b/laphone/camera/libcaminiparser/BUILD.gn @@ -3,30 +3,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") -ohos_shared_library("cam-ini-parser") { - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=incompatible-pointer-types-discards-qualifiers" - ] - - include_dirs = [ - "cmr_property.h", - "iniparser.h" - ] - - sources = [ - "cmr_property.c", - "dictionary.c", - "iniparser.c" - ] - deps = [] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -} \ No newline at end of file +ohos_prebuilt_shared_library("cam-ini-parser") { + source = "lib/libcam-ini-parser.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} diff --git a/laphone/camera/libcaminiparser/lib/libcam-ini-parser.z.so b/laphone/camera/libcaminiparser/lib/libcam-ini-parser.z.so new file mode 100755 index 0000000000000000000000000000000000000000..ed24c943a7179878631c59c951f1dc8c620cc6da Binary files /dev/null and b/laphone/camera/libcaminiparser/lib/libcam-ini-parser.z.so differ diff --git a/laphone/camera/npi/v4l2camera/BUILD.gn b/laphone/camera/npi/v4l2camera/BUILD.gn index 7341c6b324ba70921a37f33a28df956008042dcc..aa429dc2a4156cf0a095bd4237a43b39c20d466a 100644 --- a/laphone/camera/npi/v4l2camera/BUILD.gn +++ b/laphone/camera/npi/v4l2camera/BUILD.gn @@ -2,217 +2,43 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") - -ohos_shared_library("camv4l2adapter") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./../../$ISPDRV_DIR/isp_tune", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../sensor/inc", - "./../../utils/yuv2rgb", - "./../../common/inc", - "./../../$OEM_DIR/inc", - "./../../arithmetic/facebeauty/inc", - "./../../arithmetic/facebeauty/sprd_UNNEngine/ion", - "./../../arithmetic/sprd_UNNEngine/ion", - "./../../kiface/interface/", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libmemion/include", - "./../../utils/camxmlparser/inc/libxml2", - "./../../libcaminiparser", - "./../../pss/isp2.7/middleware/inc/", - "./../../pss/isp2.7/driver/inc", - "./../../common/memory", - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/kernel-headers", - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/drivers/gpu/natt/include", - "//vendor/$product_company/$product_name/modules/libdmabufheapsprd/include", - "//vendor/$product_company/$product_name/modules/libion/kernel-headers/", - ] - - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "v4l2_client.cpp", - "UnisocV4l2AdapterImpl.cpp", - "UnisocV4l2Adapter.cpp", - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/utils/yuv2rgb:camv4l2yuv2rgb", - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/cpp:cppdrv", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7:pss_isp2.7", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libmemion:libmemion", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/common/memory:cammem", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("camv4l2adapter") { + source = "lib/libcamv4l2adapter.z.so" + install_enable = true + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" } -ohos_executable("v4l2camera") { - -# public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./../../video", - "./../../ispalg/common/inc", - "./../../common/inc", - "./../../oem2v6/inc", - "./../../camdrv/isp2.6/middleware/inc", - "./../../camdrv/isp2.6/isp_tune", - "./../../camdrv/isp2.6/calibration", - "./../../camdrv/isp2.6/driver/inc", - "./../../camdrv/isp2.6/param_manager", - "./../../camdrv/isp2.6/bridge", - "./../../libcaminiparser", - "./../../pss/isp2.7/middleware/inc/", - "./../../$ISPDRV_DIR/isp_tune", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../sensor/inc", - "./../../utils/yuv2rgb", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libmemion", - "./../../common/inc", - "./../../$OEM_DIR/inc", - "./../../arithmetic/facebeauty/inc", - "./../../arithmetic/facebeauty/sprd_UNNEngine/ion", - "./../../arithmetic/sprd_UNNEngine/ion", - "./../../kiface/interface/", - "./../../../libmemion/include", - "./../../../modules/libmemion", - "./../../utils/camxmlparser/inc/libxml2", - "./../../libcaminiparser", - "./../../pss/isp2.7/middleware/inc/", - "./../../pss/isp2.7/driver/inc", - "./../../common/memory", - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/kernel-headers", - "//vendor/$product_company/$product_name/camera/kiface/sprd/external/drivers/gpu/natt/include", - "//vendor/$product_company/$product_name/modules/libdmabufheapsprd/include", - "//vendor/$product_company/$product_name/modules/libion/kernel-headers/", - ] - - sources = [ - "test_main.cpp", - ] - external_deps = [ - "hilog:libhilog" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/cpp:cppdrv", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/oem2v6:camoem", - ":camv4l2adapter", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_executable("v4l2camera") { + source = "bin/v4l2camera" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_executable("highfpscamera") { - -# public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./../../video", - "./../../ispalg/isp2.x/common/inc", - "./../../common/inc", - "./../../oem2v6/inc", - "./../../camdrv/isp2.6/middleware/inc", - "./../../camdrv/isp2.6/isp_tune", - "./../../camdrv/isp2.6/calibration", - "./../../camdrv/isp2.6/driver/inc", - "./../../camdrv/isp2.6/param_manager", - "./../../camdrv/isp2.6/bridge", - ] - - sources = [ - "test_highfps.cpp", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/cpp:cppdrv", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/oem2v6:camoem", - ":camv4l2adapter", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_executable("dual-cam") { + source = "bin/dual-cam" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_executable("multicamera") { - -# public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./../../video", - "./../../ispalg/isp2.x/common/inc", - "./../../common/inc", - "./../../oem2v6/inc", - "./../../camdrv/isp2.6/middleware/inc", - "./../../camdrv/isp2.6/isp_tune", - "./../../camdrv/isp2.6/calibration", - "./../../camdrv/isp2.6/driver/inc", - "./../../camdrv/isp2.6/param_manager", - "./../../camdrv/isp2.6/bridge", - ] - - sources = [ - "test_multicamera.cpp", - ] - - external_deps = [ - "hilog:libhilog" - ] +ohos_prebuilt_executable("highfpscamera") { + source = "bin/highfpscamera" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/cpp:cppdrv", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/oem2v6:camoem", - ":camv4l2adapter", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_executable("multicamera") { + source = "bin/multicamera" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } + diff --git a/laphone/camera/npi/v4l2camera/bin/dual-cam b/laphone/camera/npi/v4l2camera/bin/dual-cam new file mode 100755 index 0000000000000000000000000000000000000000..884230fabe96338b3e0d9bb49ef9f79aff03efad Binary files /dev/null and b/laphone/camera/npi/v4l2camera/bin/dual-cam differ diff --git a/laphone/camera/npi/v4l2camera/bin/v4l2camera b/laphone/camera/npi/v4l2camera/bin/v4l2camera new file mode 100755 index 0000000000000000000000000000000000000000..031b8691d18c66a72316308d0b6bf0b001bceb5a Binary files /dev/null and b/laphone/camera/npi/v4l2camera/bin/v4l2camera differ diff --git a/laphone/camera/npi/v4l2camera/lib/libcamv4l2adapter.z.so b/laphone/camera/npi/v4l2camera/lib/libcamv4l2adapter.z.so new file mode 100755 index 0000000000000000000000000000000000000000..ac7a0f9110c457dc5004eb0c707ba8dc0a3656d6 Binary files /dev/null and b/laphone/camera/npi/v4l2camera/lib/libcamv4l2adapter.z.so differ diff --git a/laphone/camera/oem2v6/BUILD.gn b/laphone/camera/oem2v6/BUILD.gn index d41056202ea2cc8e1d1857855062abc9db474ddb..6b934476c26e952766c43f11ffdc688fdc9d25ba 100644 --- a/laphone/camera/oem2v6/BUILD.gn +++ b/laphone/camera/oem2v6/BUILD.gn @@ -3,110 +3,11 @@ import("//build/ohos.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("camoem") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./../kiface/interface/", - "./inc", - "./../common/inc", - "./../jpeg", - "./../vsp/inc", - "./../tool/mtrace", - "./../arithmetic/facebeauty/inc", - "./../sensor/inc", - "./../sensor/dummy", - "./../sensor/af_drv", - "./../sensor/otp_drv", - "./../arithmetic/inc", - "./../$CPP_DIR/driver/inc", - "./../$CPP_DIR/algo/inc", - "./../arithmetic/sprd_easy_hdr/inc", - "./../video", - "./../utils/camxmlparser/inc/libxml2", - "./../$ISPALG_DIR/common/inc", - "./../$ISPDRV_DIR/isp_tune", - "./../$ISPDRV_DIR/middleware/inc", - "./../$ISPDRV_DIR/driver/inc", - "./../utils/camxmlparser/inc/libxml2", - "./../libcaminiparser", - "./../inc", - "./../iss2.0", - "./../pss/paramsdk/", - "./../ppm", - "./../ispalg/lsc/inc/", - "./../ispalg/common/inc", - "./../ispalg/ae/inc", - "./../ispalg/smart/", - "./../ispalg/awb/inc/", - "./../ispalg/ae/sprd/ae3.x/ae/inc/", - "./../ispalg/ae/inc/", - "./../ispalg/af/inc/", - "./../ispalg/common/inc/", - "./../ispalg/1sc/inc/", - "./../pss/isp2.7/isp_tune", - "./../pss/isp2.7/middleware/inc", - "./../pss/isp2.7/driver/inc", - "./../pss/isp2.7/param_manager/", - "./../pss/isp2.7/bridge/", - "./../pss/paramsdk", - "./../ispalg/ae/inc/" - ] - - sources = [ - "src/SprdOEMCamera.c", - "src/cmr_common.c", - "src/cmr_oem.c", - "src/cmr_setting.c", - "src/cmr_isptool.c", - "src/cmr_sensor.c", - "src/cmr_mem.c", - "src/cmr_scale.c", - "src/cmr_rotate.c", - "src/cmr_dma.c", - "src/cmr_grab.c", - "src/cmr_jpeg.c", - "src/cmr_exif.c", - "src/cmr_preview.c", - "src/cmr_snapshot.c", - "src/cmr_focus.c", - "src/cmr_img_debug.c", - "src/exif_writer.c", - "src/jpeg_stream.c", - "src/cam_icap.c", - ] - - defines += [ - "CONFIG_FILTER_VERSION=256", - "CONFIG_LIBYUV", - "_VSP_LINUX_", - "_VSP_", - ] - - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/pss/paramsdk:camps", - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/sensor/otp_parser:cam_otp_parser", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//vendor/$product_company/$product_name/camera/cpp:cppdrv", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7:pss_isp2.7", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/ppm:camppm", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("camoem") { + source = "lib/libcamoem.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } + diff --git a/laphone/camera/oem2v6/lib/libcamoem.z.so b/laphone/camera/oem2v6/lib/libcamoem.z.so new file mode 100755 index 0000000000000000000000000000000000000000..23893d91d53400937e3e53ee44a42675303e6c9d Binary files /dev/null and b/laphone/camera/oem2v6/lib/libcamoem.z.so differ diff --git a/laphone/camera/ppm/BUILD.gn b/laphone/camera/ppm/BUILD.gn index 501d3503095305ff0bfa5c9336234d016b918859..b9199e8631a42fc120953a59caa0008ef43e2abd 100644 --- a/laphone/camera/ppm/BUILD.gn +++ b/laphone/camera/ppm/BUILD.gn @@ -2,57 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("camppm") { -if (target_cpu == "arm") { - defines = [ "__ARM32__" ] -} else { - defines = [ "__ARM64__" ] -} - output_name = "camppm" - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wno-error=unused-private-field", - "-Wno-sign-compare", - "-fno-elide-constructors", - "-Wtautological-constant-out-of-range-compare", - ] - - include_dirs = [ - "./../common/inc", - "./../ips/lwp/framework", - "./../libcaminiparser/", - "./../ispalg/common/inc/", - "./../pss/isp2.7/middleware/inc/", - "./../pss/isp2.7/driver/inc/", - "./../kiface/interface/", - "./../libcaminiparser/", - ] - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "libloader.cpp", - "CamPPMStrategyInterface.c" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("camppm") { + source = "lib/libcamppm.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/ppm/lib/libcamppm.z.so b/laphone/camera/ppm/lib/libcamppm.z.so new file mode 100755 index 0000000000000000000000000000000000000000..ae7399c7ce8ce026c55ceb14aa97edcc99905cfa Binary files /dev/null and b/laphone/camera/ppm/lib/libcamppm.z.so differ diff --git a/laphone/camera/pss/isp2.7/BUILD.gn b/laphone/camera/pss/isp2.7/BUILD.gn index f90bf88f013c78032309d7182e8e132735fded0a..f3ca0f46a1b6fefb821e1823828b829e24453336 100644 --- a/laphone/camera/pss/isp2.7/BUILD.gn +++ b/laphone/camera/pss/isp2.7/BUILD.gn @@ -2,180 +2,11 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -OEM_DIR = "oem2v6" -ALG_DIR = "ispalg" -ohos_shared_library("pss_isp2.7") { +ohos_prebuilt_shared_library("pss_isp2.7") { + source = "lib/libpss_isp2.7.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true -public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] -if (target_cpu == "arm") { - defines = [ "__ARM32__" ] -} else { - defines = [ "__ARM64__" ] -} - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - ] - - include_dirs = [ - "./../../kiface/interface", - "./../../common/inc", - "./../../$OEM_DIR/inc", - "./../../ispalg/ae/inc", - "./../../ispalg/ae/sprd/ae2.x/ae/inc", - "./../../ispalg/ae/sprd/ae3.x/ae/inc", - "./../../ispalg/ae/sprd/ae2.x/flash/inc", - "./../../ispalg/ae/sprd/ae3.x/flash/inc", - "./../../ispalg/awb/inc", - "./../../ispalg/awb/alc_awb/inc", - "./../../ispalg/awb/sprd/awb2.1/inc", - "./../../awb/sprd/awb3.0/inc", - "./../../ispalg/awb/sprd/awb3.2/inc", - "./../../ispalg/af/inc", - "./../../ispalg/af/sprd/afv1/inc", - "./../../ispalg/af/sprd/aft/inc", - "./../../ispalg/af/sft_af/inc", - "./../../ispalg/af/alc_af/inc", - "./../../ispalg/af/sprd/af3.x/inc", - "./../../ispalg/cap_offline/inc/", - "./../../ispalg/xtm/inc/", - "./../../ispalg/lsc/inc", - "./../../ispalg/common/inc/", - "./../../ispalg/afl/inc", - "./../../ispalg/smart", - "./../../ispalg/tof", - "./../../ispalg/pdaf/inc", - "./../../ispalg/pdaf/sprd/inc", - "./../../ispalg/gtm/inc", - "./../../ispalg/ai/inc", - "./../../ispalg//pdaf/sprd/pd3.x/inc/", - "./../../sensor/inc", - "./../../utils/camxmlparser/inc/libxml2", - "./../../libcaminiparser", - "./middleware/inc", - "./isp_tune", - "./driver/inc", - "./param_manager", - "./bridge", - "./param_parse", - "./../../common/inc", - "./../../oem2v6/inc", - "./../../$ALG_DIR/ae/inc", - "./../../$ALG_DIR/ae/sprd/ae2.x/ae/inc", - "./../../$ALG_DIR/ae/sprd/ae3.x/ae/inc", - "./../../$ALG_DIR/ae/sprd/ae2.x/flash/inc", - "./../../$ALG_DIR/ae/sprd/ae3.x/flash/inc", - "./../../$ALG_DIR/awb/inc", - "./../../$ALG_DIR/awb/alc_awb/inc", - "./../../$ALG_DIR/awb/sprd/awb2.1/inc", - "./../../$ALG_DIR/awb/sprd/awb3.0/inc", - "./../../$ALG_DIR/awb/sprd/awb3.2/inc", - "./../../$ALG_DIR/af/inc", - "./../../$ALG_DIR/af/sprd/afv1/inc", - "./../../$ALG_DIR/af/sprd/aft/inc", - "./../../$ALG_DIR/af/sft_af/inc", - "./../../$ALG_DIR/af/alc_af/inc", - "./../../$ALG_DIR/lsc/inc", - "./../../$ALG_DIR/common/inc", - "./../../$ALG_DIR/afl/inc", - "./../../$ALG_DIR/smart", - "./../../$ALG_DIR/pdaf/inc", - "./../../$ALG_DIR/pdaf/sprd/inc", - "./../../$ALG_DIR/gtm/inc", - "./../../$ALG_DIR/ai/inc", - "./../../$ALG_DIR/tof", - "./../../sensor/inc", - "./../../modules/interface", - "./../../iss2.0", - "./../../pss/paramsdk/", - "./../../ppm" - ] - - sources = [ - "middleware/isp_alg_fw.c", - "middleware/isp_dev_access.c", - "middleware/isp_ioctrl.c", - "middleware/isp_mw.c", - "middleware/isp_simulation.c", - "middleware/pmg_gather.c", - "isp_tune/isp_cds.c", - "isp_tune/isp_param_size.c", - "isp_tune/isp_param_tune_com.c", - "isp_tune/isp_video.c", - "driver/src/dcam_u_aem.c", - "driver/src/dcam_u_afm.c", - "driver/src/dcam_u_anti_flicker_new.c", - "driver/src/dcam_u_awbc.c", - "driver/src/dcam_u_bayerhist.c", - "driver/src/dcam_u_blc.c", - "driver/src/dcam_u_bpc.c", - "driver/src/dcam_u_grgb.c", - "driver/src/dcam_u_gtm.c", - "driver/src/dcam_u_lsc.c", - "driver/src/dcam_u_lscm.c", - "driver/src/dcam_u_pdaf.c", - "driver/src/dcam_u_raw_gtm.c", - "driver/src/dcam_u_rgb_gain.c", - "driver/src/dcam_u_rgb_gtm.c", - "driver/src/isp_u_3dlut.c", - "driver/src/isp_u_3dnr.c", - "driver/src/isp_u_bchs.c", - "driver/src/isp_u_blk_interface.c", - "driver/src/isp_u_brightness.c", - "driver/src/isp_u_cce.c", - "driver/src/isp_u_cdn.c", - "driver/src/isp_u_cfa.c", - "driver/src/isp_u_cmc.c", - "driver/src/isp_u_cnr_h.c", - "driver/src/isp_u_contrast.c", - "driver/src/isp_u_csa.c", - "driver/src/isp_u_dct.c", - "driver/src/isp_u_dev.c", - "driver/src/isp_u_edge.c", - "driver/src/isp_u_gamma.c", - "driver/src/isp_u_grgb.c", - "driver/src/isp_u_hist2.c", - "driver/src/isp_u_hsv.c", - "driver/src/isp_u_hue.c", - "driver/src/isp_u_iircnr.c", - "driver/src/isp_u_ltm.c", - "driver/src/isp_u_nlm.c", - "driver/src/isp_u_noisefilter.c", - "driver/src/isp_u_post_cnr_h.c", - "driver/src/isp_u_postcdn.c", - "driver/src/isp_u_pre_cdn.c", - "driver/src/isp_u_pstrz.c", - "driver/src/isp_u_pyramid_offl.c", - "driver/src/isp_u_pyramid_onl.c", - "driver/src/isp_u_rgb_ltm.c", - "driver/src/isp_u_uvd.c", - "driver/src/isp_u_ygamma.c", - "driver/src/isp_u_ynr.c", - "driver/src/isp_u_yuv_ltm.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - "//vendor/$product_company/$product_name/camera/pss/isp2.7/bridge:libcambr_isp2.7", - "//vendor/$product_company/$product_name/camera/pss/paramsdk:camps", - "//vendor/$product_company/$product_name/camera/ppm:camppm", - - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true } diff --git a/laphone/camera/pss/isp2.7/bridge/BUILD.gn b/laphone/camera/pss/isp2.7/bridge/BUILD.gn index cbd7f5019f002f6def7d9aaa9f32ed9852311abd..de50c4410682a2935943701c2fc881cf2883848f 100644 --- a/laphone/camera/pss/isp2.7/bridge/BUILD.gn +++ b/laphone/camera/pss/isp2.7/bridge/BUILD.gn @@ -2,59 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("libcambr_isp2.7") { -if (target_cpu == "arm") { - defines = [ "__ARM32__" ] -} else { - defines = [ "__ARM64__" ] -} - output_name = "libcambr" - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wtautological-constant-out-of-range-compare", - ] - - include_dirs = [ - "./../../../oem2v6/inc", - "./../../../common/inc", - "./../../../kiface/interface", - "./../../../ispalg/smart", - "./../../../ispalg/awb/inc", - "./../../../ispalg/af/inc", - "./../../../ispalg/ae/inc", - "./../../../ispalg/ae/sprd/ae3.x/ae/inc", - "./../../../ispalg/ae/sprd/ae2.x/ae/inc ", - "./../../../ispalg/common/inc/", - "./../middleware/inc", - "./../param_manager", - "./../driver/inc", - "./../../../libcaminiparser", - ] - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "isp_bridge.c" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("cambr_isp2.7") { + source = "lib/libcambr.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/pss/isp2.7/bridge/lib/libcambr.z.so b/laphone/camera/pss/isp2.7/bridge/lib/libcambr.z.so new file mode 100755 index 0000000000000000000000000000000000000000..e90828b459aa3a3594330fab7e9f51dce290dbc1 Binary files /dev/null and b/laphone/camera/pss/isp2.7/bridge/lib/libcambr.z.so differ diff --git a/laphone/camera/pss/isp2.7/bridge/lib/libcambr_isp2.7.z.so b/laphone/camera/pss/isp2.7/bridge/lib/libcambr_isp2.7.z.so new file mode 100755 index 0000000000000000000000000000000000000000..e90828b459aa3a3594330fab7e9f51dce290dbc1 Binary files /dev/null and b/laphone/camera/pss/isp2.7/bridge/lib/libcambr_isp2.7.z.so differ diff --git a/laphone/camera/pss/isp2.7/lib/libpss_isp2.7.z.so b/laphone/camera/pss/isp2.7/lib/libpss_isp2.7.z.so new file mode 100755 index 0000000000000000000000000000000000000000..c033c161df8bfbc755a4e44b3fdb370c8e6a3d72 Binary files /dev/null and b/laphone/camera/pss/isp2.7/lib/libpss_isp2.7.z.so differ diff --git a/laphone/camera/pss/isp2.7/param_manager/BUILD.gn b/laphone/camera/pss/isp2.7/param_manager/BUILD.gn index b4252f475bcb963a8c6e749e1b2d5f4eab38dccd..3fc327d4c1a2049325284493c47675549b268ded 100644 --- a/laphone/camera/pss/isp2.7/param_manager/BUILD.gn +++ b/laphone/camera/pss/isp2.7/param_manager/BUILD.gn @@ -3,111 +3,11 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/camera/camera.gni") #OEM_DIR = "oem2v6" -ISP_DIR = "../../../ispalg" -LOCAL_PATH = "./" -MODULE_PATH = "./../../../" - -ohos_shared_library("campm_isp2.7") { - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wtautological-constant-out-of-range-compare", - ] - - include_dirs = [ - "$LOCAL_PATH", - "$LOCAL_PATH/$ISP_DIR/smart", - "$LOCAL_PATH/$ISP_DIR/awb/inc", - "$LOCAL_PATH/$ISP_DIR/ae/inc", - "$LOCAL_PATH/$ISP_DIR/ae/sprd/ae/inc", - "$LOCAL_PATH/$ISP_DIR/ae/sprd/ae2.x/ae/inc", - "$LOCAL_PATH/$ISP_DIR/ae/sprd/ae3.x/ae/inc", - "$LOCAL_PATH/$ISP_DIR/common/inc/", - "$LOCAL_PATH/../middleware/inc", - "$LOCAL_PATH/../calibration/inc", - "$LOCAL_PATH/../isp_tune", - "$LOCAL_PATH/../driver/inc", - "$MODULE_PATH/libcaminiparser", - "$MODULE_PATH/kiface/interface", - "$MODULE_PATH/common/inc", - ] - - sources = [ - "blk_list/isp_block_com.c", - "blk_list/isp_blk_aem.c", - "blk_list/isp_blk_ae_adapt.c", - "blk_list/isp_blk_awb_new.c", - "blk_list/isp_blk_bchs.c", - "blk_list/isp_blk_blc.c", - "blk_list/isp_blk_cce.c", - "blk_list/isp_blk_cmc10.c", - "blk_list/isp_blk_cnr3.c", - "blk_list/isp_blk_dre.c", - "blk_list/isp_blk_dre_pro.c", - "blk_list/isp_blk_fb.c", - "blk_list/isp_blk_frgb_gamc_v1.c", - "blk_list/isp_blk_iir_yrandom.c", - "blk_list/isp_blk_mfnr.c", - "blk_list/isp_blk_nlm_v1.c", - "blk_list/isp_blk_ppe_v1.c", - "blk_list/isp_blk_rgb_dither.c", - "blk_list/isp_blk_rgb_gain.c", - "blk_list/isp_blk_sw3dnr.c", - "blk_list/isp_blk_uv_cdn.c", - "blk_list/isp_blk_ynrs_v1.c", - "blk_list/isp_blk_rgb_ltm.c", - "blk_list/isp_blk_yuv_noisefilter_v1.c", - "blk_list/isp_blk_yuv_ygamma_v2.c", - "blk_list/isp_blk_pyramid_onl.c", - "blk_list/isp_blk_pyramid_offl.c", - "blk_list/isp_blk_dct.c", - "blk_list/isp_blk_rgb_gtm.c", - "blk_list/isp_blk_cnr_h.c", - "blk_list/isp_blk_post_cnr_h.c", - "blk_list/isp_blk_ynr_v2.c", - "blk_list/isp_blk_afm_v1.c", - "blk_list/isp_blk_imblance_v2.c", - "blk_list/isp_blk_hsv_v3.c", - "blk_list/isp_blk_ai_pro_v2.c", - "blk_list/isp_blk_bpc_v2.c", - "blk_list/isp_blk_cfa_v1.c", - "blk_list/isp_blk_edge_v2.c", - "blk_list/isp_blk_uv_div_v2.c", - "blk_list/isp_blk_3dnr_v2.c", - "blk_list/isp_blk_2d_lsc_v2.c", - "blk_list/isp_blk_3dlut.c", - "blk_list/isp_blk_mfnr_v1.c", - "blk_list/isp_blk_gtm_v1.c", - "blk_list/isp_blk_mfnr_v2.c", - "blk_list/isp_blk_lsc_v4.c", - "blk_list/isp_blk_cmc10_v1.c", - "blk_list/isp_blk_hsv_v4.c", - "isp_blocks_cfg.c", - "isp_com_alg.c", - "isp_pm.c", - "isp_param_file_update.c", - "isp_pm_dump.c", - "isp_scenario_parse.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/pss/paramsdk:camps", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" +ohos_prebuilt_shared_library("campm_isp2.7") { + source = "lib/libcampm_isp2.7.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/pss/isp2.7/param_manager/lib/libcampm_isp2.7.z.so b/laphone/camera/pss/isp2.7/param_manager/lib/libcampm_isp2.7.z.so new file mode 100755 index 0000000000000000000000000000000000000000..10dd2a5247a60498e2d5d25f3b6a45fa57a4620a Binary files /dev/null and b/laphone/camera/pss/isp2.7/param_manager/lib/libcampm_isp2.7.z.so differ diff --git a/laphone/camera/pss/paramsdk/BUILD.gn b/laphone/camera/pss/paramsdk/BUILD.gn index 9d36134d8f5a876397f67824929f1d904d3ae647..2ed84822f7966412e4edc87977ff3621fe9bb73c 100644 --- a/laphone/camera/pss/paramsdk/BUILD.gn +++ b/laphone/camera/pss/paramsdk/BUILD.gn @@ -2,55 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("camps") { -if (target_cpu == "arm") { - defines = [ "__ARM32__" ] -} else { - defines = [ "__ARM64__" ] -} - output_name = "camps" - cflags_cc = [ - "-Wall", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-Wno-error=unused-private-field", - "-Wno-sign-compare", - "-fno-elide-constructors", - "-Wtautological-constant-out-of-range-compare", - ] - - include_dirs = [ - "./../../common/inc", - "./../../ips/lwp/framework", - "./../../libcaminiparser/", - "./../../ispalg/common/inc/", - "./../../pss/isp2.7/middleware/inc/", - "./../../pss/isp2.7/driver/inc/", - "./../../kiface/interface/", - ] - external_deps = [ - "hilog:libhilog" - ] - - sources = [ - "paramset.cpp" - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("camps") { + source = "lib/libcamps.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/pss/paramsdk/lib/libcamps.z.so b/laphone/camera/pss/paramsdk/lib/libcamps.z.so new file mode 100755 index 0000000000000000000000000000000000000000..3b11fc6c72c00f1fbb0f3619ccf0dda40f8d215a Binary files /dev/null and b/laphone/camera/pss/paramsdk/lib/libcamps.z.so differ diff --git a/laphone/camera/pss/pmloader/its_drv/BUILD.gn b/laphone/camera/pss/pmloader/its_drv/BUILD.gn index e3154a34c41aa01816a45b0c9bdce95e8d611df0..3cd11cc42c13e23e8187ab851efcdb3617f566d7 100644 --- a/laphone/camera/pss/pmloader/its_drv/BUILD.gn +++ b/laphone/camera/pss/pmloader/its_drv/BUILD.gn @@ -1,92 +1,12 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -config("camera_loader") { - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-parameter", - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", - "-fexceptions", - ] - cflags_cc = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-parameter", - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", - "-fexceptions", - "-std=gnu++11", - ] - } -ohos_shared_library("campmloader") { -if (target_cpu == "arm") { - defines = [ "__ARM32__" ] -} else { - defines = [ "__ARM64__" ] -} - output_name = "campmloader" - - # cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - # cflags_cc = [ - # "-Wall", - # "-g", - # "-O", - # "-fPIC", - # "-Wno-error=unused-variable", - # "-Wno-error=unused-function", - # "-Wno-error=unused-private-field", - # "-Wno-sign-compare", - # "-fno-elide-constructors", - # "-Wtautological-constant-out-of-range-compare", - # "-fexceptions", - # "-std=gnu++11", - # ] - - include_dirs = [ - "./../../../common/inc", - "./../../../ips/lwp/framework", - "./../../../libcaminiparser/", - "./../../../ispalg/common/inc/", - "./../../../pss/isp2.7/middleware/inc/", - "./../../../pss/isp2.7/driver/inc/", - "./../../../kiface/interface/", - "./../../../kiface/pugi", - "./../../../libcaminiparser", - "./../../../ispalg/common/inc/block_tuning_param" - ] - external_deps = [ - "hilog:libhilog" - ] - sources = [ - "its_cfg_blk.c", - "its_read_bin.c", - "its_register.c", - "load_smart_param.c", - "xml_to_map.c", - "isp_xml.cpp", - ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//third_party/libxml2:libxml2", - ] - # part_name = "libcamera" - # subsystem_name = "product_uis7885" - # install_enable = true - # install_images = [ "vendor_base_dir" ] -# output_extension = "so" - configs = [ ":camera_loader" ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library("campmloader") { + source = "lib/libcampmloader.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } + diff --git a/laphone/camera/pss/pmloader/its_drv/lib/libcampmloader.z.so b/laphone/camera/pss/pmloader/its_drv/lib/libcampmloader.z.so new file mode 100755 index 0000000000000000000000000000000000000000..dd891aaf810fcab6685870ec289b82d3e5c7809b Binary files /dev/null and b/laphone/camera/pss/pmloader/its_drv/lib/libcampmloader.z.so differ diff --git a/laphone/camera/sensor/BUILD.gn b/laphone/camera/sensor/BUILD.gn index 2318e38fa33187d54bc528ae235beef9463a3a77..b7aa10e39cfc3925a921cda174461cc357e869d0 100644 --- a/laphone/camera/sensor/BUILD.gn +++ b/laphone/camera/sensor/BUILD.gn @@ -1,116 +1,12 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") - config("camera_sensor") { - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-parameter", - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", - "-fexceptions", - ] - cflags_cc = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-parameter", - "-Wno-unused-variable", - "-Wno-implicit-function-declaration", - "-fexceptions", - ] - } -ohos_shared_library("camsensor") { +ohos_prebuilt_shared_library("camsensor") { public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - defines = ["ITS_VERSION"] - - - # cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable", "-fexceptions" ,"-frtti"] - - include_dirs = [ - "sensor_drv", - "hw_drv", - "otp_cali/otp_cali.h", - "otp_drv/otp_common.h", - "otp_drv/otp_info.h", - "af_drv/sns_af_drv.c.h", - "hw_drv/hw_sensor_drv.h", - "./../kiface/interface/", - "./../kiface/camera_opensource/pugi/", - "//kernel/linux/linux-5.10/include/uapi/video", - "../common/inc", - "../jpeg", - "../vsp/inc", - "../tool/mtrace", - "dummy", - "../$OEM_DIR/inc", - "inc", - "otp_parser", - "../modules/interface", - "../${ISPDRV_DIR}/middleware/inc", - "../${ISPDRV_DIR}/isp_tune", - "../${ISPDRV_DIR}/calibration", - "../${ISPDRV_DIR}/driver/inc", - "../${ISPDRV_DIR}/param_manager", - "../${ISPALG_DIR}/ae/inc", - "../${ISPALG_DIR}/ae/sprd_ae/inc", - "../${ISPALG_DIR}/awb/inc", - "../${ISPALG_DIR}/awb/alc_awb/inc", - "../${ISPALG_DIR}/awb/sprd_awb/inc", - "../${ISPALG_DIR}/af/inc", - "../${ISPALG_DIR}/af/sprd_af/inc", - "../${ISPALG_DIR}/af/sft_af/inc", - "../${ISPALG_DIR}/af/alc_af/inc", - "../${ISPALG_DIR}/lsc/inc", - "../${ISPALG_DIR}/common/inc/", - "../${ISPALG_DIR}/afl/inc", - "../${ISPALG_DIR}/smart", - "../${ISPDRV_DIR}/utility", - "../${ISPALG_DIR}/common/inc/block_tuning_param", - "../${ISPDRV_DIR}/calibration/inc", - "../utils/camxmlparser/inc/libxml2", - "./../libcaminiparser", - "./../iss2.0/", - ] - - sources = [ - "sensor_drv/sensor_ic_drv.c", - "dummy/isp_otp_calibration.c", - "sensor_cfg.c", - "sensor_dump.cpp", - "sensor_drv_u.c", - "sensor_drv_json_parse.c", - "sensor_drv_xml_parse.c", - "otp_drv/otp_common.c", - "hw_drv/hw_sensor_drv.c", - "af_drv/sns_af_drv.c", - "otp_cali/otp_cali.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - # configs = [ ":camera_sensor" ] - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/sensor/otp_parser:cam_otp_parser", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/pss/pmloader/its_drv:campmloader", - # "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", - ] - deps += [ - "etc:sensor_etc" - ] - configs = [ ":camera_sensor" ] + source = "lib/libcamsensor.z.so" + install_enable = true install_images = [ vendor_base_dir ] part_name = "product_laphone" subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" } diff --git a/laphone/camera/sensor/etc/sensor_config.xml b/laphone/camera/sensor/etc/sensor_config.xml index 488c534e4be6e164ad39f370ffdabfd291b02a2a..099dc3c1564ea7d676402287a52403de6b2633b6 100644 --- a/laphone/camera/sensor/etc/sensor_config.xml +++ b/laphone/camera/sensor/etc/sensor_config.xml @@ -43,6 +43,31 @@ imx586 + + + 0 + imx111 + BACK + 90 + 55 + dualcam_master + multicam_wide + 1 + + dw9714 + 0 + + + + general + 0xa0 + 3 + 16384 + + + + imx111 + 0 @@ -90,7 +115,27 @@ 16384 - + + + + 1 + sp250a + FRONT + 270 + 100 + 0 + + sp250a + + + + general + 0xa2 + 0 + 16384 + + + 1 gc05a2 diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/BUILD.gn b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/BUILD.gn new file mode 100755 index 0000000000000000000000000000000000000000..e78bd2419071360e48278b9d0d6a13301e29aac8 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/BUILD.gn @@ -0,0 +1,871 @@ +import("//build/ohos.gni") + +ohos_prebuilt_etc("imx111_tuning1") { + source = "./cfg.xml" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning2") { + source = "./com/3DNR_20571.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning3") { + source = "./com/3D_LUT_20617.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning4") { + source = "./com/4IN1_20488.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning5") { + source = "./com/AEM_16398.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning6") { + source = "./com/AE_16433.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning7") { + source = "./com/AE_16433_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning8") { + source = "./com/AE_ADAPT_20489.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning9") { + source = "./com/AE_SYNC_20487.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning10") { + source = "./com/AFL_V1_16409.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning11") { + source = "./com/AFL_V3_16410.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning12") { + source = "./com/AFT_16432.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning13") { + source = "./com/AF_16435.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning14") { + source = "./com/AI_PRO_20601.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning15") { + source = "./com/ALSC_16431.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning16") { + source = "./com/ANTIFL_16443.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning17") { + source = "./com/ATM4GAMM_16445.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning18") { + source = "./com/AWBC_16397.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning19") { + source = "./com/AWB_16434.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning20") { + source = "./com/BAYER_NR_20591.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning21") { + source = "./com/BAYER_NR_20591_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning22") { + source = "./com/BCHS_20581.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning23") { + source = "./com/BLC_16386.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning24") { + source = "./com/BPC_20564.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning25") { + source = "./com/BWUD_20585.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning26") { + source = "./com/CCE_16407.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning27") { + source = "./com/CCE_UVDIV_20570.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning28") { + source = "./com/CFAI_20569.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning29") { + source = "./com/CMC10_16403.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning30") { + source = "./com/CNR3_20598.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning31") { + source = "./com/CNR_H_20619.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning32") { + source = "./com/DCT_20616.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning33") { + source = "./com/DFLASH_16438.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning34") { + source = "./com/DFLASH_16438_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning35") { + source = "./com/D_ENVI_16437.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning36") { + source = "./com/EE_20577.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning37") { + source = "./com/FDR_20600.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning38") { + source = "./com/HIST2_16418.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning39") { + source = "./com/HSV_20621.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning40") { + source = "./com/IMBALANCE_20590.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning41") { + source = "./com/LSC_2D_16394.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning42") { + source = "./com/LSC_2D_16394_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning43") { + source = "./com/MFNR_20608.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning44") { + source = "./com/POST_CNR_H_20620.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning45") { + source = "./com/POST_EE_20610.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning46") { + source = "./com/PPE_20595.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning47") { + source = "./com/PYRAMID_OFFL_20615.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning48") { + source = "./com/PYRAMID_ONL_20614.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning49") { + source = "./com/RGBGAIN_16391.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning50") { + source = "./com/RGB_AFM_20565.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning51") { + source = "./com/RGB_DITHER_20561.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning52") { + source = "./com/RGB_GAM_16404.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning53") { + source = "./com/RGB_GTM_20618.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning54") { + source = "./com/RGB_LTM_20587.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning55") { + source = "./com/SW3DNR_20582.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning56") { + source = "./com/UV_CDN_20574.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning57") { + source = "./com/YNRS_20588.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning58") { + source = "./com/YNR_20576.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning59") { + source = "./com/YUV_NOISEFILTER_20579.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning60") { + source = "./com/Y_GAMMA_20597.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning61") { + source = "./other/captureinfo.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning62") { + source = "./other/libuse_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning63") { + source = "./other/raw_ioctrl.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning64") { + source = "./other/resolution_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning65") { + source = "./other/version_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning66") { + source = "./prv0/3DNR_20571.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning67") { + source = "./prv0/BAYER_NR_20591.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning68") { + source = "./prv0/BAYER_NR_20591_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning69") { + source = "./prv0/BPC_20564.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning70") { + source = "./prv0/BWUD_20585.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning71") { + source = "./prv0/CCE_UVDIV_20570.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning72") { + source = "./prv0/CFAI_20569.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning73") { + source = "./prv0/CNR_H_20619.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning74") { + source = "./prv0/DCT_20616.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning75") { + source = "./prv0/EE_20577.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning76") { + source = "./prv0/IMBALANCE_20590.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning77") { + source = "./prv0/POST_CNR_H_20620.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning78") { + source = "./prv0/PPE_20595.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning79") { + source = "./prv0/PYRAMID_OFFL_20615.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning80") { + source = "./prv0/PYRAMID_ONL_20614.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning81") { + source = "./prv0/RGB_AFM_20565.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning82") { + source = "./prv0/RGB_DITHER_20561.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning83") { + source = "./prv0/SW3DNR_20582.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning84") { + source = "./prv0/UV_CDN_20574.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning85") { + source = "./prv0/YNR_20576.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("imx111_tuning86") { + source = "./prv0/YUV_NOISEFILTER_20579.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/imx111/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + + + + + +group("tuning_imx111") { + deps = [ + ":imx111_tuning1", + ":imx111_tuning2", + ":imx111_tuning3", + ":imx111_tuning4", + ":imx111_tuning5", + ":imx111_tuning6", + ":imx111_tuning7", + ":imx111_tuning8", + ":imx111_tuning9", + ":imx111_tuning10", + ":imx111_tuning11", + ":imx111_tuning12", + ":imx111_tuning13", + ":imx111_tuning14", + ":imx111_tuning15", + ":imx111_tuning16", + ":imx111_tuning17", + ":imx111_tuning18", + ":imx111_tuning19", + ":imx111_tuning20", + ":imx111_tuning21", + ":imx111_tuning22", + ":imx111_tuning23", + ":imx111_tuning24", + ":imx111_tuning25", + ":imx111_tuning26", + ":imx111_tuning27", + ":imx111_tuning28", + ":imx111_tuning29", + ":imx111_tuning30", + ":imx111_tuning31", + ":imx111_tuning32", + ":imx111_tuning33", + ":imx111_tuning34", + ":imx111_tuning35", + ":imx111_tuning36", + ":imx111_tuning37", + ":imx111_tuning38", + ":imx111_tuning39", + ":imx111_tuning40", + ":imx111_tuning41", + ":imx111_tuning42", + ":imx111_tuning43", + ":imx111_tuning44", + ":imx111_tuning45", + ":imx111_tuning46", + ":imx111_tuning47", + ":imx111_tuning48", + ":imx111_tuning49", + ":imx111_tuning50", + ":imx111_tuning51", + ":imx111_tuning52", + ":imx111_tuning53", + ":imx111_tuning54", + ":imx111_tuning55", + ":imx111_tuning56", + ":imx111_tuning57", + ":imx111_tuning58", + ":imx111_tuning59", + ":imx111_tuning60", + ":imx111_tuning61", + ":imx111_tuning62", + ":imx111_tuning63", + ":imx111_tuning64", + ":imx111_tuning65", + ":imx111_tuning66", + ":imx111_tuning67", + ":imx111_tuning68", + ":imx111_tuning69", + ":imx111_tuning70", + ":imx111_tuning71", + ":imx111_tuning72", + ":imx111_tuning73", + ":imx111_tuning74", + ":imx111_tuning75", + ":imx111_tuning76", + ":imx111_tuning77", + ":imx111_tuning78", + ":imx111_tuning79", + ":imx111_tuning80", + ":imx111_tuning81", + ":imx111_tuning82", + ":imx111_tuning83", + ":imx111_tuning84", + ":imx111_tuning85", + ":imx111_tuning86", + ] +} + diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/GN_autoGen.sh b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/GN_autoGen.sh new file mode 100755 index 0000000000000000000000000000000000000000..52264a4f6392c4c672ebae36b5218277c52e1310 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/GN_autoGen.sh @@ -0,0 +1,108 @@ +# set -x + +# OH平台tuning文件Makefile生成工具 +# by chenliu + +# 清在此处手动填写: +sensorName='imx111' +install_images='vendor_base_dir' +part_name='product_laphone' +subsystem_name='product_laphone' + + + + + + + + +# ============================================================================================================== +# load tuning files +# ============================================================================================================== +touch BUILD.gn +# add 1st line +echo import\(\"\/\/build\/ohos\.gni\"\) > BUILD.gn + +data=$(find . -name "*"|grep -Ei "\.bin|\.xml|\.c") + +# get total line num (total file num) +fileNum=$(echo "$data"|grep -n ""|tail -n 1|sed 's/:.*//g') + +# ============================================================================================================== +# get tuning file name +# ============================================================================================================== +source=$( \ + # echo $data cannot remain line breaks, use echo "$data" + echo "$data" | \ + # add [source = "] before tuning file + sed 's/\.\// source = \"\.\//g' | \ + # add ["] after tuning file + sed 's/$/\"/g' \ +) +# ============================================================================================================== +# get tuning file path +# ============================================================================================================== +module_install_dir=$( \ + # echo $data cannot remain line breaks, use echo "$data" + echo "$data" | \ + sed 's/cfg\.xml/\/cfg\.xml/g' | \ + grep -o "\.\/.*\/" | \ + sed 's/\.\// module_install_dir = \"firmware\/'"${sensorName}"'\//g' | \ + sed 's/\/$/\"/g' | \ + sed 's/\/\///g' \ +) + +# add new line +echo>> ./BUILD.gn + +# ============================================================================================================== +# add tuning files into BUILD.gn +# ============================================================================================================== +var=1 +while [ $var -le $fileNum ]; +do + echo $(($fileNum - $var))" remains" + echo ohos_prebuilt_etc\(\""$sensorName"_tuning"$var"\"\) \{ >> ./BUILD.gn + # how to use varibles in sed: '"${var}"' + # how to get specific line of a varible: sed 'start,endp' + echo "$source"|sed -n ''"${var}"','"${var}"'p' >> ./BUILD.gn + echo " install_images = [ $install_images ]" >> ./BUILD.gn + echo "$module_install_dir"|sed -n ''"${var}"','"${var}"'p' >> ./BUILD.gn + echo " part_name = \"$part_name\"" >> ./BUILD.gn + echo " subsystem_name = \"$subsystem_name\"" >> ./BUILD.gn + echo " install_enable = true" >> ./BUILD.gn + echo \} >> ./BUILD.gn + # add new line + echo >> ./BUILD.gn + var=$(($var+1)); +done + + + +# add new line +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo group\(\"tuning_"$sensorName"\"\) \{ >> ./BUILD.gn +echo " deps = [" >> ./BUILD.gn + +# ============================================================================================================== +# add file deps in to BUILD.gn +# ============================================================================================================== +var=1 +while [ $var -le $fileNum ]; +do + echo $(($fileNum - $var))" remains" + echo " \":"$sensorName"_tuning"$var"\"," >> ./BUILD.gn + var=$(($var+1)); +done + +# ============================================================================================================== +# add brackets +# ============================================================================================================== +echo " ]" >> ./BUILD.gn +echo "}" >> ./BUILD.gn + +# add new line +echo >> ./BUILD.gn diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/cfg.xml b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/cfg.xml new file mode 100755 index 0000000000000000000000000000000000000000..06356c42ab5985425c0779fbf079919cafd5858e --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/cfg.xml @@ -0,0 +1,361 @@ + + + + imx111 + 0x000D0010 + 7 + + 0x0000000000000000 + 55 + 3280 + 2464 + + 0x505b + com + + + 0x5089 + com + + + 0x5008 + com + + + 0x4031 + com + + + 0x400e + com + + + 0x5009 + com + + + 0x5007 + com + + + 0x4033 + com + + + 0x4019 + com + + + 0x401a + com + + + 0x4030 + com + + + 0x5079 + com + + + 0x402f + com + + + 0x403b + com + + + 0x403d + com + + + 0x4032 + com + + + 0x400d + com + + + 0x5065 + com + + + 0x4002 + com + + + 0x5054 + com + + + 0x5069 + com + + + 0x4017 + com + + + 0x505e + com + + + 0x5059 + com + + + 0x4013 + com + + + 0x4036 + com + + + 0x5051 + com + + + 0x4035 + com + + + 0x5061 + com + + + 0x5078 + com + + + 0x4022 + com + + + 0x508d + com + + + 0x506e + com + + + 0x400a + com + + + 0x5063 + com + + + 0x506f + com + + + 0x5073 + com + + + 0x4007 + com + + + 0x5055 + com + + + 0x4014 + com + + + 0x508a + com + + + 0x506b + com + + + 0x5066 + com + + + 0x506c + com + + + 0x505a + com + + + 0x5060 + com + + + 0x5075 + com + + + 0x5076 + com + + + 0x508b + com + + + 0x5088 + com + + + 0x5080 + com + + + 0x508c + com + + + 0x5082 + com + + + 0x5087 + com + + + 0x5086 + com + + + + 0x0000010000000000 + 20 + 3280 + 2464 + + 0x505b + prv0 + + + 0x5054 + prv0 + + + 0x5069 + prv0 + + + 0x505e + prv0 + + + 0x5059 + prv0 + + + 0x5051 + prv0 + + + 0x5061 + prv0 + + + 0x506e + prv0 + + + 0x5063 + prv0 + + + 0x506f + prv0 + + + 0x5073 + prv0 + + + 0x5055 + prv0 + + + 0x5066 + prv0 + + + 0x505a + prv0 + + + 0x5060 + prv0 + + + 0x508b + prv0 + + + 0x5088 + prv0 + + + 0x508c + prv0 + + + 0x5087 + prv0 + + + 0x5086 + prv0 + + + + 0x0000020000000000 + 0 + 1640 + 1232 + + + 0x0000050000000000 + 0 + 3280 + 2464 + + + 0x0000060000000000 + 0 + 1640 + 1232 + + + 0x0000090000000000 + 0 + 3280 + 2464 + + + 0x00000A0000000000 + 0 + 1640 + 1232 + + diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3DNR_20571.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3DNR_20571.bin new file mode 100755 index 0000000000000000000000000000000000000000..1da06d3912219c14d19443731c3d9ec68cb0b8ab Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3DNR_20571.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3D_LUT_20617.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3D_LUT_20617.bin new file mode 100755 index 0000000000000000000000000000000000000000..5f5ebed5ce1a68d01f71cc953e8fca54ae45682b Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/3D_LUT_20617.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/4IN1_20488.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/4IN1_20488.bin new file mode 100755 index 0000000000000000000000000000000000000000..d4cd90ec3dcb90dd23b4c717e7c9563827b42b45 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/4IN1_20488.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AEM_16398.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AEM_16398.bin new file mode 100755 index 0000000000000000000000000000000000000000..fa20e3ef175d04c8d98d4fa81ab7f540cc8aaca5 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AEM_16398.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433.bin new file mode 100755 index 0000000000000000000000000000000000000000..ab707c24a49721907c1e60373577b593e521c258 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..6ff9a9c33f73f67803abe29dd14da12be2f29585 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_16433_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_ADAPT_20489.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_ADAPT_20489.bin new file mode 100755 index 0000000000000000000000000000000000000000..bd7066c98a2eeeca86e05fe65ef7e0ec99b6c819 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_ADAPT_20489.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_SYNC_20487.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_SYNC_20487.bin new file mode 100755 index 0000000000000000000000000000000000000000..68d0d8c88488129944b47b42c297405f81a0e929 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AE_SYNC_20487.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V1_16409.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V1_16409.bin new file mode 100755 index 0000000000000000000000000000000000000000..e6b572c75efb34e7a605361210c55d664dd859f0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V1_16409.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V3_16410.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V3_16410.bin new file mode 100755 index 0000000000000000000000000000000000000000..8e48d908cf6b0a7d9474e17a109284a70ea0056c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFL_V3_16410.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFT_16432.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFT_16432.bin new file mode 100755 index 0000000000000000000000000000000000000000..fa3259338f44ab4022202865d9c482a0f9f6776a Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AFT_16432.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AF_16435.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AF_16435.bin new file mode 100755 index 0000000000000000000000000000000000000000..2aa82b9abc5e794334ecc05fccea59b662cb3b26 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AF_16435.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AI_PRO_20601.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AI_PRO_20601.bin new file mode 100755 index 0000000000000000000000000000000000000000..4786c188c019fdb1fbbfb82a39b73076bf1db68e Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AI_PRO_20601.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ALSC_16431.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ALSC_16431.bin new file mode 100755 index 0000000000000000000000000000000000000000..c33be71ea3e53f11f1ed4819e14a97df317e0a3d Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ALSC_16431.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ANTIFL_16443.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ANTIFL_16443.bin new file mode 100755 index 0000000000000000000000000000000000000000..f42550022b1928076c5e3ad2569d86646f7aa3ca Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ANTIFL_16443.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ATM4GAMM_16445.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ATM4GAMM_16445.bin new file mode 100755 index 0000000000000000000000000000000000000000..2e504876a86f49e3af250369fd2cbad3f8bc6b95 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/ATM4GAMM_16445.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWBC_16397.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWBC_16397.bin new file mode 100755 index 0000000000000000000000000000000000000000..4d8fee149e82f56e035a488fb487dfc935337d5d Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWBC_16397.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWB_16434.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWB_16434.bin new file mode 100755 index 0000000000000000000000000000000000000000..3a52b13a3704bb414e98874955783049c829f46f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/AWB_16434.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591.bin new file mode 100755 index 0000000000000000000000000000000000000000..9120d8d0fb062a18261999757bbefb05bc7ef33b Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..89075c1f7f9f99492981c9711a8321d5be78fe62 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BAYER_NR_20591_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BCHS_20581.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BCHS_20581.bin new file mode 100755 index 0000000000000000000000000000000000000000..d4ad4377712216c5cfbbaa97ca3a7e244fa6b189 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BCHS_20581.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BLC_16386.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BLC_16386.bin new file mode 100755 index 0000000000000000000000000000000000000000..6150e5ed2cb1e98d7bcc663bd25fc0a2bb78cda9 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BLC_16386.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BPC_20564.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BPC_20564.bin new file mode 100755 index 0000000000000000000000000000000000000000..47674111e79cafd0303ab4f61e84017b13e37311 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BPC_20564.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BWUD_20585.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BWUD_20585.bin new file mode 100755 index 0000000000000000000000000000000000000000..9371f4f53ddef62b85675842c7030c006ff38e73 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/BWUD_20585.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_16407.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_16407.bin new file mode 100755 index 0000000000000000000000000000000000000000..55d868fee0059a6fab108f480241f73c611bd6d2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_16407.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_UVDIV_20570.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_UVDIV_20570.bin new file mode 100755 index 0000000000000000000000000000000000000000..22dbecf413da7d98caa3a0671d2064bef32d6c68 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CCE_UVDIV_20570.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CFAI_20569.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CFAI_20569.bin new file mode 100755 index 0000000000000000000000000000000000000000..843325322136810fbefd2cecef22c48eae271cf0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CFAI_20569.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CMC10_16403.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CMC10_16403.bin new file mode 100755 index 0000000000000000000000000000000000000000..841fa29d43068e18b8d90aa24f32876771a1a724 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CMC10_16403.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR3_20598.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR3_20598.bin new file mode 100755 index 0000000000000000000000000000000000000000..8c65540d2c82bd28e63611d9f4bce1992c9ea495 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR3_20598.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR_H_20619.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR_H_20619.bin new file mode 100755 index 0000000000000000000000000000000000000000..223a46f0ae8e862f21761d383343a3bf504de2de Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/CNR_H_20619.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DCT_20616.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DCT_20616.bin new file mode 100755 index 0000000000000000000000000000000000000000..fc01ba9f1ade042fed22703751f9a0142649e3d2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DCT_20616.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438.bin new file mode 100755 index 0000000000000000000000000000000000000000..9b08c97d231c587f7c49be88c5948fced5388018 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..27e093819689fffbc9d3b33a63f04bd3749be0ff Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/DFLASH_16438_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/D_ENVI_16437.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/D_ENVI_16437.bin new file mode 100755 index 0000000000000000000000000000000000000000..1f3eaefe60ab22617ca50725f4fdc06740af04d2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/D_ENVI_16437.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/EE_20577.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/EE_20577.bin new file mode 100755 index 0000000000000000000000000000000000000000..133765499987848f4d2edb7fda98af43e59508d4 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/EE_20577.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/FDR_20600.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/FDR_20600.bin new file mode 100755 index 0000000000000000000000000000000000000000..abeb23c3a6a33a30cd8738b5bcc9c0d77d3867d3 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/FDR_20600.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HIST2_16418.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HIST2_16418.bin new file mode 100755 index 0000000000000000000000000000000000000000..049bc39f32671a7ee143479d5a28c50a0d90bc68 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HIST2_16418.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HSV_20621.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HSV_20621.bin new file mode 100755 index 0000000000000000000000000000000000000000..bb06c0ab5b677a2da8f78a53c1b125584820a592 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/HSV_20621.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/IMBALANCE_20590.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/IMBALANCE_20590.bin new file mode 100755 index 0000000000000000000000000000000000000000..28427c0ffc9665be19b4deb3b6d165a8bda76ccb Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/IMBALANCE_20590.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394.bin new file mode 100755 index 0000000000000000000000000000000000000000..6616f488e1cdc08d68436ccd7fd3fdba06d80801 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..792f64ee93155a190e407d9db1c53db14625a9b8 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/LSC_2D_16394_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/MFNR_20608.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/MFNR_20608.bin new file mode 100755 index 0000000000000000000000000000000000000000..2b7ccfc6c79da6354de6f664cf04b09cece12943 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/MFNR_20608.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_CNR_H_20620.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_CNR_H_20620.bin new file mode 100755 index 0000000000000000000000000000000000000000..5a9343a2c1ecdd77205b91b98289e82be1298f4d Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_CNR_H_20620.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_EE_20610.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_EE_20610.bin new file mode 100755 index 0000000000000000000000000000000000000000..2ee5e45837466db21811ba89d0bb588f469a7c56 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/POST_EE_20610.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PPE_20595.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PPE_20595.bin new file mode 100755 index 0000000000000000000000000000000000000000..21f8b53b7f6b93b4ce5da408543fbfe1ad5e466f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PPE_20595.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_OFFL_20615.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_OFFL_20615.bin new file mode 100755 index 0000000000000000000000000000000000000000..28efc7c6335c67063946c05280ff8ef5f434d81c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_OFFL_20615.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_ONL_20614.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_ONL_20614.bin new file mode 100755 index 0000000000000000000000000000000000000000..580b23e5f0629c7f8f4824419a5a8da1b3d4b524 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/PYRAMID_ONL_20614.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGBGAIN_16391.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGBGAIN_16391.bin new file mode 100755 index 0000000000000000000000000000000000000000..3625e2eda62d4377a696b9e85f772af7c15d2cb5 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGBGAIN_16391.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_AFM_20565.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_AFM_20565.bin new file mode 100755 index 0000000000000000000000000000000000000000..2725e144d69717f52dc14a599282d69b0f2b45ec Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_AFM_20565.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_DITHER_20561.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_DITHER_20561.bin new file mode 100755 index 0000000000000000000000000000000000000000..c63d831a75f888372aac49c8c0cd78e2cc09e918 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_DITHER_20561.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GAM_16404.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GAM_16404.bin new file mode 100755 index 0000000000000000000000000000000000000000..57432062da84be84cce1fe8931b985754305cd23 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GAM_16404.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GTM_20618.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GTM_20618.bin new file mode 100755 index 0000000000000000000000000000000000000000..655d31f5347b4a75112916de29a8b9d071deb631 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_GTM_20618.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_LTM_20587.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_LTM_20587.bin new file mode 100755 index 0000000000000000000000000000000000000000..9f9caa81621862f2bf5c13b05db78c4aebd207ee Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/RGB_LTM_20587.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/SW3DNR_20582.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/SW3DNR_20582.bin new file mode 100755 index 0000000000000000000000000000000000000000..18a515f7e8265cd491a09b6b18da14ff650ff347 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/SW3DNR_20582.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/UV_CDN_20574.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/UV_CDN_20574.bin new file mode 100755 index 0000000000000000000000000000000000000000..2360b5c3a640ba7b6443b0bd7c5a41ea90f6d0f2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/UV_CDN_20574.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNRS_20588.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNRS_20588.bin new file mode 100755 index 0000000000000000000000000000000000000000..18b5182635b0fbf1ee85ddd802abe6939cdf0caf Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNRS_20588.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNR_20576.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNR_20576.bin new file mode 100755 index 0000000000000000000000000000000000000000..fec94ebd3f61701013b341bde40220bc427352b9 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YNR_20576.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YUV_NOISEFILTER_20579.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YUV_NOISEFILTER_20579.bin new file mode 100755 index 0000000000000000000000000000000000000000..4d056d73b5f4d073e66bcad5d4fa04f2d88f7bcd Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/YUV_NOISEFILTER_20579.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/Y_GAMMA_20597.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/Y_GAMMA_20597.bin new file mode 100755 index 0000000000000000000000000000000000000000..f912ec7ff47cb12b63f476e14c8e8edfbe77de90 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/com/Y_GAMMA_20597.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/captureinfo.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/captureinfo.bin new file mode 100755 index 0000000000000000000000000000000000000000..500df5e3f8cce55dac59440913be09b3ad7019a9 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/captureinfo.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/libuse_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/libuse_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..85793d2c766233dd94c98eb5368e0030e6a04614 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/libuse_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/raw_ioctrl.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/raw_ioctrl.bin new file mode 100755 index 0000000000000000000000000000000000000000..969007c54f062a8247d67cec0f0b2e3b7979bacd Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/raw_ioctrl.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/resolution_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/resolution_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..a98577ba10f7bf75526e39276f64f3bbc5a418c0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/resolution_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/scenario_map.ini b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/scenario_map.ini new file mode 100755 index 0000000000000000000000000000000000000000..af50370a152488ab5179e67ca1a9ef527f705bb1 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/scenario_map.ini @@ -0,0 +1,128 @@ +[App] +0=com +1=wechat +2=qq +3=tiktok +4=kuaishou +5=snapchat +6=facebook +7=whatsapp +8=instagram +9=messenger +10=thirdapp +11=factory +12=app-c1 +13=app-c2 +14=app-c3 +15=app-c4 +16=app-c5 + +[Mode] +0=com +1=prv0 +2=prv1 +3=prv2 +4=prv3 +5=cap0 +6=cap1 +7=cap2 +8=cap3 +9=video0 +10=video1 +11=video2 +12=video3 +13=video4 +14=video5 +15=mode-c1 +16=mode-c2 +17=mode-c3 +18=mode-c4 +19=mode-c5 + +[SimpleMode] +1=prv +5=cap +9=video +15=mode-c1 +16=mode-c2 +17=mode-c3 +18=mode-c4 +19=mode-c5 + +[AppMode] +0=com +1=night +2=bokeh +3=portrait +4=panorama +5=professional +6=sm60 +7=sm90 +8=sm120 +9=sm240 +10=sm480 +11=sm960 +12=continue +13=ultrares +14=qrcode +15=faceid +16=timelapsephotography +17=videocapture +18=doubleexposure +19=video-night +20=app-mode-c1 +21=app-mode-c2 +22=app-mode-c3 +23=app-mode-c4 +24=app-mode-c5 +25=app-mode-c6 +26=app-mode-c7 +27=app-mode-c8 + + +[Field00] +0=com +1=hdr +2=flash +3=eis +4=field00-c1 +5=field00-c2 +6=field00-c3 +7=field00-c4 +8=field00-c5 + +[Field01] +0=com +1=face +2=field01-c1 +3=field01-c2 +4=field01-c3 +5=field01-c4 +6=field01-c5 + +[Field02] +0=com +1=filter +2=facebeauty +3=video-hdr +4=video-hdr-ext +5=field02-c1 +6=field02-c2 +7=field02-c3 +8=field02-c4 +9=field02-c5 + +[Field03] +0=com +1=zoom +2=zoom2x +3=zoom4x +4=zoom6x +5=zoom8x +6=zoom10x +7=sr +8=field03-c1 +9=field03-c2 +10=field03-c3 +11=field03-c4 +12=field03-c5 \ No newline at end of file diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/version_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/version_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..6f227d2358459c021f44a685712b6a1aed950c2b Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/other/version_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/3DNR_20571.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/3DNR_20571.bin new file mode 100755 index 0000000000000000000000000000000000000000..256882c82232296bf176730b833e590490af2d01 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/3DNR_20571.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591.bin new file mode 100755 index 0000000000000000000000000000000000000000..fe88360da621778cfbdbdc679bce98069cecc3aa Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..89075c1f7f9f99492981c9711a8321d5be78fe62 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BAYER_NR_20591_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BPC_20564.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BPC_20564.bin new file mode 100755 index 0000000000000000000000000000000000000000..47674111e79cafd0303ab4f61e84017b13e37311 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BPC_20564.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BWUD_20585.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BWUD_20585.bin new file mode 100755 index 0000000000000000000000000000000000000000..9371f4f53ddef62b85675842c7030c006ff38e73 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/BWUD_20585.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CCE_UVDIV_20570.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CCE_UVDIV_20570.bin new file mode 100755 index 0000000000000000000000000000000000000000..22dbecf413da7d98caa3a0671d2064bef32d6c68 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CCE_UVDIV_20570.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CFAI_20569.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CFAI_20569.bin new file mode 100755 index 0000000000000000000000000000000000000000..843325322136810fbefd2cecef22c48eae271cf0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CFAI_20569.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CNR_H_20619.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CNR_H_20619.bin new file mode 100755 index 0000000000000000000000000000000000000000..223a46f0ae8e862f21761d383343a3bf504de2de Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/CNR_H_20619.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/DCT_20616.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/DCT_20616.bin new file mode 100755 index 0000000000000000000000000000000000000000..fc01ba9f1ade042fed22703751f9a0142649e3d2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/DCT_20616.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/EE_20577.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/EE_20577.bin new file mode 100755 index 0000000000000000000000000000000000000000..133765499987848f4d2edb7fda98af43e59508d4 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/EE_20577.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/IMBALANCE_20590.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/IMBALANCE_20590.bin new file mode 100755 index 0000000000000000000000000000000000000000..28427c0ffc9665be19b4deb3b6d165a8bda76ccb Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/IMBALANCE_20590.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/POST_CNR_H_20620.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/POST_CNR_H_20620.bin new file mode 100755 index 0000000000000000000000000000000000000000..5a9343a2c1ecdd77205b91b98289e82be1298f4d Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/POST_CNR_H_20620.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PPE_20595.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PPE_20595.bin new file mode 100755 index 0000000000000000000000000000000000000000..21f8b53b7f6b93b4ce5da408543fbfe1ad5e466f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PPE_20595.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_OFFL_20615.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_OFFL_20615.bin new file mode 100755 index 0000000000000000000000000000000000000000..28efc7c6335c67063946c05280ff8ef5f434d81c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_OFFL_20615.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_ONL_20614.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_ONL_20614.bin new file mode 100755 index 0000000000000000000000000000000000000000..580b23e5f0629c7f8f4824419a5a8da1b3d4b524 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/PYRAMID_ONL_20614.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_AFM_20565.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_AFM_20565.bin new file mode 100755 index 0000000000000000000000000000000000000000..2725e144d69717f52dc14a599282d69b0f2b45ec Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_AFM_20565.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_DITHER_20561.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_DITHER_20561.bin new file mode 100755 index 0000000000000000000000000000000000000000..c63d831a75f888372aac49c8c0cd78e2cc09e918 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/RGB_DITHER_20561.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/SW3DNR_20582.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/SW3DNR_20582.bin new file mode 100755 index 0000000000000000000000000000000000000000..18a515f7e8265cd491a09b6b18da14ff650ff347 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/SW3DNR_20582.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/UV_CDN_20574.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/UV_CDN_20574.bin new file mode 100755 index 0000000000000000000000000000000000000000..2360b5c3a640ba7b6443b0bd7c5a41ea90f6d0f2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/UV_CDN_20574.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YNR_20576.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YNR_20576.bin new file mode 100755 index 0000000000000000000000000000000000000000..f96da3eecf428c095f2a572a35578c604dbfa124 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YNR_20576.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YUV_NOISEFILTER_20579.bin b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YUV_NOISEFILTER_20579.bin new file mode 100755 index 0000000000000000000000000000000000000000..4d056d73b5f4d073e66bcad5d4fa04f2d88f7bcd Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Sony/imx111/prv0/YUV_NOISEFILTER_20579.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/BUILD.gn b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/BUILD.gn new file mode 100755 index 0000000000000000000000000000000000000000..4e5caa67c5fa23c4b051ef9e8b0aacc19f1e399f --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/BUILD.gn @@ -0,0 +1,871 @@ +import("//build/ohos.gni") + +ohos_prebuilt_etc("sp250a_tuning1") { + source = "./cfg.xml" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning2") { + source = "./com/3DNR_20571.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning3") { + source = "./com/3D_LUT_20617.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning4") { + source = "./com/4IN1_20488.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning5") { + source = "./com/AEM_16398.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning6") { + source = "./com/AE_16433.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning7") { + source = "./com/AE_16433_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning8") { + source = "./com/AE_ADAPT_20489.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning9") { + source = "./com/AE_SYNC_20487.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning10") { + source = "./com/AFL_V1_16409.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning11") { + source = "./com/AFL_V3_16410.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning12") { + source = "./com/AFT_16432.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning13") { + source = "./com/AF_16435.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning14") { + source = "./com/AI_PRO_20601.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning15") { + source = "./com/ALSC_16431.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning16") { + source = "./com/ANTIFL_16443.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning17") { + source = "./com/ATM4GAMM_16445.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning18") { + source = "./com/AWBC_16397.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning19") { + source = "./com/AWB_16434.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning20") { + source = "./com/BAYER_NR_20591.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning21") { + source = "./com/BAYER_NR_20591_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning22") { + source = "./com/BCHS_20581.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning23") { + source = "./com/BLC_16386.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning24") { + source = "./com/BPC_20564.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning25") { + source = "./com/BWUD_20585.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning26") { + source = "./com/CCE_16407.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning27") { + source = "./com/CCE_UVDIV_20570.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning28") { + source = "./com/CFAI_20569.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning29") { + source = "./com/CMC10_16403.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning30") { + source = "./com/CNR3_20598.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning31") { + source = "./com/CNR_H_20619.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning32") { + source = "./com/DCT_20616.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning33") { + source = "./com/DFLASH_16438.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning34") { + source = "./com/DFLASH_16438_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning35") { + source = "./com/D_ENVI_16437.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning36") { + source = "./com/EE_20577.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning37") { + source = "./com/FDR_20600.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning38") { + source = "./com/HIST2_16418.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning39") { + source = "./com/HSV_20621.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning40") { + source = "./com/IMBALANCE_20590.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning41") { + source = "./com/LSC_2D_16394.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning42") { + source = "./com/LSC_2D_16394_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning43") { + source = "./com/MFNR_20608.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning44") { + source = "./com/POST_CNR_H_20620.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning45") { + source = "./com/POST_EE_20610.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning46") { + source = "./com/PPE_20595.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning47") { + source = "./com/PYRAMID_OFFL_20615.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning48") { + source = "./com/PYRAMID_ONL_20614.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning49") { + source = "./com/RGBGAIN_16391.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning50") { + source = "./com/RGB_AFM_20565.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning51") { + source = "./com/RGB_DITHER_20561.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning52") { + source = "./com/RGB_GAM_16404.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning53") { + source = "./com/RGB_GTM_20618.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning54") { + source = "./com/RGB_LTM_20587.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning55") { + source = "./com/SW3DNR_20582.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning56") { + source = "./com/UV_CDN_20574.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning57") { + source = "./com/YNRS_20588.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning58") { + source = "./com/YNR_20576.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning59") { + source = "./com/YUV_NOISEFILTER_20579.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning60") { + source = "./com/Y_GAMMA_20597.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/com" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning61") { + source = "./other/captureinfo.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning62") { + source = "./other/libuse_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning63") { + source = "./other/raw_ioctrl.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning64") { + source = "./other/resolution_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning65") { + source = "./other/version_info.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/other" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning66") { + source = "./prv0/3DNR_20571.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning67") { + source = "./prv0/BAYER_NR_20591.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning68") { + source = "./prv0/BAYER_NR_20591_uiinput.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning69") { + source = "./prv0/BPC_20564.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning70") { + source = "./prv0/BWUD_20585.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning71") { + source = "./prv0/CCE_UVDIV_20570.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning72") { + source = "./prv0/CFAI_20569.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning73") { + source = "./prv0/CNR_H_20619.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning74") { + source = "./prv0/DCT_20616.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning75") { + source = "./prv0/EE_20577.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning76") { + source = "./prv0/IMBALANCE_20590.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning77") { + source = "./prv0/POST_CNR_H_20620.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning78") { + source = "./prv0/PPE_20595.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning79") { + source = "./prv0/PYRAMID_OFFL_20615.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning80") { + source = "./prv0/PYRAMID_ONL_20614.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning81") { + source = "./prv0/RGB_AFM_20565.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning82") { + source = "./prv0/RGB_DITHER_20561.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning83") { + source = "./prv0/SW3DNR_20582.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning84") { + source = "./prv0/UV_CDN_20574.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning85") { + source = "./prv0/YNR_20576.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + +ohos_prebuilt_etc("sp250a_tuning86") { + source = "./prv0/YUV_NOISEFILTER_20579.bin" + install_images = [ vendor_base_dir ] + module_install_dir = "firmware/sp250a/prv0" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} + + + + + +group("tuning_sp250a") { + deps = [ + ":sp250a_tuning1", + ":sp250a_tuning2", + ":sp250a_tuning3", + ":sp250a_tuning4", + ":sp250a_tuning5", + ":sp250a_tuning6", + ":sp250a_tuning7", + ":sp250a_tuning8", + ":sp250a_tuning9", + ":sp250a_tuning10", + ":sp250a_tuning11", + ":sp250a_tuning12", + ":sp250a_tuning13", + ":sp250a_tuning14", + ":sp250a_tuning15", + ":sp250a_tuning16", + ":sp250a_tuning17", + ":sp250a_tuning18", + ":sp250a_tuning19", + ":sp250a_tuning20", + ":sp250a_tuning21", + ":sp250a_tuning22", + ":sp250a_tuning23", + ":sp250a_tuning24", + ":sp250a_tuning25", + ":sp250a_tuning26", + ":sp250a_tuning27", + ":sp250a_tuning28", + ":sp250a_tuning29", + ":sp250a_tuning30", + ":sp250a_tuning31", + ":sp250a_tuning32", + ":sp250a_tuning33", + ":sp250a_tuning34", + ":sp250a_tuning35", + ":sp250a_tuning36", + ":sp250a_tuning37", + ":sp250a_tuning38", + ":sp250a_tuning39", + ":sp250a_tuning40", + ":sp250a_tuning41", + ":sp250a_tuning42", + ":sp250a_tuning43", + ":sp250a_tuning44", + ":sp250a_tuning45", + ":sp250a_tuning46", + ":sp250a_tuning47", + ":sp250a_tuning48", + ":sp250a_tuning49", + ":sp250a_tuning50", + ":sp250a_tuning51", + ":sp250a_tuning52", + ":sp250a_tuning53", + ":sp250a_tuning54", + ":sp250a_tuning55", + ":sp250a_tuning56", + ":sp250a_tuning57", + ":sp250a_tuning58", + ":sp250a_tuning59", + ":sp250a_tuning60", + ":sp250a_tuning61", + ":sp250a_tuning62", + ":sp250a_tuning63", + ":sp250a_tuning64", + ":sp250a_tuning65", + ":sp250a_tuning66", + ":sp250a_tuning67", + ":sp250a_tuning68", + ":sp250a_tuning69", + ":sp250a_tuning70", + ":sp250a_tuning71", + ":sp250a_tuning72", + ":sp250a_tuning73", + ":sp250a_tuning74", + ":sp250a_tuning75", + ":sp250a_tuning76", + ":sp250a_tuning77", + ":sp250a_tuning78", + ":sp250a_tuning79", + ":sp250a_tuning80", + ":sp250a_tuning81", + ":sp250a_tuning82", + ":sp250a_tuning83", + ":sp250a_tuning84", + ":sp250a_tuning85", + ":sp250a_tuning86", + ] +} + diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/GN_autoGen.sh b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/GN_autoGen.sh new file mode 100755 index 0000000000000000000000000000000000000000..6f62d3217f200fa39bcd069b18d298bd6d361543 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/GN_autoGen.sh @@ -0,0 +1,108 @@ +# set -x + +# OH平台tuning文件Makefile生成工具 +# by chenliu + +# 清在此处手动填写: +sensorName='sp250a' +install_images='vendor_base_dir' +part_name='product_laphone' +subsystem_name='product_laphone' + + + + + + + + +# ============================================================================================================== +# load tuning files +# ============================================================================================================== +touch BUILD.gn +# add 1st line +echo import\(\"\/\/build\/ohos\.gni\"\) > BUILD.gn + +data=$(find . -name "*"|grep -Ei "\.bin|\.xml|\.c") + +# get total line num (total file num) +fileNum=$(echo "$data"|grep -n ""|tail -n 1|sed 's/:.*//g') + +# ============================================================================================================== +# get tuning file name +# ============================================================================================================== +source=$( \ + # echo $data cannot remain line breaks, use echo "$data" + echo "$data" | \ + # add [source = "] before tuning file + sed 's/\.\// source = \"\.\//g' | \ + # add ["] after tuning file + sed 's/$/\"/g' \ +) +# ============================================================================================================== +# get tuning file path +# ============================================================================================================== +module_install_dir=$( \ + # echo $data cannot remain line breaks, use echo "$data" + echo "$data" | \ + sed 's/cfg\.xml/\/cfg\.xml/g' | \ + grep -o "\.\/.*\/" | \ + sed 's/\.\// module_install_dir = \"firmware\/'"${sensorName}"'\//g' | \ + sed 's/\/$/\"/g' | \ + sed 's/\/\///g' \ +) + +# add new line +echo>> ./BUILD.gn + +# ============================================================================================================== +# add tuning files into BUILD.gn +# ============================================================================================================== +var=1 +while [ $var -le $fileNum ]; +do + echo $(($fileNum - $var))" remains" + echo ohos_prebuilt_etc\(\""$sensorName"_tuning"$var"\"\) \{ >> ./BUILD.gn + # how to use varibles in sed: '"${var}"' + # how to get specific line of a varible: sed 'start,endp' + echo "$source"|sed -n ''"${var}"','"${var}"'p' >> ./BUILD.gn + echo " install_images = [ $install_images ]" >> ./BUILD.gn + echo "$module_install_dir"|sed -n ''"${var}"','"${var}"'p' >> ./BUILD.gn + echo " part_name = \"$part_name\"" >> ./BUILD.gn + echo " subsystem_name = \"$subsystem_name\"" >> ./BUILD.gn + echo " install_enable = true" >> ./BUILD.gn + echo \} >> ./BUILD.gn + # add new line + echo >> ./BUILD.gn + var=$(($var+1)); +done + + + +# add new line +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo >> ./BUILD.gn +echo group\(\"tuning_"$sensorName"\"\) \{ >> ./BUILD.gn +echo " deps = [" >> ./BUILD.gn + +# ============================================================================================================== +# add file deps in to BUILD.gn +# ============================================================================================================== +var=1 +while [ $var -le $fileNum ]; +do + echo $(($fileNum - $var))" remains" + echo " \":"$sensorName"_tuning"$var"\"," >> ./BUILD.gn + var=$(($var+1)); +done + +# ============================================================================================================== +# add brackets +# ============================================================================================================== +echo " ]" >> ./BUILD.gn +echo "}" >> ./BUILD.gn + +# add new line +echo >> ./BUILD.gn diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/cfg.xml b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/cfg.xml new file mode 100755 index 0000000000000000000000000000000000000000..7847c1d0d4c3f0114756bd092d38b64fbfe4ea80 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/cfg.xml @@ -0,0 +1,361 @@ + + + + sp250a + 0x000D0010 + 7 + + 0x0000000000000000 + 55 + 1600 + 1200 + + 0x505b + com + + + 0x5089 + com + + + 0x5008 + com + + + 0x4031 + com + + + 0x400e + com + + + 0x5009 + com + + + 0x5007 + com + + + 0x4033 + com + + + 0x4019 + com + + + 0x401a + com + + + 0x4030 + com + + + 0x5079 + com + + + 0x402f + com + + + 0x403b + com + + + 0x403d + com + + + 0x4032 + com + + + 0x400d + com + + + 0x5065 + com + + + 0x4002 + com + + + 0x5054 + com + + + 0x5069 + com + + + 0x4017 + com + + + 0x505e + com + + + 0x5059 + com + + + 0x4013 + com + + + 0x4036 + com + + + 0x5051 + com + + + 0x4035 + com + + + 0x5061 + com + + + 0x5078 + com + + + 0x4022 + com + + + 0x508d + com + + + 0x506e + com + + + 0x400a + com + + + 0x5063 + com + + + 0x506f + com + + + 0x5073 + com + + + 0x4007 + com + + + 0x5055 + com + + + 0x4014 + com + + + 0x508a + com + + + 0x506b + com + + + 0x5066 + com + + + 0x506c + com + + + 0x505a + com + + + 0x5060 + com + + + 0x5075 + com + + + 0x5076 + com + + + 0x508b + com + + + 0x5088 + com + + + 0x5080 + com + + + 0x508c + com + + + 0x5082 + com + + + 0x5087 + com + + + 0x5086 + com + + + + 0x0000010000000000 + 20 + 1600 + 1200 + + 0x505b + prv0 + + + 0x5054 + prv0 + + + 0x5069 + prv0 + + + 0x505e + prv0 + + + 0x5059 + prv0 + + + 0x5051 + prv0 + + + 0x5061 + prv0 + + + 0x506e + prv0 + + + 0x5063 + prv0 + + + 0x506f + prv0 + + + 0x5073 + prv0 + + + 0x5055 + prv0 + + + 0x5066 + prv0 + + + 0x505a + prv0 + + + 0x5060 + prv0 + + + 0x508b + prv0 + + + 0x5088 + prv0 + + + 0x508c + prv0 + + + 0x5087 + prv0 + + + 0x5086 + prv0 + + + + 0x0000020000000000 + 0 + 800 + 600 + + + 0x0000050000000000 + 0 + 1600 + 1200 + + + 0x0000060000000000 + 0 + 800 + 600 + + + 0x0000090000000000 + 0 + 1600 + 1200 + + + 0x00000A0000000000 + 0 + 800 + 600 + + diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3DNR_20571.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3DNR_20571.bin new file mode 100755 index 0000000000000000000000000000000000000000..9f43fb3941d7cd16810815ffd8357c7096886773 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3DNR_20571.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3D_LUT_20617.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3D_LUT_20617.bin new file mode 100755 index 0000000000000000000000000000000000000000..5de2220feff8ab6b8456722825e2006f433fb9d3 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/3D_LUT_20617.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/4IN1_20488.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/4IN1_20488.bin new file mode 100755 index 0000000000000000000000000000000000000000..f91f144d73d0fed144bcfe1c3b1710b4ee9fc222 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/4IN1_20488.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AEM_16398.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AEM_16398.bin new file mode 100755 index 0000000000000000000000000000000000000000..2ae051f091b9a6015c98cd427b08565ac959f814 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AEM_16398.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433.bin new file mode 100755 index 0000000000000000000000000000000000000000..5122f6b3528aca35906bdf53c15d744ffcc77ff5 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..7943abf14680462b457433d9593b54546a5cfd03 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_16433_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_ADAPT_20489.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_ADAPT_20489.bin new file mode 100755 index 0000000000000000000000000000000000000000..18f86312a5abeecedfe6963589dae314e67691c9 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_ADAPT_20489.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_SYNC_20487.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_SYNC_20487.bin new file mode 100755 index 0000000000000000000000000000000000000000..b7a1b138387d0855c8060f994b592992c5dff24a Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AE_SYNC_20487.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V1_16409.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V1_16409.bin new file mode 100755 index 0000000000000000000000000000000000000000..b535c0f6c0a806738fc8a84345277e6e2103a16e Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V1_16409.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V3_16410.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V3_16410.bin new file mode 100755 index 0000000000000000000000000000000000000000..2092adef51d933ad4d663edbbf48861f35389331 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFL_V3_16410.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFT_16432.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFT_16432.bin new file mode 100755 index 0000000000000000000000000000000000000000..7137d74de93d1b01d5564d9c1b2308b6ce8ce05f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AFT_16432.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AF_16435.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AF_16435.bin new file mode 100755 index 0000000000000000000000000000000000000000..7517c3eefc8366097d011adf98c71f2f2bd4fc3b Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AF_16435.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AI_PRO_20601.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AI_PRO_20601.bin new file mode 100755 index 0000000000000000000000000000000000000000..1683809ca31aa925e3c8598361ad9c1b638eb38d Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AI_PRO_20601.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ALSC_16431.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ALSC_16431.bin new file mode 100755 index 0000000000000000000000000000000000000000..cc507a1efcb10673abe76150e62f340a514b81e2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ALSC_16431.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ANTIFL_16443.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ANTIFL_16443.bin new file mode 100755 index 0000000000000000000000000000000000000000..81c5329f9c8ee94982cba3068f71384efa8d6344 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ANTIFL_16443.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ATM4GAMM_16445.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ATM4GAMM_16445.bin new file mode 100755 index 0000000000000000000000000000000000000000..ebca71aef9416dec2f6ce3a5b08f1af8c9ea2bd1 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/ATM4GAMM_16445.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWBC_16397.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWBC_16397.bin new file mode 100755 index 0000000000000000000000000000000000000000..c3f2245da082af61972577d9649d06d65e91b4cf Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWBC_16397.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWB_16434.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWB_16434.bin new file mode 100755 index 0000000000000000000000000000000000000000..f9a44bf914477fb22be3da1702d560412d861dcc Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/AWB_16434.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591.bin new file mode 100755 index 0000000000000000000000000000000000000000..bf4d92d6532381f4d4a4c2198df864d8db1bd8bc Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..89075c1f7f9f99492981c9711a8321d5be78fe62 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BAYER_NR_20591_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BCHS_20581.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BCHS_20581.bin new file mode 100755 index 0000000000000000000000000000000000000000..c8decaaadf099c2762c7f0353a4edac806b5e58c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BCHS_20581.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BLC_16386.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BLC_16386.bin new file mode 100755 index 0000000000000000000000000000000000000000..453b35f2f50ecda53da2be854ffe5187ce7b83d9 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BLC_16386.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BPC_20564.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BPC_20564.bin new file mode 100755 index 0000000000000000000000000000000000000000..ee6413c0dcd235c1c0c847e68d7d587b5adf0691 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BPC_20564.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BWUD_20585.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BWUD_20585.bin new file mode 100755 index 0000000000000000000000000000000000000000..60618661e47b54d590ed3a25877919392fb534b8 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/BWUD_20585.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_16407.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_16407.bin new file mode 100755 index 0000000000000000000000000000000000000000..90bf0cb16578c34e2b94d6ce603b5a184aff4f46 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_16407.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_UVDIV_20570.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_UVDIV_20570.bin new file mode 100755 index 0000000000000000000000000000000000000000..40e6fad9e0fc4ed2e5acd6bb567ee2b73d6f5501 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CCE_UVDIV_20570.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CFAI_20569.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CFAI_20569.bin new file mode 100755 index 0000000000000000000000000000000000000000..54060297316c5e8ce2cb6b448aa387211e11acaa Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CFAI_20569.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CMC10_16403.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CMC10_16403.bin new file mode 100755 index 0000000000000000000000000000000000000000..1c86ee1519fdc053495218c42f1ce19296dc65c2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CMC10_16403.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR3_20598.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR3_20598.bin new file mode 100755 index 0000000000000000000000000000000000000000..062e2f9ecf454f1d8458200f17ede305010723fb Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR3_20598.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR_H_20619.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR_H_20619.bin new file mode 100755 index 0000000000000000000000000000000000000000..1d820db2a72ecb16c5f32cd4f3338e68d5fc8a84 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/CNR_H_20619.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DCT_20616.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DCT_20616.bin new file mode 100755 index 0000000000000000000000000000000000000000..4288a11c4aba08250582878870066391301d2fb7 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DCT_20616.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438.bin new file mode 100755 index 0000000000000000000000000000000000000000..a0e7de9b61f38190128b14cee06d733683af65ae Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..66afd65f89ad85ba453dd1de77d64e23de394777 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/DFLASH_16438_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/D_ENVI_16437.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/D_ENVI_16437.bin new file mode 100755 index 0000000000000000000000000000000000000000..6e6551f72ad54a1ff3b311e6da32f4e98c63e2f0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/D_ENVI_16437.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/EE_20577.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/EE_20577.bin new file mode 100755 index 0000000000000000000000000000000000000000..7ce731beee440a8eebfd0000733abe1d23925a25 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/EE_20577.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/FDR_20600.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/FDR_20600.bin new file mode 100755 index 0000000000000000000000000000000000000000..3a08d63c05f81dee82d25dbb62747122fdf2bf5a Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/FDR_20600.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HIST2_16418.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HIST2_16418.bin new file mode 100755 index 0000000000000000000000000000000000000000..4be68ea0c328a08c0a4bc72436eaf01c18d1498c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HIST2_16418.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HSV_20621.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HSV_20621.bin new file mode 100755 index 0000000000000000000000000000000000000000..cd52b6ec51ed645a39f218f3abd3816fb19e02a4 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/HSV_20621.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/IMBALANCE_20590.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/IMBALANCE_20590.bin new file mode 100755 index 0000000000000000000000000000000000000000..584a2c3747fdead7005ff980896c58583f6abe92 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/IMBALANCE_20590.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394.bin new file mode 100755 index 0000000000000000000000000000000000000000..a96478e91ae8088fd7cbecc625de147de2d3befd Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..b04e68ca4b4a46a2a1b07b2bbe7ee84c75bd84fe Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/LSC_2D_16394_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/MFNR_20608.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/MFNR_20608.bin new file mode 100755 index 0000000000000000000000000000000000000000..97d1f5f949ae08c5d019492ce77f0a6400b699f4 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/MFNR_20608.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_CNR_H_20620.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_CNR_H_20620.bin new file mode 100755 index 0000000000000000000000000000000000000000..02016d11246268ae6f1c692ed77c709ec1036b49 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_CNR_H_20620.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_EE_20610.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_EE_20610.bin new file mode 100755 index 0000000000000000000000000000000000000000..22339a2525553b05b96d8d655817a1226677108b Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/POST_EE_20610.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PPE_20595.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PPE_20595.bin new file mode 100755 index 0000000000000000000000000000000000000000..0ed40dd06fe976557f6052e15d23479dc95d84ed Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PPE_20595.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_OFFL_20615.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_OFFL_20615.bin new file mode 100755 index 0000000000000000000000000000000000000000..5abb7a74b7757b0c76b2c2240610f3becfa97e50 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_OFFL_20615.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_ONL_20614.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_ONL_20614.bin new file mode 100755 index 0000000000000000000000000000000000000000..4ef8e46cfbf605b3d35e7c42a92c47d6198bf1a3 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/PYRAMID_ONL_20614.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGBGAIN_16391.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGBGAIN_16391.bin new file mode 100755 index 0000000000000000000000000000000000000000..7d8806171625756b3a1c2bcb86bcb2be60b6283c Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGBGAIN_16391.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_AFM_20565.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_AFM_20565.bin new file mode 100755 index 0000000000000000000000000000000000000000..431c69060b76ecbaebc46f20bf9bfdd74dc597e8 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_AFM_20565.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_DITHER_20561.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_DITHER_20561.bin new file mode 100755 index 0000000000000000000000000000000000000000..4417dbdb301c88bdad1a745c07766591ce1dec60 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_DITHER_20561.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GAM_16404.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GAM_16404.bin new file mode 100755 index 0000000000000000000000000000000000000000..fd2a86539f2083b4ea7234f4f22e430b0b11489f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GAM_16404.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GTM_20618.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GTM_20618.bin new file mode 100755 index 0000000000000000000000000000000000000000..283c69615bc5a12debb69a640ff80d5ae43b9232 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_GTM_20618.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_LTM_20587.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_LTM_20587.bin new file mode 100755 index 0000000000000000000000000000000000000000..6f97dd79efeb0078aaa0dbbb6eabdbc257496f83 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/RGB_LTM_20587.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/SW3DNR_20582.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/SW3DNR_20582.bin new file mode 100755 index 0000000000000000000000000000000000000000..3f871988038026e3ad796ed162ca97f67d554d75 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/SW3DNR_20582.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/UV_CDN_20574.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/UV_CDN_20574.bin new file mode 100755 index 0000000000000000000000000000000000000000..48ca9ae65e47ce949be0217d21fc699b96d03138 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/UV_CDN_20574.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNRS_20588.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNRS_20588.bin new file mode 100755 index 0000000000000000000000000000000000000000..78792ab084ee6232174c3e3b88c4b8c83aeee9fe Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNRS_20588.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNR_20576.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNR_20576.bin new file mode 100755 index 0000000000000000000000000000000000000000..7cd8521f6518c027a2f5bf21528394b8dd79fd8f Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YNR_20576.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YUV_NOISEFILTER_20579.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YUV_NOISEFILTER_20579.bin new file mode 100755 index 0000000000000000000000000000000000000000..055a73176dfbbd6861684353e90514c25708f8a5 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/YUV_NOISEFILTER_20579.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/Y_GAMMA_20597.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/Y_GAMMA_20597.bin new file mode 100755 index 0000000000000000000000000000000000000000..2f1278ebb41bec248ae65960c0d2a5310b7d44d2 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/com/Y_GAMMA_20597.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/captureinfo.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/captureinfo.bin new file mode 100755 index 0000000000000000000000000000000000000000..edbb7adf14d5643c151f34edebb23777027e6027 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/captureinfo.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/libuse_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/libuse_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..85793d2c766233dd94c98eb5368e0030e6a04614 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/libuse_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/raw_ioctrl.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/raw_ioctrl.bin new file mode 100755 index 0000000000000000000000000000000000000000..969007c54f062a8247d67cec0f0b2e3b7979bacd Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/raw_ioctrl.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/resolution_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/resolution_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..a98577ba10f7bf75526e39276f64f3bbc5a418c0 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/resolution_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/scenario_map.ini b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/scenario_map.ini new file mode 100755 index 0000000000000000000000000000000000000000..af50370a152488ab5179e67ca1a9ef527f705bb1 --- /dev/null +++ b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/scenario_map.ini @@ -0,0 +1,128 @@ +[App] +0=com +1=wechat +2=qq +3=tiktok +4=kuaishou +5=snapchat +6=facebook +7=whatsapp +8=instagram +9=messenger +10=thirdapp +11=factory +12=app-c1 +13=app-c2 +14=app-c3 +15=app-c4 +16=app-c5 + +[Mode] +0=com +1=prv0 +2=prv1 +3=prv2 +4=prv3 +5=cap0 +6=cap1 +7=cap2 +8=cap3 +9=video0 +10=video1 +11=video2 +12=video3 +13=video4 +14=video5 +15=mode-c1 +16=mode-c2 +17=mode-c3 +18=mode-c4 +19=mode-c5 + +[SimpleMode] +1=prv +5=cap +9=video +15=mode-c1 +16=mode-c2 +17=mode-c3 +18=mode-c4 +19=mode-c5 + +[AppMode] +0=com +1=night +2=bokeh +3=portrait +4=panorama +5=professional +6=sm60 +7=sm90 +8=sm120 +9=sm240 +10=sm480 +11=sm960 +12=continue +13=ultrares +14=qrcode +15=faceid +16=timelapsephotography +17=videocapture +18=doubleexposure +19=video-night +20=app-mode-c1 +21=app-mode-c2 +22=app-mode-c3 +23=app-mode-c4 +24=app-mode-c5 +25=app-mode-c6 +26=app-mode-c7 +27=app-mode-c8 + + +[Field00] +0=com +1=hdr +2=flash +3=eis +4=field00-c1 +5=field00-c2 +6=field00-c3 +7=field00-c4 +8=field00-c5 + +[Field01] +0=com +1=face +2=field01-c1 +3=field01-c2 +4=field01-c3 +5=field01-c4 +6=field01-c5 + +[Field02] +0=com +1=filter +2=facebeauty +3=video-hdr +4=video-hdr-ext +5=field02-c1 +6=field02-c2 +7=field02-c3 +8=field02-c4 +9=field02-c5 + +[Field03] +0=com +1=zoom +2=zoom2x +3=zoom4x +4=zoom6x +5=zoom8x +6=zoom10x +7=sr +8=field03-c1 +9=field03-c2 +10=field03-c3 +11=field03-c4 +12=field03-c5 \ No newline at end of file diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/version_info.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/version_info.bin new file mode 100755 index 0000000000000000000000000000000000000000..3006c44d33b99d3b6c56e7d73beefd0e38663a00 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/other/version_info.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/3DNR_20571.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/3DNR_20571.bin new file mode 100755 index 0000000000000000000000000000000000000000..9f43fb3941d7cd16810815ffd8357c7096886773 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/3DNR_20571.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591.bin new file mode 100755 index 0000000000000000000000000000000000000000..6c0fddb82949fc7f433ef48954d40e7766af8544 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591_uiinput.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591_uiinput.bin new file mode 100755 index 0000000000000000000000000000000000000000..89075c1f7f9f99492981c9711a8321d5be78fe62 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BAYER_NR_20591_uiinput.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BPC_20564.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BPC_20564.bin new file mode 100755 index 0000000000000000000000000000000000000000..ee6413c0dcd235c1c0c847e68d7d587b5adf0691 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BPC_20564.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BWUD_20585.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BWUD_20585.bin new file mode 100755 index 0000000000000000000000000000000000000000..60618661e47b54d590ed3a25877919392fb534b8 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/BWUD_20585.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CCE_UVDIV_20570.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CCE_UVDIV_20570.bin new file mode 100755 index 0000000000000000000000000000000000000000..40e6fad9e0fc4ed2e5acd6bb567ee2b73d6f5501 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CCE_UVDIV_20570.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CFAI_20569.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CFAI_20569.bin new file mode 100755 index 0000000000000000000000000000000000000000..54060297316c5e8ce2cb6b448aa387211e11acaa Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CFAI_20569.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CNR_H_20619.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CNR_H_20619.bin new file mode 100755 index 0000000000000000000000000000000000000000..1d820db2a72ecb16c5f32cd4f3338e68d5fc8a84 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/CNR_H_20619.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/DCT_20616.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/DCT_20616.bin new file mode 100755 index 0000000000000000000000000000000000000000..4288a11c4aba08250582878870066391301d2fb7 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/DCT_20616.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/EE_20577.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/EE_20577.bin new file mode 100755 index 0000000000000000000000000000000000000000..7ce731beee440a8eebfd0000733abe1d23925a25 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/EE_20577.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/IMBALANCE_20590.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/IMBALANCE_20590.bin new file mode 100755 index 0000000000000000000000000000000000000000..584a2c3747fdead7005ff980896c58583f6abe92 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/IMBALANCE_20590.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/POST_CNR_H_20620.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/POST_CNR_H_20620.bin new file mode 100755 index 0000000000000000000000000000000000000000..02016d11246268ae6f1c692ed77c709ec1036b49 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/POST_CNR_H_20620.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PPE_20595.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PPE_20595.bin new file mode 100755 index 0000000000000000000000000000000000000000..0ed40dd06fe976557f6052e15d23479dc95d84ed Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PPE_20595.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_OFFL_20615.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_OFFL_20615.bin new file mode 100755 index 0000000000000000000000000000000000000000..5abb7a74b7757b0c76b2c2240610f3becfa97e50 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_OFFL_20615.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_ONL_20614.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_ONL_20614.bin new file mode 100755 index 0000000000000000000000000000000000000000..4ef8e46cfbf605b3d35e7c42a92c47d6198bf1a3 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/PYRAMID_ONL_20614.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_AFM_20565.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_AFM_20565.bin new file mode 100755 index 0000000000000000000000000000000000000000..431c69060b76ecbaebc46f20bf9bfdd74dc597e8 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_AFM_20565.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_DITHER_20561.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_DITHER_20561.bin new file mode 100755 index 0000000000000000000000000000000000000000..4417dbdb301c88bdad1a745c07766591ce1dec60 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/RGB_DITHER_20561.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/SW3DNR_20582.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/SW3DNR_20582.bin new file mode 100755 index 0000000000000000000000000000000000000000..3f871988038026e3ad796ed162ca97f67d554d75 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/SW3DNR_20582.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/UV_CDN_20574.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/UV_CDN_20574.bin new file mode 100755 index 0000000000000000000000000000000000000000..48ca9ae65e47ce949be0217d21fc699b96d03138 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/UV_CDN_20574.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YNR_20576.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YNR_20576.bin new file mode 100755 index 0000000000000000000000000000000000000000..62ec1c570dd1f675cb59777838b3ace88c232e47 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YNR_20576.bin differ diff --git a/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YUV_NOISEFILTER_20579.bin b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YUV_NOISEFILTER_20579.bin new file mode 100755 index 0000000000000000000000000000000000000000..055a73176dfbbd6861684353e90514c25708f8a5 Binary files /dev/null and b/laphone/camera/sensor/its_param/qogirn6pro/Superpix/sp250a/prv0/YUV_NOISEFILTER_20579.bin differ diff --git a/laphone/camera/sensor/lib/libcamsensor.z.so b/laphone/camera/sensor/lib/libcamsensor.z.so new file mode 100755 index 0000000000000000000000000000000000000000..96ec4523692c5b688160d410b277d90f524a8f11 Binary files /dev/null and b/laphone/camera/sensor/lib/libcamsensor.z.so differ diff --git a/laphone/camera/sensor/otp_parser/BUILD.gn b/laphone/camera/sensor/otp_parser/BUILD.gn index d539fc9b8f9fdddc635bb06adcaca9584ac53414..c11be22f4e431e30f79af3d36bd870d656f11ddf 100644 --- a/laphone/camera/sensor/otp_parser/BUILD.gn +++ b/laphone/camera/sensor/otp_parser/BUILD.gn @@ -2,47 +2,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") #import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("cam_otp_parser") { - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - ] - - include_dirs = [ - "./../../common/inc", - "./", - "./../../libcaminiparser", - "./../../utils/camxmlparser/inc/libxml2/", - ] - - sources = [ - "./otp_parser_common.c", - "./otp_parser_map_v04.c", - "./otp_parser_map_v05.c", - "./otp_parser_map_v10.c", - "./otp_parser_map_v11.c", - "./otp_parser_xml_v20.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", - "//third_party/libxml2:libxml2", - ] - - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true +ohos_prebuilt_shared_library( "cam_otp_parser") { + source = "lib/libcam_otp_parser.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } diff --git a/laphone/camera/sensor/otp_parser/lib/libcam_otp_parser.z.so b/laphone/camera/sensor/otp_parser/lib/libcam_otp_parser.z.so new file mode 100755 index 0000000000000000000000000000000000000000..138e91ac1227292c4ad8377d281eb2f26e26110f Binary files /dev/null and b/laphone/camera/sensor/otp_parser/lib/libcam_otp_parser.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/BUILD.gn b/laphone/camera/sensor/sensor_drv/BUILD.gn index 6347924914428f1b2200a2a8b47cb4abe5300bd5..fb18c9a17079eded8878284bb30b5b3f0c4960c8 100644 --- a/laphone/camera/sensor/sensor_drv/BUILD.gn +++ b/laphone/camera/sensor/sensor_drv/BUILD.gn @@ -2,374 +2,100 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") import("//vendor/$product_company/$product_name/camera/camera.gni") -ohos_shared_library("sensor_s5kgw1sp03") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Samsung/s5kgw1sp03/", - "./../inc", - "./../../kiface/interface/", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Samsung/s5kgw1sp03/sensor_s5kgw1sp03_mipi_raw.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_s5kgw1sp03") { + source = "lib/libsensor_s5kgw1sp03.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_imx616") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Sony/imx616", - "./../inc", - "./../../kiface/interface/", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Sony/imx616/sensor_imx616_mipi_raw.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_imx616") { + source = "lib/libsensor_imx616.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_imx586") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Sony/imx586", - "./../inc", - "./../../kiface/interface", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Sony/imx586/sensor_imx586_mipi_raw.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_imx586") { + source = "lib/libsensor_imx586.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_gc05a2") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Galaxycore/gc05a2/", - "./../inc", - "./../../kiface/interface", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Galaxycore/gc05a2/sensor_gc05a2_mipi_raw.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_gc05a2") { + source = "lib/libsensor_gc05a2.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_ov13853_m1") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/OmniVision/ov13853_m1", - "./../inc", - "./../../kiface/interface", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/OmniVision/ov13853_m1/sensor_ov13853_mipi_raw.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_ov13853_m1") { + source = "lib/libsensor_ov13853_m1.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_gc8034_cxt") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Galaxycore/gc8034_cxt", - "./../inc", - "./../../video", - "./../../modules/interface", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../$OEM_DIR/inc", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Galaxycore/gc8034_cxt/sensor_gc8034_cxt_mipi_raw.c" - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("sensor_gc8034_cxt") { + source = "lib/libsensor_gc8034_cxt.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("sensor_gc5035_lh_m5182") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Galaxycore/gc5035_lh_m5182", - "./../inc", - "./../../video", - "./../../modules/interface", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../$OEM_DIR/inc", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - ] - - sources = [ - "./classic/Galaxycore/gc5035_lh_m5182/sensor_gc5035_lh_m5182_mipi_raw.c" - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("vcm_lc898229") { + source = "lib/libvcm_lc898229.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("vcm_lc898229") { - - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] - - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] - - include_dirs = [ - "./classic/Samsung/s5kgw1sp03/", - "./../inc", - "./../../kiface/interface/", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - "./../af_drv/", - ] - - sources = [ - "./../af_drv/lc898229/vcm_lc898229.c", - ] - - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true +ohos_prebuilt_shared_library("otp_general") { + source = "lib/libotp_general.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } -ohos_shared_library("otp_general") { +ohos_prebuilt_shared_library("sensor_imx111") { + source = "lib/libsensor_imx111.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} - public_configs = [ "//vendor/$product_company/$product_name/camera:camera_public_config" ] +ohos_prebuilt_shared_library("sensor_sp250a") { + source = "lib/libsensor_sp250a.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} - cflags = [ "-w", "-g", "-O", "-fPIC", "-Wno-unused-variable" ] +ohos_prebuilt_shared_library("vcm_dw9714") { + source = "lib/libvcm_dw9714.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} - include_dirs = [ - "./../inc", - "./../../kiface/interface/", - "./../../modules/interface", - "./../../$OEM_DIR/inc", - "./../../$ISPDRV_DIR/driver/inc", - "./../../$ISPDRV_DIR/middleware/inc", - "./../../$ISPDRV_DIR/isp_tune", - "./../../common/inc", - "./../../$ISPALG_DIR/common/inc", - "./../../$ISPALG_DIR/ae/sprd/ae/inc", - "./../../libcaminiparser", - "./../otp_drv/", - "./../otp_parser/", - "./../otp_drv/driver/general", - ] +ohos_prebuilt_shared_library("sensor_gc5035_lh_m5182") { + source = "lib/libsensor_gc5035_lh_m5182.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true +} - sources = [ - "./../otp_drv/driver/general/general_otp_drv.c", - ] - external_deps = [ - "hilog:libhilog" - ] - - deps = [ - "//vendor/$product_company/$product_name/camera/common:camcommon", - "//vendor/$product_company/$product_name/camera/sensor:camsensor", - "//vendor/$product_company/$product_name/camera/sensor/otp_parser:cam_otp_parser", - "//third_party/libxml2:libxml2", - "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", - ] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -} diff --git a/laphone/camera/sensor/sensor_drv/Sprdroid.mk b/laphone/camera/sensor/sensor_drv/Sprdroid.mk index f7617c0a4897a8768fc674b509005f39273f0dbd..73d1ffcc63abb86d8dd35cc83da658a4baab6cc1 100644 --- a/laphone/camera/sensor/sensor_drv/Sprdroid.mk +++ b/laphone/camera/sensor/sensor_drv/Sprdroid.mk @@ -34,7 +34,7 @@ sensor_empty:= sensor_space:=$(sensor_empty) #$(warning $(LOCAL_PATH)) -#SENSOR_PREFIX_DIR := vendor/sprd/modules/libcamera/sensor +#SENSOR_PREFIX_DIR := vendor/hys/modules/libcamera/sensor split_sensor:=$(sort $(subst $(sensor_comma),$(sensor_space) ,$(shell echo $(SENSOR_FILE_COMPILER)))) #$(warning $(split_sensor)) diff --git a/laphone/camera/sensor/sensor_drv/classic/Sony/imx111/Android.mk b/laphone/camera/sensor/sensor_drv/classic/Sony/imx111/Android.mk new file mode 100755 index 0000000000000000000000000000000000000000..ff22ac933dc0aff92d9ae7a24965bf7538bad8f8 --- /dev/null +++ b/laphone/camera/sensor/sensor_drv/classic/Sony/imx111/Android.mk @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +LOCAL_PATH:= $(call my-dir) +UPPER_FILE_PATH := $(strip $(shell dirname $(LOCAL_PATH))) +PROJECT_NAME := $(notdir $(UPPER_FILE_PATH)) +$(warning agenew PROJECT_NAME PROJECT_NAME $(PROJECT_NAME)) +ifeq ($(strip $(TARGET_PRODUCT)), $(PROJECT_NAME)) +include $(CLEAR_VARS) +include $(LOCAL_PATH)/../../../../../SprdCtrl.mk + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../inc \ + $(LOCAL_PATH)/../../../../../$(OEM_DIR)/inc \ + $(LOCAL_PATH)/../../../../../common/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/isp_tune \ + $(LOCAL_PATH)/../../../../../$(ISPALG_DIR)/common/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/middleware/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/driver/inc \ + $(LOCAL_PATH)/../../../../../kernel_module/interface \ + $(TARGET_BSP_UAPI_PATH)/kernel/usr/include/video \ + sensor_imx111_mipi_raw.h + + +LOCAL_SRC_FILES := sensor_imx111_mipi_raw.c + +LOCAL_SHARED_LIBRARIES := libcutils libcamcommon libdl libutils libcamsensor liblog libxml2 + +ifeq (1, $(strip $(shell expr $(ANDROID_MAJOR_VER) \>= 8))) +LOCAL_PROPRIETARY_MODULE := true +endif + +LOCAL_MODULE := libsensor_imx111 +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_TAGS := optional +include $(BUILD_SHARED_LIBRARY) + +#include $(call first-makefiles-under,$(LOCAL_PATH)) +endif diff --git a/laphone/camera/sensor/sensor_drv/classic/Superpix/sp250a/Android.mk b/laphone/camera/sensor/sensor_drv/classic/Superpix/sp250a/Android.mk new file mode 100755 index 0000000000000000000000000000000000000000..7c2037b610975c29e4e92733073016e66715d1f3 --- /dev/null +++ b/laphone/camera/sensor/sensor_drv/classic/Superpix/sp250a/Android.mk @@ -0,0 +1,51 @@ +# +# Copyright (C) 2008 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +LOCAL_PATH:= $(call my-dir) +UPPER_FILE_PATH := $(strip $(shell dirname $(LOCAL_PATH))) +PROJECT_NAME := $(notdir $(UPPER_FILE_PATH)) +$(warning agenew PROJECT_NAME PROJECT_NAME $(PROJECT_NAME)) +ifeq ($(strip $(TARGET_PRODUCT)), $(PROJECT_NAME)) +include $(CLEAR_VARS) +include $(LOCAL_PATH)/../../../../../SprdCtrl.mk + +LOCAL_C_INCLUDES := $(LOCAL_PATH)/../../../../inc \ + $(LOCAL_PATH)/../../../../../$(OEM_DIR)/inc \ + $(LOCAL_PATH)/../../../../../common/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/isp_tune \ + $(LOCAL_PATH)/../../../../../$(ISPALG_DIR)/common/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/middleware/inc \ + $(LOCAL_PATH)/../../../../../$(ISPDRV_DIR)/driver/inc \ + $(LOCAL_PATH)/../../../../../kernel_module/interface \ + $(TARGET_BSP_UAPI_PATH)/kernel/usr/include/video \ + sensor_sp250a_mipi_raw.h + + +LOCAL_SRC_FILES := sensor_sp250a_mipi_raw.c + +LOCAL_SHARED_LIBRARIES := libcutils libcamcommon libdl libutils libcamsensor liblog libxml2 + +ifeq (1, $(strip $(shell expr $(ANDROID_MAJOR_VER) \>= 8))) +LOCAL_PROPRIETARY_MODULE := true +endif + +LOCAL_MODULE := libsensor_sp250a +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_TAGS := optional +include $(BUILD_SHARED_LIBRARY) + +#include $(call first-makefiles-under,$(LOCAL_PATH)) +endif diff --git a/laphone/camera/sensor/sensor_drv/lib/libotp_general.z.so b/laphone/camera/sensor/sensor_drv/lib/libotp_general.z.so new file mode 100755 index 0000000000000000000000000000000000000000..9d6e44a9b090c1fba8804a228e2d5c686ce7469c Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libotp_general.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_gc05a2.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_gc05a2.z.so new file mode 100755 index 0000000000000000000000000000000000000000..dd361c445f601e2b0fe16f1c4f750d6f272ac3c7 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_gc05a2.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_imx111.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx111.z.so new file mode 100755 index 0000000000000000000000000000000000000000..083e3338869407a490e2879ec1e3112f94a0b270 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx111.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_imx586.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx586.z.so new file mode 100755 index 0000000000000000000000000000000000000000..1a69a310868114f6c942f95c12b9588fd7a5288e Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx586.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_imx616.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx616.z.so new file mode 100755 index 0000000000000000000000000000000000000000..3634a471088866b762f6ebbf43728dadaab56835 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_imx616.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_ov13853_m1.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_ov13853_m1.z.so new file mode 100755 index 0000000000000000000000000000000000000000..0abd8e71e357cf819c86f9b2f53a8d7715faf943 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_ov13853_m1.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libsensor_sp250a.z.so b/laphone/camera/sensor/sensor_drv/lib/libsensor_sp250a.z.so new file mode 100755 index 0000000000000000000000000000000000000000..3e79097cb7ea2b147797dc9aa0ef272b171758e2 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libsensor_sp250a.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libvcm_dw9714.z.so b/laphone/camera/sensor/sensor_drv/lib/libvcm_dw9714.z.so new file mode 100755 index 0000000000000000000000000000000000000000..b046db30a1e06dd5c228e614072dea02761a8fc2 Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libvcm_dw9714.z.so differ diff --git a/laphone/camera/sensor/sensor_drv/lib/libvcm_lc898229.z.so b/laphone/camera/sensor/sensor_drv/lib/libvcm_lc898229.z.so new file mode 100755 index 0000000000000000000000000000000000000000..d64662e769893b60a844331a65d58a859b63412b Binary files /dev/null and b/laphone/camera/sensor/sensor_drv/lib/libvcm_lc898229.z.so differ diff --git a/laphone/camera/utils/camxmlparser/BUILD.gn b/laphone/camera/utils/camxmlparser/BUILD.gn index 4a906ec0525d27618b5b82a80b5520f187639760..42ff3030025c649b138187571e9bacfa74c0ca83 100644 --- a/laphone/camera/utils/camxmlparser/BUILD.gn +++ b/laphone/camera/utils/camxmlparser/BUILD.gn @@ -1,39 +1,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") -ohos_shared_library("camxmlparser") { - - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-unused-variable", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - "-ULIBXML_ICU_ENABLED" - ] - - include_dirs = [ - "inc", - "inc/libxml2" - ] - - sources = [ - "src/xmlData/xmlData.c", - "src/interInterface/xmlReaderCore.c", - "src/interInterface/readEccCore.c", - "src/interInterface/xmlUtil.c", - "src/exInterface/exInterface.c", - ] +ohos_prebuilt_shared_library("camxmlparser") { + source = "lib/libcamxmlparser.z.so" + part_name = "product_laphone" + subsystem_name = "product_laphone" +} - external_deps = [ - "hilog:libhilog" - ] - deps = [ "//third_party/libxml2:libxml2" ] - part_name = "libcamera" - subsystem_name = "product_laphone" -# output_extension = "so" -# output_prefix_override = true -} diff --git a/laphone/camera/utils/camxmlparser/lib/libcamxmlparser.z.so b/laphone/camera/utils/camxmlparser/lib/libcamxmlparser.z.so new file mode 100755 index 0000000000000000000000000000000000000000..4edeeec9fd5a190eee298a62bc690e815a720178 Binary files /dev/null and b/laphone/camera/utils/camxmlparser/lib/libcamxmlparser.z.so differ diff --git a/laphone/camera/utils/yuv2rgb/BUILD.gn b/laphone/camera/utils/yuv2rgb/BUILD.gn index 1470f2b13079e5455c2720ea5e913d9623f0c1ca..9caf9b6a71702d51f2b73f1dc5e5a87ba85bc5d7 100644 --- a/laphone/camera/utils/yuv2rgb/BUILD.gn +++ b/laphone/camera/utils/yuv2rgb/BUILD.gn @@ -1,31 +1,11 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") -ohos_shared_library("camv4l2yuv2rgb") { - - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - ] - - include_dirs = [ - "UnisocV4l2YUV2RGB.h" - ] - - sources = [ - "UnisocV4l2YUV2RGB.cpp", - ] - - deps = [] - install_images = [ vendor_base_dir ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true -# output_extension = "so" -# output_prefix_override = true - +ohos_prebuilt_shared_library("camv4l2yuv2rgb") { + source = "lib/libcamv4l2yuv2rgb.z.so" + install_images = [ vendor_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true } + diff --git a/laphone/camera/utils/yuv2rgb/lib/libcamv4l2yuv2rgb.z.so b/laphone/camera/utils/yuv2rgb/lib/libcamv4l2yuv2rgb.z.so new file mode 100755 index 0000000000000000000000000000000000000000..43b24a34c12a33cdf60ffb96c7c0a048d8219b28 Binary files /dev/null and b/laphone/camera/utils/yuv2rgb/lib/libcamv4l2yuv2rgb.z.so differ diff --git a/laphone/config.json b/laphone/config.json old mode 100644 new mode 100755 index 688d6f8355668dc651e5ed56f0342d1f33251f5e..d9764826c94327c24836bba0067c22bd0b776cba --- a/laphone/config.json +++ b/laphone/config.json @@ -30,6 +30,10 @@ { "component": "netmanager_ext", "features": [] + }, + { + "component": "bluetooth_service", + "features": [] } ] }, @@ -101,7 +105,8 @@ { "component": "wpa_supplicant-2.9", "features": [ - "wpa_supplicant_driver_nl80211 = true" + "wpa_supplicant_driver_nl80211 = true", + "wpa_supplicant_driver_nl80211_sprd = true" ] } ] @@ -141,11 +146,31 @@ { "subsystem": "product_laphone", "components": [ + { + "component": "modem", + "features": [] + }, + { + "component": "radio", + "features": [] + }, { "component": "product_laphone", "features": [] } ] + }, + { + "subsystem": "communication", + "components": [ + { + "component": "wifi", + "features": [ + "wifi_feature_non_seperate_p2p = true", + "wifi_feature_non_hdf_driver = true" + ] + } + ] } ] } diff --git a/laphone/dm_config/display_manager_config.xml b/laphone/dm_config/display_manager_config.xml index c49e980e1efe52c249ff20d887e8b29366f692a9..43e9d1e3efbeeb18b89456a538a68402769e6143 100644 --- a/laphone/dm_config/display_manager_config.xml +++ b/laphone/dm_config/display_manager_config.xml @@ -15,7 +15,7 @@ --> - 300 + 400 0 diff --git a/laphone/etc/BUILD.gn b/laphone/etc/BUILD.gn index 2d3318ace318558911fda8533a34084cb7c0db55..8bada32ce00e6592636fc498c048e22668c9ea3e 100644 --- a/laphone/etc/BUILD.gn +++ b/laphone/etc/BUILD.gn @@ -14,17 +14,19 @@ import("//build/ohos.gni") ohos_prebuilt_etc("para_for_chip_prod") { - source = "./para/hardware_uis7885.para" - install_images = [ chip_prod_base_dir ] - relative_install_dir = "para" + source = "./para/hardware_laphone.para" + install_images = [ chip_prod_base_dir, chipset_base_dir ] + relative_install_dir = "param" part_name = "product_laphone" + subsystem_name = "product_laphone" } ohos_prebuilt_etc("para_for_sys_prod") { - source = "./para/product_uis7885.para" + source = "./para/product_laphone.para" install_images = [ sys_prod_base_dir ] - relative_install_dir = "para" + relative_install_dir = "param" part_name = "product_laphone" + subsystem_name = "product_laphone" } group("product_etc_conf") { diff --git a/laphone/etc/para/hardware_uis7885.para b/laphone/etc/para/hardware_laphone.para similarity index 79% rename from laphone/etc/para/hardware_uis7885.para rename to laphone/etc/para/hardware_laphone.para index 433865451bacb804b74f294f75ae2e9bc59d88ed..c300ea230f4dbd553423bdcbc68e5063e60c1457 100644 --- a/laphone/etc/para/hardware_uis7885.para +++ b/laphone/etc/para/hardware_laphone.para @@ -12,3 +12,7 @@ # limitations under the License. const.product.hardwareversion=default +const.product.name="开发者手机" +const.product.model=LHT16 +const.product.manufacturer=laval.csdn.net +const.product.software.version=OpenHarmony 4.0.10.308 \ No newline at end of file diff --git a/laphone/etc/para/product_uis7885.para b/laphone/etc/para/product_laphone.para similarity index 95% rename from laphone/etc/para/product_uis7885.para rename to laphone/etc/para/product_laphone.para index 919aecb8c3a2132dbb1c3b60edd19f036229de61..9c5360a00c87f2f991e6a8f211d51640d994a54d 100644 --- a/laphone/etc/para/product_uis7885.para +++ b/laphone/etc/para/product_laphone.para @@ -12,4 +12,4 @@ # limitations under the License. const.product.brand=default -const.build.product=default +const.build.product=default \ No newline at end of file diff --git a/laphone/hals/audio/BUILD.gn b/laphone/hals/audio/BUILD.gn new file mode 100644 index 0000000000000000000000000000000000000000..405f97b33560f0d4f19ea39b1df29a718bd342f9 --- /dev/null +++ b/laphone/hals/audio/BUILD.gn @@ -0,0 +1,123 @@ +# Copyright (C) 2023 HiHope Open Source Organization . +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +import("//build/ohos.gni") + +ohos_prebuilt_etc("hdf_alsa_paths_json") { + source = "alsa_paths.json" + + relative_install_dir = "hdfconfig" + install_images = [ chipset_base_dir ] + subsystem_name = "hdf" + part_name = "product_laphone" +} + +ohos_prebuilt_etc("hdf_alsa_adapter_json") { + source = "alsa_adapter.json" + + relative_install_dir = "hdfconfig" + install_images = [ chipset_base_dir ] + subsystem_name = "hdf" + part_name = "product_laphone" +} + +ohos_prebuilt_etc("hdf_audio_effect_json") { + source = "audio_effect.json" + + relative_install_dir = "hdfconfig" + install_images = [ chip_prod_base_dir ] + subsystem_name = "hdf" + part_name = "product_laphone" +} + +ohos_prebuilt_etc("hdf_audio_path_json") { + source = "audio_paths.json" + + relative_install_dir = "hdfconfig" + install_images = [ chipset_base_dir ] + subsystem_name = "hdf" + part_name = "product_laphone" +} + +ohos_prebuilt_etc("hdf_audio_adapter_json") { + source = "audio_adapter.json" + + relative_install_dir = "hdfconfig" + install_images = [ chipset_base_dir ] + subsystem_name = "hdf" + part_name = "product_laphone" +} + +ohos_prebuilt_etc("audio_policy_config") { + if (target_cpu == "arm64") { + source = "config/arm64/audio_policy_config.xml" + } else { + source = "config/arm/audio_policy_config.xml" + } + subsystem_name = "hdf" + relative_install_dir = "audio" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" +} + +ohos_prebuilt_etc("audio_param_audio_structure") { + source = "param/audio_structure" + subsystem_name = "hdf" + relative_install_dir = "audio" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" +} + +ohos_prebuilt_etc("audio_param_cvs") { + source = "param/cvs" + subsystem_name = "hdf" + relative_install_dir = "audio" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" +} + +ohos_prebuilt_etc("audio_param_dsp_smartamp") { + source = "param/dsp_smartamp" + subsystem_name = "hdf" + relative_install_dir = "audio" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" +} + +ohos_prebuilt_etc("audio_param_dsp_vbc") { + source = "param/dsp_vbc" + subsystem_name = "hdf" + relative_install_dir = "audio" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" +} + +group("hdf_audio_config") { + deps = [ + ":hdf_alsa_adapter_json", + ":hdf_alsa_paths_json", + ":audio_policy_config", + ":hdf_audio_adapter_json", + ":hdf_audio_effect_json", + ":hdf_audio_path_json", + ":audio_param_audio_structure", + ":audio_param_cvs", + ":audio_param_dsp_smartamp", + ":audio_param_dsp_vbc", + ] +} + +group("hdi_service_st") { + testonly = true + deps = [ "//drivers/peripheral/audio/test/systemtest/hdi_service/rk3568:hdi_service_hardwaredependence" ] +} diff --git a/laphone/hals/audio/alsa_adapter.json b/laphone/hals/audio/alsa_adapter.json index 61744cb5eb289ddfa102b70abc25e0e5f1cdc7b2..d69fe8352bc1b2b63f63f5b42e0ddc54dc4a074a 100644 --- a/laphone/hals/audio/alsa_adapter.json +++ b/laphone/hals/audio/alsa_adapter.json @@ -1,7 +1,32 @@ { - "adapters": [{ - "name": "primary", - "cardId": "sprdphonesc2730", - "daiId": "" - }] + "adapters": [ + { + "name": "primary", + "cardId": "sprdphonesc2730", + "daiId": "", + "simple_mixer_ctl_volume": { + "playback": [ + { + "name": "EAR Gain EAR" + }, + { + "name": "DAC Gain DAC" + } + ], + "capture": [ + { + "name": "ADC_1 Gain ADC_1" + }, + { + "name": "ADC_2 Gain ADC_2" + } + ] + } + }, + { + "name": "hdmi", + "cardId": "rockchiphdmi", + "daiId": "" + } + ] } diff --git a/laphone/hals/audio/alsa_paths.json b/laphone/hals/audio/alsa_paths.json new file mode 100644 index 0000000000000000000000000000000000000000..35d24dfacb86d116e156f86d40c74792eb68ed74 --- /dev/null +++ b/laphone/hals/audio/alsa_paths.json @@ -0,0 +1,2496 @@ +{ + "hdf_audio_codec_primary_dev0": [ + { + "deep-buffer-playback": [ + { + "headphones": [ + { + "name": "Playback Path", + "value": "2" + } + ], + "Speaker": [ + { + "name": "VBC_IIS_TX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_MASTER_ENALBE", + "value": "0" + }, + { + "name": "VBC_IIS_MST_SEL_0_TYPE", + "value": "0" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_MST_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC0_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC2_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_SRC_BT_DAC", + "value": "0" + }, + { + "name": "VBC_SRC_BT_ADC", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "0" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "7" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "ag_iis2_ext_sel_v2", + "value": "0" + }, + { + "name": "VBC DAC0 DSP MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC1 DSP MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC0 AUD MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC0 AUD23 MDG Set", + "value": "0 0" + }, + { + "name": "VBC_UL_MUTE", + "value": "0" + }, + { + "name": "VBC_DL_MUTE", + "value": "0" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_LRMOD_SEL", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "S_VOICE_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_FAST_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_NORMAL_AP01_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_CAPTURE_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOICE_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_BTSCO_CAP_DSP_C SWITCH", + "value": "0" + }, + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "SmartAmp Boost", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "IVSENCE_FUNC_DSP", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC ADC0 DG Set", + "value": "127 127" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + } + ], + "Mic": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC_IIS_INF_SYS_SEL", + "value": "1" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "ADC_1 Mixer MIC1PGA_1 Switch", + "value": "1" + }, + { + "name": "AUD ADC0L Switch", + "value": "1" + }, + { + "name": "AUD ADC0R Switch", + "value": "1" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "6" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + }, + { + "name": "ADC_3 Mixer MIC3PGA_3 Switch", + "value": "0" + }, + { + "name": "Aux Mic2 Function", + "value": "0" + } + ] + } + ], + "low-latency-communication": [ + { + "Speaker": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "SmartAmp Boost", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "IVSENCE_FUNC_DSP", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC ADC0 DG Set", + "value": "127 127" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "0" + } + ], + "Headphones": [ + { + "name": "agdsp_access_en", + "value": "1" + } + ], + "Mic": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC_IIS_INF_SYS_SEL", + "value": "1" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "ADC_1 Mixer MIC1PGA_1 Switch", + "value": "1" + }, + { + "name": "AUD ADC0L Switch", + "value": "1" + }, + { + "name": "AUD ADC0R Switch", + "value": "1" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "6" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + } + ] + } + ], + "ringtone-playback": [ + { + "Speaker": [ + { + "name": "VBC_IIS_TX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_MASTER_ENALBE", + "value": "0" + }, + { + "name": "VBC_IIS_MST_SEL_0_TYPE", + "value": "0" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_MST_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC0_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC2_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_SRC_BT_DAC", + "value": "0" + }, + { + "name": "VBC_SRC_BT_ADC", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "0" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "7" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "ag_iis2_ext_sel_v2", + "value": "0" + }, + { + "name": "VBC DAC0 DSP MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC1 DSP MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC0 AUD MDG Set", + "value": "0 0" + }, + { + "name": "VBC DAC0 AUD23 MDG Set", + "value": "0 0" + }, + { + "name": "VBC_UL_MUTE", + "value": "0" + }, + { + "name": "VBC_DL_MUTE", + "value": "0" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_LRMOD_SEL", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "S_VOICE_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_FAST_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_NORMAL_AP01_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_CAPTURE_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOICE_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_BTSCO_CAP_DSP_C SWITCH", + "value": "0" + }, + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "SmartAmp Boost", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "IVSENCE_FUNC_DSP", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC ADC0 DG Set", + "value": "127 127" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + } + ], + "Mic": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC_IIS_INF_SYS_SEL", + "value": "1" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "ADC_1 Mixer MIC1PGA_1 Switch", + "value": "1" + }, + { + "name": "AUD ADC0L Switch", + "value": "1" + }, + { + "name": "AUD ADC0R Switch", + "value": "1" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "6" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + } + ] + } + ], + "voice-call": [ + { + "Speaker": [ + { + "name": "VBC_IIS_TX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_MASTER_ENALBE", + "value": "0" + }, + { + "name": "VBC_IIS_MST_SEL_0_TYPE", + "value": "0" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_MST_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC0_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC2_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_SRC_BT_DAC", + "value": "0" + }, + { + "name": "VBC_SRC_BT_ADC", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "6" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "7" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "ag_iis2_ext_sel_v2", + "value": "0" + }, + { + "name": "VBC_UL_MUTE", + "value": "0" + }, + { + "name": "VBC_DL_MUTE", + "value": "0" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_LRMOD_SEL", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "S_VOICE_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_FAST_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_NORMAL_AP01_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_CAPTURE_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOICE_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_BTSCO_CAP_DSP_C SWITCH", + "value": "0" + }, + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC ADC3 DG Set", + "value": "24 24" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC_CUSTM_DEV_CHANGE", + "value": "3" + }, + { + "name": "VBC_SYSTEM_DEV_CHANGE", + "value": "3" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "DAHP OS D", + "value": "5" + }, + { + "name": "ADD0 DATA SEL", + "value": "1" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_CAP_C SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "ADC_1 Mixer MIC1PGA_1 Switch", + "value": "1" + }, + { + "name": "AUD ADC0L Switch", + "value": "1" + }, + { + "name": "AUD ADC0R Switch", + "value": "1" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "HPL EAR Sel", + "value": "1" + }, + { + "name": "VBC_MUX_ADC3", + "value": "4" + }, + { + "name": "NXP Profile Select", + "value": "151584773" + }, + { + "name": "DSP VBC Profile Select", + "value": "1078657024" + }, + { + "name": "Audio Structure Profile Select", + "value": "151584773" + }, + { + "name": "VBC DAC1 DG Set", + "value": "24 24" + }, + { + "name": "VBC ST DG Set", + "value": "24 24" + }, + { + "name": "VBC ADC2 DG Set", + "value": "35 35" + } + ], + "Earpiece": [ + { + "name": "VBC_IIS_TX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_MASTER_ENALBE", + "value": "0" + }, + { + "name": "VBC_IIS_MST_SEL_0_TYPE", + "value": "0" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_MST_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX0_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX1_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC0_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC2_IIS_PORT_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_SRC_BT_DAC", + "value": "0" + }, + { + "name": "VBC_SRC_BT_ADC", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "6" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "7" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "6" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "ag_iis2_ext_sel_v2", + "value": "0" + }, + { + "name": "VBC_UL_MUTE", + "value": "0" + }, + { + "name": "VBC_DL_MUTE", + "value": "0" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_RX2_LRMOD_SEL", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "S_VOICE_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_FAST_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_NORMAL_AP01_P_BT SWITCH", + "value": "0" + }, + { + "name": "S_CAPTURE_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOICE_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_VOIP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_LOOP_C_BT SWITCH", + "value": "0" + }, + { + "name": "S_BTSCO_CAP_DSP_C SWITCH", + "value": "0" + }, + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC ADC3 DG Set", + "value": "24 24" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC_CUSTM_DEV_CHANGE", + "value": "3" + }, + { + "name": "VBC_SYSTEM_DEV_CHANGE", + "value": "3" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "1" + }, + { + "name": "ADC1 LRCLK Select", + "value": "1" + }, + { + "name": "DAHP OS D", + "value": "5" + }, + { + "name": "ADD0 DATA SEL", + "value": "1" + }, + { + "name": "Earpiece Function", + "value": "1" + }, + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_CAP_C SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "ADC_1 Mixer MIC1PGA_1 Switch", + "value": "1" + }, + { + "name": "AUD ADC0L Switch", + "value": "1" + }, + { + "name": "AUD ADC0R Switch", + "value": "1" + }, + { + "name": "AO Mixer AOL Switch", + "value": "0" + }, + { + "name": "AO Mixer AOR Switch", + "value": "0" + }, + { + "name": "AOL EAR Sel", + "value": "0" + }, + { + "name": "DA AOR Switch", + "value": "0" + }, + { + "name": "EAR_HPL Mixer DACHPL Switch", + "value": "1" + }, + { + "name": "HPL EAR Sel", + "value": "0" + }, + { + "name": "VBC_MUX_ADC3", + "value": "4" + }, + { + "name": "NXP Profile Select", + "value": "33685509" + }, + { + "name": "DSP VBC Profile Select", + "value": "33685509" + }, + { + "name": "Audio Structure Profile Select", + "value": "33685509" + }, + { + "name": "VBC DAC1 DG Set", + "value": "24 24" + }, + { + "name": "VBC ST DG Set", + "value": "24 24" + }, + { + "name": "VBC ADC2 DG Set", + "value": "35 35" + } + ], + "Bluetooth": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_WD_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_MASTER_ENALBE", + "value": "1" + }, + { + "name": "VBC_IIS_MST_SEL_0_TYPE", + "value": "1" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "1" + }, + { + "name": "VBC_MUX_MST_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_IIS_RX0_WD_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX1_WD_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX2_WD_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_ADC0_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_MUX_ADC1_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_MUX_ADC2_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_MUX_ADC3_IIS_PORT_SEL", + "value": "3" + }, + { + "name": "VBC_SRC_BT_DAC", + "value": "8000" + }, + { + "name": "VBC_SRC_BT_ADC", + "value": "8000" + }, + { + "name": "VBC_VOLUME", + "value": "8" + }, + { + "name": "ADC_1 Gain ADC_1 Capture Volume", + "value": "7" + }, + { + "name": "ADC_2 Gain ADC_2 Capture Volume", + "value": "7" + }, + { + "name": "ADC_3 Gain ADC_3 Capture Volume", + "value": "7" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "0" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis2_ext_sel_v2", + "value": "0" + }, + { + "name": "SYS_IIS0", + "value": "3" + }, + { + "name": "VBC_UL_MUTE", + "value": "0" + }, + { + "name": "VBC_DL_MUTE", + "value": "0" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "0" + }, + { + "name": "VBC_IIS_RX2_LRMOD_SEL", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "ADC LRCLK Select", + "value": "0" + }, + { + "name": "ADC1 LRCLK Select", + "value": "0" + }, + { + "name": "S_VOICE_P_BT SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_BT SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_BT SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_BT SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_BT SWITCH", + "value": "1" + }, + { + "name": "S_CAPTURE_BT SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_C_BT SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_C_BT SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_C_BT SWITCH", + "value": "1" + }, + { + "name": "S_BTSCO_CAP_DSP_C SWITCH", + "value": "1" + } + ], + "Mic": [ + { + "name": "Mic Function", + "value": "1" + }, + { + "name": "ADC_3 Mixer MIC3PGA_3 Switch", + "value": "1" + }, + { + "name": "Aux Mic2 Function", + "value": "1" + } + ], + "Bluetooth_SCO_Headset": [ + { + "name": "agdsp_access_en", + "value": "1" + } + ] + } + ], + "low-latency-noirq-playback": [ + { + "Speaker": [ + { + "name": "agdsp_access_en", + "value": "1" + }, + { + "name": "agdsp_access_a2dp_en", + "value": "1" + }, + { + "name": "VBC_IIS_TX0_LRMOD_SEL", + "value": "1" + }, + { + "name": "VBC_IIS_TX1_WD_SEL", + "value": "1" + }, + { + "name": "DAC Gain DAC Playback Volume", + "value": "2" + }, + { + "name": "Speaker Function", + "value": "1" + }, + { + "name": "S_NORMAL_AP01_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_NORMAL_AP23_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_OFFLOAD_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOIP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_LOOP_P_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_FM_DSP_CODEC SWITCH", + "value": "1" + }, + { + "name": "S_VOICE_PCM_P SWITCH", + "value": "1" + }, + { + "name": "S_FAST_P_SMART_AMP SWITCH", + "value": "1" + }, + { + "name": "VBC_MUX_DAC0_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_DAC1_IIS_PORT_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS0_PORT_DO_SEL", + "value": "0" + }, + { + "name": "VBC_MUX_IIS2_PORT_DO_SEL", + "value": "2" + }, + { + "name": "VBC_MUX_IIS3_PORT_DO_SEL", + "value": "2" + }, + { + "name": "SmartAmp Boost", + "value": "0" + }, + { + "name": "DAC LRCLK Select", + "value": "0" + }, + { + "name": "AO Gain AO Playback Volume", + "value": "4" + }, + { + "name": "HPL Gain HPL Playback Volume", + "value": "12" + }, + { + "name": "HPR Gain HPR Playback Volume", + "value": "12" + }, + { + "name": "EAR Gain EAR Playback Volume", + "value": "12" + }, + { + "name": "AO Mixer AOL Switch", + "value": "1" + }, + { + "name": "AO Mixer AOR Switch", + "value": "1" + }, + { + "name": "AOL EAR Sel", + "value": "1" + }, + { + "name": "DA AOR Switch", + "value": "1" + }, + { + "name": "IVSENCE_FUNC_DSP", + "value": "1" + }, + { + "name": "ag_iis0_ext_sel_v2", + "value": "1" + }, + { + "name": "ag_iis1_ext_sel_v2", + "value": "1" + }, + { + "name": "VBC ADC0 DG Set", + "value": "127 127" + }, + { + "name": "aw87xxx_profile_switch_0", + "value": "0" + }, + { + "name": "VBC_VOLUME", + "value": "0" + } + ], + "Headphones": [ + { + "name": "agdsp_access_en", + "value": "1" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/laphone/hals/audio/audio_effect.json b/laphone/hals/audio/audio_effect.json new file mode 100644 index 0000000000000000000000000000000000000000..c176049c75f94b50ded205cbf4f3c23ddd2724e8 --- /dev/null +++ b/laphone/hals/audio/audio_effect.json @@ -0,0 +1,15 @@ +{ + "effects":[ + { + "name":"mock_effect", + "library":"libmock_effect_lib", + "effectId":"aaaabbbb-8888-9999-6666-aabbccdd9966ff" + } + ], + "libraries":[ + { + "name":"libmock_effect_lib", + "path":"libmock_effect_lib" + } + ] +} \ No newline at end of file diff --git a/laphone/audio/arm/audio_policy_config.xml b/laphone/hals/audio/config/arm/audio_policy_config.xml similarity index 96% rename from laphone/audio/arm/audio_policy_config.xml rename to laphone/hals/audio/config/arm/audio_policy_config.xml index 6862aaf0c00a57bc5c3824e744d59c57f0147b51..6f3eb8d50ea3e4fce0654b44ed26cb8f2f323ece 100644 --- a/laphone/audio/arm/audio_policy_config.xml +++ b/laphone/hals/audio/config/arm/audio_policy_config.xml @@ -23,7 +23,7 @@ - + diff --git a/laphone/audio/arm64/audio_policy_config.xml b/laphone/hals/audio/config/arm64/audio_policy_config.xml similarity index 90% rename from laphone/audio/arm64/audio_policy_config.xml rename to laphone/hals/audio/config/arm64/audio_policy_config.xml index 8e3caca550dcd59ae2c3452358ea0b32f9fbfabd..8e133e39651567d81449e9f168939cde04c69e45 100644 --- a/laphone/audio/arm64/audio_policy_config.xml +++ b/laphone/hals/audio/config/arm64/audio_policy_config.xml @@ -16,14 +16,14 @@ - + - + - + - + diff --git a/laphone/hals/audio/param/audio_structure b/laphone/hals/audio/param/audio_structure new file mode 100644 index 0000000000000000000000000000000000000000..d104ae2d26727f23d24283076f42fb17f3cad794 Binary files /dev/null and b/laphone/hals/audio/param/audio_structure differ diff --git a/laphone/hals/audio/param/cvs b/laphone/hals/audio/param/cvs new file mode 100644 index 0000000000000000000000000000000000000000..31f232da365ca7b5f0a2b18baf796b2f32df7666 Binary files /dev/null and b/laphone/hals/audio/param/cvs differ diff --git a/laphone/hals/audio/param/dsp_smartamp b/laphone/hals/audio/param/dsp_smartamp new file mode 100644 index 0000000000000000000000000000000000000000..a47b78513ca4a118827631fe9764522daad8b823 Binary files /dev/null and b/laphone/hals/audio/param/dsp_smartamp differ diff --git a/laphone/hals/audio/param/dsp_vbc b/laphone/hals/audio/param/dsp_vbc new file mode 100644 index 0000000000000000000000000000000000000000..403cd114cc3747b20b18a6a7902542a3bf6e7738 Binary files /dev/null and b/laphone/hals/audio/param/dsp_vbc differ diff --git a/laphone/hals/audio/product.gni b/laphone/hals/audio/product.gni index 75a5784fb8d41f57692102f98589c3d04703c71a..3f9ab6f9fc757a49b025ec4bbfec7bdd1bce70df 100644 --- a/laphone/hals/audio/product.gni +++ b/laphone/hals/audio/product.gni @@ -12,8 +12,10 @@ # limitations under the License. enable_audio_alsa_mode = true -drivers_peripheral_audio_hdf_proxy_stub = true -drivers_peripheral_audio_hal_notsupport_pathselect = false +drivers_peripheral_audio_feature_hdf_proxy_stub = true +drivers_peripheral_audio_feature_hal_notsupport_pathselect = false enable_audio_analog_headset = true -drivers_peripheral_audio_policy_config = true -drivers_peripheral_audio_alsa_lib = true +drivers_peripheral_audio_feature_policy_config = true +drivers_peripheral_audio_feature_alsa_lib = true +drivers_peripheral_audio_feature_effect = true + diff --git a/laphone/hdf_config/khdf/device_info/device_info.hcs b/laphone/hdf_config/khdf/device_info/device_info.hcs index d61a7eefd8514d9daf04f8ee7730f65785d5fd16..06315f6483778ae3184a9faad89b6de42eb63b98 100644 --- a/laphone/hdf_config/khdf/device_info/device_info.hcs +++ b/laphone/hdf_config/khdf/device_info/device_info.hcs @@ -393,6 +393,17 @@ deviceMatchAttr = "hdf_sensor_accel_mxc6655xa_driver"; } } + device_sensor_sc7a20e :: device { + device0 :: deviceNode { + policy = 1; + priority = 120; + preload = 0; + permission = 0664; + moduleName = "HDF_SENSOR_ACCEL_SC7A20E"; + serviceName = "hdf_accel_sc7a20e"; + deviceMatchAttr = "hdf_sensor_accel_sc7a20e_driver"; + } + } device_sensor_als :: device { device0 :: deviceNode { policy = 1; diff --git a/laphone/hdf_config/khdf/hdf_hcs.hcb b/laphone/hdf_config/khdf/hdf_hcs.hcb new file mode 100644 index 0000000000000000000000000000000000000000..de1ebb03b3e42bf118a5c3d23f889ede69acef14 Binary files /dev/null and b/laphone/hdf_config/khdf/hdf_hcs.hcb differ diff --git a/laphone/hdf_config/khdf/sensor/accel/sc7a20e_config.hcs b/laphone/hdf_config/khdf/sensor/accel/sc7a20e_config.hcs new file mode 100755 index 0000000000000000000000000000000000000000..d68dbced738a79592e060f0d6d91029989a47fee --- /dev/null +++ b/laphone/hdf_config/khdf/sensor/accel/sc7a20e_config.hcs @@ -0,0 +1,71 @@ +#include "../sensor_common.hcs" +root { + accel_sc7a20e_chip_config : sensorConfig { + match_attr = "hdf_sensor_accel_sc7a20e_driver"; + sensorInfo :: sensorDeviceInfo { + sensorName = "accelerometer"; + vendorName = "silan"; // max string length is 16 bytes + sensorTypeId = 1; // enum SensorTypeTag + sensorId = 1; // user define sensor id + power = 170; + minDelay = 5000000; // nanosecond + maxDelay = 320000000; // nanosecond + } + sensorBusConfig :: sensorBusInfo { + busType = 0; // 0:i2c 1:spi + busNum = 2; + busAddr = 0x18; + regWidth = 1; // 1byte + } + sensorIdAttr :: sensorIdInfo { + chipName = "lsm6dsl"; + chipIdRegister = 0x0f; + chipIdValue = 0x11; + } + + sensorDirection { + direction = 1; // chip direction range of value:0-7 + /* 1:negative 0:positive + 0:AXIS_X 1:AXIS_Y 2:AXIS_Z + */ + /* sign[AXIS_X], sign[AXIS_Y], sign[AXIS_Z], map[AXIS_X], map[AXIS_Y], map[AXIS_Z] */ + convert = [ + 0, 0, 0, 0, 1, 2, + 1, 0, 0, 1, 0, 2, + 0, 0, 1, 0, 1, 2, + 0, 1, 0, 1, 0, 2, + 1, 0, 1, 0, 1, 2, + 0, 0, 1, 1, 0, 2, + 0, 1, 1, 0, 1, 2, + 1, 1, 1, 1, 0, 2 + ]; + } + + sensorRegConfig { + /* regAddr: register address + value: config register value + len: size of value + mask: mask of value + delay: config register delay time (ms) + opsType: enum SensorOpsType 0-none 1-read 2-write 3-read_check 4-update_bit + calType: enum SensorBitCalType 0-none 1-set 2-revert 3-xor 4-left shift 5-right shift + shiftNum: shift bits + debug: 0-no debug 1-debug + save: 0-no save 1-save + */ + /* regAddr, value, mask, len, delay, opsType, calType, shiftNum, debug, save */ + initSeqConfig = [ + 0x20, 0x07, 0xff, 1, 5, 2, 0, 0, 0, 0, + 0x21, 0x00, 0xff, 1, 5, 2, 0, 0, 0, 0, + 0x22, 0x00, 0xff, 1, 5, 2, 0, 0, 0, 0, + 0x23, 0x80, 0xff, 1, 5, 2, 0, 0, 0, 0 + ]; + enableSeqConfig = [ + 0x20, 0x57, 0xff, 1, 5, 2, 0, 0, 0, 0 + ]; + disableSeqConfig = [ + 0x20, 0x00, 0xff, 1, 5, 2, 0, 0, 0, 0 + ]; + } + } +} diff --git a/laphone/hdf_config/khdf/sensor/sensor_config.hcs b/laphone/hdf_config/khdf/sensor/sensor_config.hcs index da4a471890b7bdde02b4034c092265f0d25bb84d..2da56e9e437a2ef4e9d3d674973a877a64d11f62 100644 --- a/laphone/hdf_config/khdf/sensor/sensor_config.hcs +++ b/laphone/hdf_config/khdf/sensor/sensor_config.hcs @@ -1,5 +1,6 @@ #include "accel/bmi160_config.hcs" #include "accel/mxc6655xa_config.hcs" +#include "accel/sc7a20e_config.hcs" #include "als/bh1745_config.hcs" #include "proximity/proximity_apds9960_config.hcs" #include "magnetic/magnetic_lsm303_config.hcs" \ No newline at end of file diff --git a/laphone/hdf_config/uhdf/camera/hdi_impl/camera_host_config.hcs b/laphone/hdf_config/uhdf/camera/hdi_impl/camera_host_config.hcs index b252a07868acc2fc9db84b221c0b51aee1ae2e68..2d0e9fe140c6bacaacbede1018ad87028ac3732e 100644 --- a/laphone/hdf_config/uhdf/camera/hdi_impl/camera_host_config.hcs +++ b/laphone/hdf_config/uhdf/camera/hdi_impl/camera_host_config.hcs @@ -1,5 +1,8 @@ root { module="sample"; + vdiLibList = [ + "libcamera_host_vdi_impl_1.0.z.so" + ]; camera_host_config { match_attr = "camera_host_interface"; template ability { @@ -125,7 +128,103 @@ root { ability_01 :: ability { logicCameraId = "lcam001"; physicsCameraIds = [ - "CAMERA_FIRST", + "CAMERA_FIRST" + ]; + metadata { + aeAvailableAntiBandingModes = [ + "OHOS_CAMERA_AE_ANTIBANDING_MODE_OFF" + ]; + aeAvailableModes = ["OHOS_CAMERA_AE_MODE_OFF"]; + availableFpsRange = [5, 10]; + cameraPosition = "OHOS_CAMERA_POSITION_BACK"; + cameraType = "OHOS_CAMERA_TYPE_WIDE_ANGLE"; + cameraConnectionType ="OHOS_CAMERA_CONNECTION_TYPE_BUILTIN"; + cameraMemoryType ="OHOS_CAMERA_MEMORY_MMAP"; + faceDetectMaxNum = "10"; + aeCompensationRange = [0, 0]; + aeCompensationSteps = [0, 0]; + availableAwbModes = [ + "OHOS_CAMERA_AWB_MODE_OFF" + ]; + sensitivityRange = [32, 2400]; + faceDetectMode = "OHOS_CAMERA_FACE_DETECT_MODE_OFF"; + availableCharacteristicsKeys = [ + "OHOS_CONTROL_AE_AVAILABLE_ANTIBANDING_MODES", + "OHOS_CONTROL_AE_AVAILABLE_MODES", + "OHOS_ABILITY_FPS_RANGES", + "OHOS_CONTROL_AE_COMPENSATION_RANGE", + "OHOS_CONTROL_AE_COMPENSATION_STEP", + "OHOS_CONTROL_AWB_AVAILABLE_MODES", + "OHOS_JPEG_AVAILABLE_THUMBNAIL_SIZES", + "OHOS_JPEG_MAX_SIZE", + "OHOS_SENSOR_INFO_PIXEL_ARRAY_SIZE", + "OHOS_SENSOR_INFO_ACTIVE_ARRAY_SIZE", + "OHOS_SENSOR_INFO_SENSITIVITY_RANGE", + "OHOS_SENSOR_INFO_PHYSICAL_SIZE", + ]; + availableRequestKeys = [ + "OHOS_CONTROL_AE_MODE", + "OHOS_CONTROL_AE_EXPOSURE_COMPENSATION", + "OHOS_CONTROL_AE_TARGET_FPS_RANGE", + "OHOS_CONTROL_AE_ANTIBANDING_MODE", + "OHOS_CONTROL_AWB_MODE", + "OHOS_CONTROL_AWB_LOCK", + "OHOS_STATISTICS_FACE_DETECT_MODE" + ]; + availableResultKeys = [ + "OHOS_CONTROL_AE_LOCK", + "OHOS_CONTROL_AWB_LOCK", + "OHOS_SENSOR_EXPOSURE_TIME", + "OHOS_JPEG_SIZE", + "OHOS_JPEG_QUALITY", + "OHOS_JPEG_ORIENTATION" + ]; + focalLength = "24.0"; + focusAvailableModes = [ + "OHOS_CAMERA_FOCUS_MODE_MANUAL", + "OHOS_CAMERA_FOCUS_MODE_CONTINUOUS_AUTO", + "OHOS_CAMERA_FOCUS_MODE_AUTO", + "OHOS_CAMERA_FOCUS_MODE_LOCKED" + ]; + exposureAvailableModes = [ + "OHOS_CAMERA_EXPOSURE_MODE_MANUAL", + "OHOS_CAMERA_EXPOSURE_MODE_CONTINUOUS_AUTO", + "OHOS_CAMERA_EXPOSURE_MODE_LOCKED", + "OHOS_CAMERA_EXPOSURE_MODE_AUTO" + ]; + meterAvailableModes = [ + "OHOS_CAMERA_SPOT_METERING", + "OHOS_CAMERA_REGION_METERING", + "OHOS_CAMERA_OVERALL_METERING" + ]; + flashAvailableModes = [ + "OHOS_CAMERA_FLASH_MODE_CLOSE", + "OHOS_CAMERA_FLASH_MODE_OPEN", + "OHOS_CAMERA_FLASH_MODE_AUTO", + "OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN" + ]; + mirrorSupported = "OHOS_CAMERA_MIRROR_OFF"; + basicAvailableConfigurations = [3, 1280, 960, 4, 3280, 2464]; + extendAvailableConfigurations = [0, 0, 1, 640, 480, 0, -1, 1, 1, 640, 480, 30, -1, 2, 4, 1280, 960, 0, -1, -1]; + sensorOrientationSupported = "90"; + videoStabilizationAvailableModes = [ + "OHOS_CAMERA_VIDEO_STABILIZATION_OFF" + ]; + flashAvailable = "OHOS_CAMERA_FLASH_FALSE"; + afAvailable = [ + "OHOS_CAMERA_AF_MODE_OFF" + ]; + zoomRatioRange = [ + "1.0", + "1.0" + ]; + jpegOrientation= "270"; + jpegQuality= "2"; + } + } + ability_02 :: ability { + logicCameraId = "lcam002"; + physicsCameraIds = [ "CAMERA_SECOND" ]; metadata { @@ -202,7 +301,8 @@ root { "OHOS_CAMERA_FLASH_MODE_ALWAYS_OPEN" ]; mirrorSupported = "OHOS_CAMERA_MIRROR_OFF"; - basicAvailableConfigurations = [3, 1920, 1080, 4, 1920, 1080]; + basicAvailableConfigurations = [3, 1280, 960, 4, 1600, 1200]; + extendAvailableConfigurations = [0, 0, 1, 640, 480, 0, -1, 1, 1, 640, 480, 30, -1, 2, 4, 1280, 960, 0, -1, -1]; sensorOrientationSupported = "90"; videoStabilizationAvailableModes = [ "OHOS_CAMERA_VIDEO_STABILIZATION_OFF" @@ -216,6 +316,7 @@ root { "1.0" ]; jpegOrientation= "270"; + jpegQuality= "2"; } } } diff --git a/laphone/hdf_config/uhdf/camera/pipeline_core/config.hcs b/laphone/hdf_config/uhdf/camera/pipeline_core/config.hcs index 1296777837abc02c2a1e8d14dd0e9cae58c4d405..f887ba5b3426ccb2d1c107d4c9348337c623f2b4 100644 --- a/laphone/hdf_config/uhdf/camera/pipeline_core/config.hcs +++ b/laphone/hdf_config/uhdf/camera/pipeline_core/config.hcs @@ -542,22 +542,6 @@ root { v4l2_source :: node_spec { name = "v4l2_source#0"; status = "new"; - out_port_0 :: port_spec { - name = "out0"; - peer_port_name = "in0"; - peer_port_node_name = "fork#0"; - direction = 1; - } - } - fork :: node_spec { - name = "fork#0"; - status = "new"; - in_port_0 :: port_spec { - name = "in0"; - peer_port_name = "out0"; - peer_port_node_name = "v4l2_source#0"; - direction = 0; - } out_port_0 :: port_spec { name = "out0"; peer_port_name = "in0"; @@ -577,7 +561,7 @@ root { in_port_0 :: port_spec { name = "in0"; peer_port_name = "out1"; - peer_port_node_name = "fork#0"; + peer_port_node_name = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { @@ -593,7 +577,7 @@ root { in_port_0 :: port_spec { name = "in0"; peer_port_name = "out0"; - peer_port_node_name = "fork#0"; + peer_port_node_name = "v4l2_source#0"; direction = 0; } out_port_0 :: port_spec { diff --git a/laphone/hdf_config/uhdf/device_info.hcs b/laphone/hdf_config/uhdf/device_info.hcs index b9444355f3b8df1a04f534d05caa0eaf0a865b19..74962d0ad5340900d51184359dd8d2f857e767fd 100644 --- a/laphone/hdf_config/uhdf/device_info.hcs +++ b/laphone/hdf_config/uhdf/device_info.hcs @@ -153,9 +153,9 @@ } } audio :: host { - hostName = "audio_hdi_server_host"; + hostName = "audio_host"; priority = 50; - gid = ["audio_hdi_server_host", "uhdf_driver", "root", "audio"]; + gid = ["audio_host", "uhdf_driver", "root", "audio"]; audio_device :: device { device0 :: deviceNode { policy = 2; @@ -192,10 +192,26 @@ device0 :: deviceNode { policy = 2; priority = 100; - moduleName = "libaudio_manager_service.z.so"; + moduleName = "libaudio_primary_driver.z.so"; serviceName = "audio_manager_service"; } } + effect_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libeffect_model_service.z.so"; + serviceName = "effect_model_service"; + } + } + trigger_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + moduleName = "libintell_voice_trigger_driver.z.so"; + serviceName = "intell_voice_trigger_manager_service"; + } + } } hdi_server :: host { hostName = "camera_host"; @@ -364,6 +380,28 @@ } } } + + distributed_audio_host :: host { + hostName = "daudio_host"; + priority = 50; + distributed_audio_device :: device { + device0 :: deviceNode { + policy = 2; + priority = 100; + preload = 2; + moduleName = "libdaudio_primary_driver.z.so"; + serviceName = "daudio_primary_service"; + } + device1 :: deviceNode { + policy = 2; + priority = 100; + preload = 2; + moduleName = "libdaudio_ext_driver.z.so"; + serviceName = "daudio_ext_service"; + } + } + } + face_auth :: host { hostName = "face_auth_host"; priority = 50; @@ -382,8 +420,8 @@ pin_auth :: host { hostName = "pin_auth_host"; priority = 50; - uid = "useriam"; - gid = ["useriam"]; + uid = "pin_auth_host"; + gid = ["pin_auth_host"]; pin_auth_device :: device { device0 :: deviceNode { policy = 2; @@ -397,8 +435,8 @@ user_auth :: host { hostName = "user_auth_host"; priority = 50; - uid = "useriam"; - gid = ["useriam"]; + uid = "user_auth_host"; + gid = ["user_auth_host"]; user_auth_device :: device { device0 :: deviceNode { policy = 2; diff --git a/laphone/modem/BUILD.gn b/laphone/modem/BUILD.gn index 3fd1804e3f0348adc898603378f268b784b928a8..c1d47b76346683d7d9568818b89f209104b3133b 100644 --- a/laphone/modem/BUILD.gn +++ b/laphone/modem/BUILD.gn @@ -16,7 +16,6 @@ import("//build/ohos.gni") import("//build/ohos.gni") - ohos_prebuilt_etc("modem.cfg") { source = "etc/modem.cfg" relative_install_dir = "init" @@ -26,80 +25,80 @@ ohos_prebuilt_etc("modem.cfg") { part_name = "modem" } -# ohos_prebuilt_etc("modem_ril.ini") { -# source = "etc/modem_ril.ini" -# module_install_dir = "etc/modem" -# install_images = [ "system" ] -# install_enable = true -# subsystem_name = "product_laphone" -# part_name = "modem" -# } +ohos_prebuilt_etc("modem_ril.ini") { + source = "etc/modem_ril.ini" + module_install_dir = "etc/modem" + install_images = [ "system" ] + install_enable = true + subsystem_name = "product_laphone" + part_name = "modem" +} -# ohos_prebuilt_etc("modem_cp_info") { -# source = "etc/modem_cp_info.xml" -# module_install_dir = "etc" -# install_images = [ "vendor" ] -# install_enable = true -# subsystem_name = "product_laphone" -# part_name = "modem" -# } +ohos_prebuilt_etc("modem_cp_info") { + source = "etc/modem_cp_info.xml" + module_install_dir = "etc" + install_images = [ "vendor" ] + install_enable = true + subsystem_name = "product_laphone" + part_name = "modem" +} -# ohos_prebuilt_etc("modem_sp_info") { -# source = "etc/modem_sp_info.xml" -# module_install_dir = "etc" -# install_images = [ "vendor" ] -# install_enable = true -# subsystem_name = "product_laphone" -# part_name = "modem" -# } +ohos_prebuilt_etc("modem_sp_info") { + source = "etc/modem_sp_info.xml" + module_install_dir = "etc" + install_images = [ "vendor" ] + install_enable = true + subsystem_name = "product_laphone" + part_name = "modem" +} -# ohos_prebuilt_etc("modem_ch_info") { -# source = "etc/modem_ch_info.xml" -# module_install_dir = "etc" -# install_images = [ "vendor" ] -# install_enable = true -# subsystem_name = "product_laphone" -# part_name = "modem" -# } +ohos_prebuilt_etc("modem_ch_info") { + source = "etc/modem_ch_info.xml" + module_install_dir = "etc" + install_images = [ "vendor" ] + install_enable = true + subsystem_name = "product_laphone" + part_name = "modem" +} -# ohos_prebuilt_etc("modem_control") { -# source = "bin/modem_control.bin" -# module_install_dir = "bin" -# install_images = [ "vendor" ] -# install_enable = true -# part_name = "modem" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("modem_control") { + source = "bin/modem_control.bin" + module_install_dir = "bin" + install_images = [ "vendor" ] + install_enable = true + part_name = "modem" + subsystem_name = "product_laphone" +} -# ohos_prebuilt_etc("cp_diskserver") { -# source = "bin/cp_diskserver.bin" -# module_install_dir = "bin" -# install_images = [ "vendor" ] -# install_enable = true -# part_name = "modem" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("cp_diskserver") { + source = "bin/cp_diskserver.bin" + module_install_dir = "bin" + install_images = [ "vendor" ] + install_enable = true + part_name = "modem" + subsystem_name = "product_laphone" +} -# ohos_prebuilt_etc("libmodem_utils") { -# source = "lib64/libmodem_utils.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# install_enable = true -# part_name = "modem" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("libmodem_utils") { + source = "lib64/libmodem_utils.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] + install_enable = true + part_name = "modem" + subsystem_name = "product_laphone" +} group("modem"){ deps = [ ":modem.cfg", - # ":modem_ril.ini", - # ":modem_control", -# ":cp_diskserver", -# ":libmodem_utils", - # ":modem_cp_info", - # ":modem_ch_info", - # ":modem_sp_info" + ":modem_ril.ini", + ":modem_control", + ":cp_diskserver", + ":libmodem_utils", + ":modem_cp_info", + ":modem_ch_info", + ":modem_sp_info" ] } diff --git a/laphone/modules/BUILD.gn b/laphone/modules/BUILD.gn index d620df57457a353156a7e98d0cf2daacb53a8bfe..ba3421950954b100e0f070e5b708eff96bd95b6b 100644 --- a/laphone/modules/BUILD.gn +++ b/laphone/modules/BUILD.gn @@ -14,6 +14,16 @@ import("//build/config/clang/clang.gni") import("//build/ohos.gni") +ohos_prebuilt_executable("sprdbt_tty") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/sprdbt_tty/sprdbt_tty.ko" + source = "ko/sprdbt_tty.ko" + module_install_dir = "modules" + install_images = [ chipset_base_dir ] + part_name = "product_laphone" + install_enable = true +} + ohos_prebuilt_executable("wifi_board_config") { source = "wcn/wlan/wifi_board_config.ini" module_install_dir = "lib/firmware" @@ -72,15 +82,11 @@ ohos_prebuilt_executable("gnssmodem") { install_enable = true } -ohos_prebuilt_executable("sprdbt_tty") { - source = "ko/sprdbt_tty.ko" - module_install_dir = "modules" - install_images = [ chipset_base_dir ] - part_name = "product_laphone" - install_enable = true -} - ohos_prebuilt_executable("sprd_pmic_wdt") { + # deps = [ ":build_modules", + # "//device/board/hys/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/watchdog/sprd_pmic_wdt.ko" source = "ko/sprd_pmic_wdt.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -89,6 +95,10 @@ ohos_prebuilt_executable("sprd_pmic_wdt") { } ohos_prebuilt_executable("sprd_cp_dvfs") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/devfreq/sprd_cp_dvfs.ko" source = "ko/sprd_cp_dvfs.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -97,6 +107,10 @@ ohos_prebuilt_executable("sprd_cp_dvfs") { } ohos_prebuilt_executable("agdsp_pd") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/agdsp_pd/agdsp_pd.ko" source = "ko/agdsp_pd.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -105,6 +119,10 @@ ohos_prebuilt_executable("agdsp_pd") { } ohos_prebuilt_executable("audio_mem") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiomem/audio_mem.ko" source = "ko/audio_mem.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -113,6 +131,10 @@ ohos_prebuilt_executable("audio_mem") { } ohos_prebuilt_executable("audio_sipc") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiosipc/audio_sipc.ko" source = "ko/audio_sipc.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -121,6 +143,10 @@ ohos_prebuilt_executable("audio_sipc") { } ohos_prebuilt_executable("audio-dsp-dump") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiodspdump/audio-dsp-dump.ko" source = "ko/audio-dsp-dump.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -129,6 +155,10 @@ ohos_prebuilt_executable("audio-dsp-dump") { } ohos_prebuilt_executable("sprd_audio_usb_offload") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/usb_offload/sprd_audio_usb_offload.ko" source = "ko/sprd_audio_usb_offload.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -137,6 +167,10 @@ ohos_prebuilt_executable("sprd_audio_usb_offload") { } ohos_prebuilt_executable("sprd_apipe") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audio_pipe/sprd_apipe.ko" source = "ko/sprd_apipe.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -145,6 +179,10 @@ ohos_prebuilt_executable("sprd_apipe") { } ohos_prebuilt_executable("audio-pipe") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiopipe/audio-pipe.ko" source = "ko/audio-pipe.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -153,6 +191,10 @@ ohos_prebuilt_executable("audio-pipe") { } ohos_prebuilt_executable("mcdt_hw_r2p0") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/mcdt/mcdt_r2p0/mcdt_hw_r2p0.ko" source = "ko/mcdt_hw_r2p0.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -161,6 +203,10 @@ ohos_prebuilt_executable("mcdt_hw_r2p0") { } ohos_prebuilt_executable("sprd_audcp_dvfs") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiodvfs/sprd_audcp_dvfs.ko" source = "ko/sprd_audcp_dvfs.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -169,6 +215,10 @@ ohos_prebuilt_executable("sprd_audcp_dvfs") { } ohos_prebuilt_executable("sprd_audcp_boot") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/audiocpboot/sprd_audcp_boot.ko" source = "ko/sprd_audcp_boot.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -177,6 +227,10 @@ ohos_prebuilt_executable("sprd_audcp_boot") { } ohos_prebuilt_executable("voice_trigger_irq") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd_audio/voice_trigger_irq/voice_trigger_irq.ko" source = "ko/voice_trigger_irq.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -185,6 +239,10 @@ ohos_prebuilt_executable("voice_trigger_irq") { } ohos_prebuilt_executable("snd-soc-sprd-card") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/machine/sprd_card/snd-soc-sprd-card.ko" source = "ko/snd-soc-sprd-card.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -193,6 +251,10 @@ ohos_prebuilt_executable("snd-soc-sprd-card") { } ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620-power") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/ump9620/power/snd-soc-sprd-codec-ump9620-power.ko" source = "ko/snd-soc-sprd-codec-ump9620-power.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -201,6 +263,10 @@ ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620-power") { } ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620-power-dev") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/ump9620/power_dev/snd-soc-sprd-codec-ump9620-power-dev.ko" source = "ko/snd-soc-sprd-codec-ump9620-power-dev.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -209,6 +275,10 @@ ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620-power-dev") { } ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/ump9620/codec/snd-soc-sprd-codec-ump9620.ko" source = "ko/snd-soc-sprd-codec-ump9620.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -217,6 +287,10 @@ ohos_prebuilt_executable("snd-soc-sprd-codec-ump9620") { } ohos_prebuilt_executable("snd-soc-unisoc-dp-codec") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/dp/snd-soc-unisoc-dp-codec.ko" source = "ko/snd-soc-unisoc-dp-codec.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -225,6 +299,10 @@ ohos_prebuilt_executable("snd-soc-unisoc-dp-codec") { } ohos_prebuilt_executable("snd-soc-sprd-dummy-codec") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/dummy-codec/snd-soc-sprd-dummy-codec.ko" source = "ko/snd-soc-sprd-dummy-codec.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -233,6 +311,10 @@ ohos_prebuilt_executable("snd-soc-sprd-dummy-codec") { } ohos_prebuilt_executable("snd-soc-sprd-pa-aw87390") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/aw87xxx/snd-soc-sprd-pa-aw87390.ko" source = "ko/snd-soc-sprd-pa-aw87390.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -241,6 +323,10 @@ ohos_prebuilt_executable("snd-soc-sprd-pa-aw87390") { } ohos_prebuilt_executable("snd-soc-sprd-pdm-r2p0") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/codec/sprd/pdm_r2p0/snd-soc-sprd-pdm-r2p0.ko" source = "ko/snd-soc-sprd-pdm-r2p0.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -250,6 +336,10 @@ ohos_prebuilt_executable("snd-soc-sprd-pdm-r2p0") { ohos_prebuilt_executable("snd-soc-sprd-tdm") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/dai/tdm/snd-soc-sprd-tdm.ko" source = "ko/snd-soc-sprd-tdm.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -258,6 +348,10 @@ ohos_prebuilt_executable("snd-soc-sprd-tdm") { } ohos_prebuilt_executable("sprd-platform-pcm-routing") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/platform/platform_routing/sprd-platform-pcm-routing.ko" source = "ko/sprd-platform-pcm-routing.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -266,6 +360,10 @@ ohos_prebuilt_executable("sprd-platform-pcm-routing") { } ohos_prebuilt_executable("snd-soc-sprd-vbc-v4") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/dai/vbc/v4/vbc_dai/snd-soc-sprd-vbc-v4.ko" source = "ko/snd-soc-sprd-vbc-v4.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -274,7 +372,11 @@ ohos_prebuilt_executable("snd-soc-sprd-vbc-v4") { } ohos_prebuilt_executable("snd-soc-sprd-vbc-fe") { - source = "ko/snd-soc-sprd-vbc-fe.ko" + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/dai/vbc/v4/fe_dai/snd-soc-sprd-vbc-fe.ko" + source = "ko/snd-soc-sprd-vbc-fe.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] part_name = "product_laphone" @@ -282,6 +384,10 @@ ohos_prebuilt_executable("snd-soc-sprd-vbc-fe") { } ohos_prebuilt_executable("snd-soc-sprd-dai") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/dai/sprd_dai/snd-soc-sprd-dai.ko" source = "ko/snd-soc-sprd-dai.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -290,6 +396,10 @@ ohos_prebuilt_executable("snd-soc-sprd-dai") { } ohos_prebuilt_executable("sprd-dmaengine-pcm") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/platform/dmaengine_pcm/sprd-dmaengine-pcm.ko" source = "ko/sprd-dmaengine-pcm.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -298,6 +408,10 @@ ohos_prebuilt_executable("sprd-dmaengine-pcm") { } ohos_prebuilt_executable("sprd-compr-2stage-dma") { + # deps = [ ":build_modules", + # "//device/board/$product_company/$product_name/kernel:kernel", + # ] + # source = "$root_build_dir/kernel/OBJ/linux-5.15/drivers/unisoc_platform/audio/sprd/platform/compr_2stage_dma/sprd-compr-2stage-dma.ko" source = "ko/sprd-compr-2stage-dma.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -317,6 +431,8 @@ ohos_prebuilt_executable("sprd-compr-2stage-dma") { #} ohos_prebuilt_executable("sprd_wlan_combo") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/sprd_wlan_combo/sprd_wlan_combo.ko" source = "ko/sprd_wlan_combo.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -324,6 +440,8 @@ ohos_prebuilt_executable("sprd_wlan_combo") { install_enable = true } ohos_prebuilt_executable("vpu") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/vpu/vpu.ko" source = "ko/vpu.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -331,16 +449,10 @@ ohos_prebuilt_executable("vpu") { install_enable = true } -ohos_prebuilt_executable("chipone-tddi") { - source = "ko/chipone-tddi.ko" - module_install_dir = "modules" - install_images = [ chipset_base_dir, "updater" ] - part_name = "product_laphone" - install_enable = true -} - -ohos_prebuilt_executable("nvt_nt36xxx_spi_ts") { - source = "ko/nvt_nt36xxx_spi_ts.ko" +ohos_prebuilt_executable("chipone_icn9922c_ts") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/chipone_icn9922c_ts/chipone_icn9922c_ts.ko" + source = "ko/chipone_icn9922c_ts.ko" module_install_dir = "modules" install_images = [ chipset_base_dir, "updater" ] part_name = "product_laphone" @@ -356,6 +468,8 @@ ohos_prebuilt_executable("novatek_ts_fw") { } ohos_prebuilt_executable("mali_kbase") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/mali_kbase/mali_kbase.ko" source = "ko/mali_kbase.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -364,6 +478,8 @@ ohos_prebuilt_executable("mali_kbase") { } ohos_prebuilt_executable("sprd_vdsp") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/sprd_vdsp/sprd_vdsp.ko" source = "ko/sprd_vdsp.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -372,6 +488,8 @@ ohos_prebuilt_executable("sprd_vdsp") { } ohos_prebuilt_executable("npu_img_vha") { + # deps = [ ":build_modules" ] + # source = "$root_build_dir/modules/npu_img_vha/npu_img_vha.ko" source = "ko/npu_img_vha.ko" module_install_dir = "modules" install_images = [ chipset_base_dir ] @@ -392,11 +510,10 @@ group("modules") { ":wcnmodem", ":aw87xxx_acf", # ":gnssmodem", -# ":build_modules", -# "wcn/bluetooth/hal:libbt_vendor", + # ":build_modules", + "wcn/bluetooth/hal:libbt_vendor", ":vpu", - ":chipone-tddi", - ":nvt_nt36xxx_spi_ts", + ":chipone_icn9922c_ts", ":novatek_ts_fw", ":mali_kbase", ":sprd_pmic_wdt", diff --git a/laphone/modules/build_modules.sh b/laphone/modules/build_modules.sh index c36b1b38a27d5c6e69bf5af32178254c83aaee12..c073cf83980294a006ce833f2b049faf467252e6 100755 --- a/laphone/modules/build_modules.sh +++ b/laphone/modules/build_modules.sh @@ -56,13 +56,7 @@ ${MAKE} -C ${MODULES_SOURCE}/wcn/bluetooth/driver -f Makefile O=${BSP_KERNEL_OUT BSP_KERNEL_OUT=${BSP_KERNEL_OUT} \ BSP_KERNEL_PATH=${BSP_KERNEL_PATH} \ BSP_MODULES_OUT=${BSP_MODULES_OUT} modules -j64 -${MAKE} -C ${MODULES_SOURCE}/novatek_nt36xxx -f Makefile O=${BSP_KERNEL_OUT} \ - ARCH=arm64 \ - BSP_KERNEL_OUT=${BSP_KERNEL_OUT} \ - BSP_KERNEL_PATH=${BSP_KERNEL_PATH} \ - BSP_MODULES_OUT=${BSP_MODULES_OUT} modules -j64 - -${MAKE} -C ${MODULES_SOURCE}/icnl9911 -f Makefile O=${BSP_KERNEL_OUT} \ +${MAKE} -C ${MODULES_SOURCE}/chipone-tddi_icn9922c -f Makefile O=${BSP_KERNEL_OUT} \ ARCH=arm64 \ BSP_KERNEL_OUT=${BSP_KERNEL_OUT} \ BSP_KERNEL_PATH=${BSP_KERNEL_PATH} \ diff --git a/laphone/modules/chipone-tddi_icn9922c/Android.mk b/laphone/modules/chipone-tddi_icn9922c/Android.mk new file mode 100644 index 0000000000000000000000000000000000000000..f6aa963fe0c327440e8b858293abc4a34963b3a8 --- /dev/null +++ b/laphone/modules/chipone-tddi_icn9922c/Android.mk @@ -0,0 +1,25 @@ +LOCAL_PATH:= $(call my-dir) + +include $(CLEAR_VARS) +LOCAL_MODULE_TAGS := optional +LOCAL_MODULE := chipone_icn9922c_ts.ko +LOCAL_MODULE_CLASS := SHARED_LIBRARIES +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR)/lib/modules +LOCAL_STRIP_MODULE := keep_symbols +LOCAL_SRC_FILES := $(LOCAL_MODULE) +include $(BUILD_PREBUILT) + +ifeq ($(TARGET_BUILD_VARIANT),user) +DEBUGMODE := BUILD=no +else +DEBUGMODE := $(DEBUGMODE) +endif + +#convert to absolute directory +PRODUCT_OUT_ABSOLUTE:=$(shell cd $(PRODUCT_OUT); pwd) + +$(LOCAL_PATH)/chipone_icn9922c_ts.ko: $(TARGET_PREBUILT_KERNEL) + $(MAKE) -C $(shell dirname $@) ARCH=$(TARGET_KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(DEBUGMODE) KDIR=$(PRODUCT_OUT_ABSOLUTE)/obj/KERNEL clean + $(MAKE) -C $(shell dirname $@) ARCH=$(TARGET_KERNEL_ARCH) CROSS_COMPILE=$(KERNEL_CROSS_COMPILE) $(DEBUGMODE) KDIR=$(PRODUCT_OUT_ABSOLUTE)/obj/KERNEL + $(TARGET_STRIP) -d --strip-unneeded $@ + diff --git a/laphone/modules/chipone-tddi_icn9922c/Kbuild b/laphone/modules/chipone-tddi_icn9922c/Kbuild new file mode 100644 index 0000000000000000000000000000000000000000..3f056e330872c5b1c0950cbfe52adc8c75730f68 --- /dev/null +++ b/laphone/modules/chipone-tddi_icn9922c/Kbuild @@ -0,0 +1,26 @@ +# +# chipone_icn9922c_ts.ko +# +# Kbuild: for kernel building external module +# +# Note: +# - Please refer to modules/sample/Kbuild to find out what should be +# done is this Kbuild file +# + +# +# Source List +# + +KO_MODULE_NAME := chipone_icn9922c_ts +KO_MODULE_PATH := $(src) +KO_MODULE_SRC := + +KO_MODULE_SRC += $(wildcard $(KO_MODULE_PATH)/*.c) + +# +# Final Objects +# +obj-m := $(KO_MODULE_NAME).o +# Comment it if the only object file has the same name with module +$(KO_MODULE_NAME)-y := $(patsubst $(src)/%.c,%.o,$(KO_MODULE_SRC)) diff --git a/laphone/modules/chipone-tddi_icn9922c/Makefile b/laphone/modules/chipone-tddi_icn9922c/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..dc510248759c668267fcd540655fd0005124ba61 --- /dev/null +++ b/laphone/modules/chipone-tddi_icn9922c/Makefile @@ -0,0 +1,28 @@ +# +# chipone_icn9922c_ts.ko +# +# Makefile: for external make invocation +# +# Note: +# - Please refer to modules/sample/Makefile to find out what should be +# done in this Makefile +# + +KO_MODULE_NAME := chipone_icn9922c_ts +KO_MODULE_OUT := $(BSP_MODULES_OUT)/$(KO_MODULE_NAME) +KO_MODULE_KBUILD := $(CURDIR)/Kbuild + +.PHONY: modules modules_install clean + +modules: + @mkdir -p $(KO_MODULE_OUT) && ln -snf $(KO_MODULE_KBUILD) $(KO_MODULE_OUT)/Kbuild + @ln -snf $(CURDIR) $(KO_MODULE_OUT)/source + $(MAKE) -C $(BSP_KERNEL_PATH) M=$(KO_MODULE_OUT) src=$(CURDIR) $@ + +modules_install: + $(MAKE) -C $(BSP_KERNEL_PATH) M=$(KO_MODULE_OUT) $@ + +# Remove the out directory wholly +clean: + @#$(MAKE) -C $(BSP_KERNEL_PATH) M=$(KO_MODULE_OUT) src=$(CURDIR) $@ + rm -rf $(KO_MODULE_OUT) diff --git a/laphone/modules/ko/agdsp_pd.ko b/laphone/modules/ko/agdsp_pd.ko index ebc65e99414db5e4ab77b2d976068a89a43bafb9..4d73f64f66ede7df6b02dc0d147c8bf84cbd0994 100644 Binary files a/laphone/modules/ko/agdsp_pd.ko and b/laphone/modules/ko/agdsp_pd.ko differ diff --git a/laphone/modules/ko/audio-dsp-dump.ko b/laphone/modules/ko/audio-dsp-dump.ko index 899a0e69bf35ad91b64c542f7b9487f153e0dc40..a26b91bc975ab3c8fde1060d1899867abfa3a23f 100644 Binary files a/laphone/modules/ko/audio-dsp-dump.ko and b/laphone/modules/ko/audio-dsp-dump.ko differ diff --git a/laphone/modules/ko/audio-pipe.ko b/laphone/modules/ko/audio-pipe.ko index e39eca068e132ffb70454e2be3a81afdbc137fd6..f2bcd3a33bceb658013e2893f3143c1f6d4a901d 100644 Binary files a/laphone/modules/ko/audio-pipe.ko and b/laphone/modules/ko/audio-pipe.ko differ diff --git a/laphone/modules/ko/audio_mem.ko b/laphone/modules/ko/audio_mem.ko index 9efe16460376eef64114d3a1bc200edc76d4abdd..0c5bc23f6e96fade6a26d8ba70b7ca9515162e47 100644 Binary files a/laphone/modules/ko/audio_mem.ko and b/laphone/modules/ko/audio_mem.ko differ diff --git a/laphone/modules/ko/audio_sipc.ko b/laphone/modules/ko/audio_sipc.ko index 031a3d293b500608b29c54c93662a9bbbe3742cf..4fede8f8ca4cef41b777dd6d12555450fabf74b4 100644 Binary files a/laphone/modules/ko/audio_sipc.ko and b/laphone/modules/ko/audio_sipc.ko differ diff --git a/laphone/modules/ko/chipone-tddi.ko b/laphone/modules/ko/chipone_icn9922c_ts.ko similarity index 35% rename from laphone/modules/ko/chipone-tddi.ko rename to laphone/modules/ko/chipone_icn9922c_ts.ko index 7a299bac1a9195aebd9d29ec9978e46b8922959d..842e7d6d2dc95407acb3f50286fed1f5f9c875c0 100644 Binary files a/laphone/modules/ko/chipone-tddi.ko and b/laphone/modules/ko/chipone_icn9922c_ts.ko differ diff --git a/laphone/modules/ko/mali_kbase.ko b/laphone/modules/ko/mali_kbase.ko index 99904a743656ec455e56b25161fa5f2894c0cf42..64af3bdeb7f487176e5a9771be9f6394625c20df 100644 Binary files a/laphone/modules/ko/mali_kbase.ko and b/laphone/modules/ko/mali_kbase.ko differ diff --git a/laphone/modules/ko/mcdt_hw_r2p0.ko b/laphone/modules/ko/mcdt_hw_r2p0.ko index dca1aaa6abd472cfd4cb120fbcaff5c272da5f06..2e559b404448cf59f839dc957afc79b3e7b2cdbc 100644 Binary files a/laphone/modules/ko/mcdt_hw_r2p0.ko and b/laphone/modules/ko/mcdt_hw_r2p0.ko differ diff --git a/laphone/modules/ko/npu_img_vha.ko b/laphone/modules/ko/npu_img_vha.ko index e94c46f55d9e130b0dd7fb57fd30f62e70a21dcb..0127642fec38ebebcdce306380230c4b34206c0c 100644 Binary files a/laphone/modules/ko/npu_img_vha.ko and b/laphone/modules/ko/npu_img_vha.ko differ diff --git a/laphone/modules/ko/nvt_nt36xxx_spi_ts.ko b/laphone/modules/ko/nvt_nt36xxx_spi_ts.ko deleted file mode 100644 index 3fc5c0a2b754e51f10bbfb7ab6e78916523b2a00..0000000000000000000000000000000000000000 Binary files a/laphone/modules/ko/nvt_nt36xxx_spi_ts.ko and /dev/null differ diff --git a/laphone/modules/ko/snd-soc-sprd-card.ko b/laphone/modules/ko/snd-soc-sprd-card.ko index 9072e1ec49e4016ee686b5c2979d50c854f72df5..7df884687312f49b28d748dd3c693e7531604701 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-card.ko and b/laphone/modules/ko/snd-soc-sprd-card.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power-dev.ko b/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power-dev.ko index 27c0a2fda1c95c76e17fb60579a54f80e95eac00..e64747e788af46194fc8f920f27c0568c25342f4 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power-dev.ko and b/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power-dev.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power.ko b/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power.ko index 1d98a3d1a5e71a796a5a6b491839b5966105b464..99c808ebe01cde6472fef549475bf77f909ade46 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power.ko and b/laphone/modules/ko/snd-soc-sprd-codec-ump9620-power.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-codec-ump9620.ko b/laphone/modules/ko/snd-soc-sprd-codec-ump9620.ko index 53b010be389262267b83720ee1b625362a20f01a..c8d0942ad8975bca98a5e1e4f84aa41925a05ca3 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-codec-ump9620.ko and b/laphone/modules/ko/snd-soc-sprd-codec-ump9620.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-dai.ko b/laphone/modules/ko/snd-soc-sprd-dai.ko index af52eed78679c0d83fcf5b03fc468f7300a4af77..6fce572953c1087c849767bc61bd8389936c6f21 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-dai.ko and b/laphone/modules/ko/snd-soc-sprd-dai.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-dummy-codec.ko b/laphone/modules/ko/snd-soc-sprd-dummy-codec.ko index 3106afbd1bf6ce4a3e0119d6efb18368a4bad190..f86539d4fc54f5382a391accbe4b4d4bb7c59d2f 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-dummy-codec.ko and b/laphone/modules/ko/snd-soc-sprd-dummy-codec.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-pa-aw87390.ko b/laphone/modules/ko/snd-soc-sprd-pa-aw87390.ko index 34598a21faec0cdc41fc8b9c28aeb9ca530efb17..27efb7feae90d4a948c333e4d89b75015cd530eb 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-pa-aw87390.ko and b/laphone/modules/ko/snd-soc-sprd-pa-aw87390.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-pdm-r2p0.ko b/laphone/modules/ko/snd-soc-sprd-pdm-r2p0.ko index 32621ef6bf3c92d96b42268ef05a1e68459b869e..ca72e7adf86e95ff12ddc103f0ac5d90e68a4297 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-pdm-r2p0.ko and b/laphone/modules/ko/snd-soc-sprd-pdm-r2p0.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-tdm.ko b/laphone/modules/ko/snd-soc-sprd-tdm.ko index 9e6d15d96969c0edb7a8e031eba818c293d01293..24529c73db8d44a78cde31e2ddfda21df94e6b21 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-tdm.ko and b/laphone/modules/ko/snd-soc-sprd-tdm.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-vbc-fe.ko b/laphone/modules/ko/snd-soc-sprd-vbc-fe.ko index 198b6c3715abe75fdd7380fb7fa9a106d8485c76..dc5e46d3331e8d65f669bd758606c779841cd490 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-vbc-fe.ko and b/laphone/modules/ko/snd-soc-sprd-vbc-fe.ko differ diff --git a/laphone/modules/ko/snd-soc-sprd-vbc-v4.ko b/laphone/modules/ko/snd-soc-sprd-vbc-v4.ko index fc3ec14166e8982122ba27a2455f89ccf15e8b05..1ad0c5f8219a2408c5cf416d88a49af3bec01e3c 100644 Binary files a/laphone/modules/ko/snd-soc-sprd-vbc-v4.ko and b/laphone/modules/ko/snd-soc-sprd-vbc-v4.ko differ diff --git a/laphone/modules/ko/snd-soc-unisoc-dp-codec.ko b/laphone/modules/ko/snd-soc-unisoc-dp-codec.ko index 44a29851cbe1ef04633f45855cb196ce1f7bcfd3..ed6a221ac52e0dc02a18b9b9a03eeb090b1d5fca 100644 Binary files a/laphone/modules/ko/snd-soc-unisoc-dp-codec.ko and b/laphone/modules/ko/snd-soc-unisoc-dp-codec.ko differ diff --git a/laphone/modules/ko/sprd-compr-2stage-dma.ko b/laphone/modules/ko/sprd-compr-2stage-dma.ko index 2855f0c1dd4a48b19f4a93f384becaeb35f0c50a..9a144db36f7ad99a9ce93d35e83789101530083a 100644 Binary files a/laphone/modules/ko/sprd-compr-2stage-dma.ko and b/laphone/modules/ko/sprd-compr-2stage-dma.ko differ diff --git a/laphone/modules/ko/sprd-dmaengine-pcm.ko b/laphone/modules/ko/sprd-dmaengine-pcm.ko index eed1cc65453dadba692523b7b7dcfa8bebfcbe9e..173a912c08e0dd2767c2889ea667583cf22f7669 100644 Binary files a/laphone/modules/ko/sprd-dmaengine-pcm.ko and b/laphone/modules/ko/sprd-dmaengine-pcm.ko differ diff --git a/laphone/modules/ko/sprd-platform-pcm-routing.ko b/laphone/modules/ko/sprd-platform-pcm-routing.ko index b5866d222e8a4f1294c0adb8ca833f642236d8f2..65b4f57ece7ca78c28ee3563cc431ad5e823936e 100644 Binary files a/laphone/modules/ko/sprd-platform-pcm-routing.ko and b/laphone/modules/ko/sprd-platform-pcm-routing.ko differ diff --git a/laphone/modules/ko/sprd_apipe.ko b/laphone/modules/ko/sprd_apipe.ko index 4db38c4514257820b7e030485bba3add961facf4..d3d6e28f28f6c00264576ef8c5bf606abf3ccc7e 100644 Binary files a/laphone/modules/ko/sprd_apipe.ko and b/laphone/modules/ko/sprd_apipe.ko differ diff --git a/laphone/modules/ko/sprd_audcp_boot.ko b/laphone/modules/ko/sprd_audcp_boot.ko index bd8a9438b63502a32ea1e4d4885d65881d4eead0..ac28a70025aff33cbbfcbaf8691bf889ea3e9a8d 100644 Binary files a/laphone/modules/ko/sprd_audcp_boot.ko and b/laphone/modules/ko/sprd_audcp_boot.ko differ diff --git a/laphone/modules/ko/sprd_audcp_dvfs.ko b/laphone/modules/ko/sprd_audcp_dvfs.ko index c46b20dc1166107f567f5a5f0e9ff783235075d2..1caf73a77549004fee9722a98d717190b908d7a3 100644 Binary files a/laphone/modules/ko/sprd_audcp_dvfs.ko and b/laphone/modules/ko/sprd_audcp_dvfs.ko differ diff --git a/laphone/modules/ko/sprd_audio_usb_offload.ko b/laphone/modules/ko/sprd_audio_usb_offload.ko index bede2a1e30765154b54871c28b1e5f9f5edfa9fe..049ab2efa8d63bf5d0489e54bd18d8d379f87122 100644 Binary files a/laphone/modules/ko/sprd_audio_usb_offload.ko and b/laphone/modules/ko/sprd_audio_usb_offload.ko differ diff --git a/laphone/modules/ko/sprd_cp_dvfs.ko b/laphone/modules/ko/sprd_cp_dvfs.ko index 54534f3c6f41180ee5bf00932ebc07143b82a918..956b700a0aec37cc9c1583c3105206e1e3730c3c 100644 Binary files a/laphone/modules/ko/sprd_cp_dvfs.ko and b/laphone/modules/ko/sprd_cp_dvfs.ko differ diff --git a/laphone/modules/ko/sprd_pmic_wdt.ko b/laphone/modules/ko/sprd_pmic_wdt.ko index e0dc1b2b581d25b287e0682fad44b21b7b546d7e..07af211e0b24760218d731831500ab9b254965b0 100644 Binary files a/laphone/modules/ko/sprd_pmic_wdt.ko and b/laphone/modules/ko/sprd_pmic_wdt.ko differ diff --git a/laphone/modules/ko/sprd_vdsp.ko b/laphone/modules/ko/sprd_vdsp.ko index 72aba02653349387fcdd6deea6adba776c609fe8..a8d898fa007f527b314a1fda400d55cc8cadcf8c 100644 Binary files a/laphone/modules/ko/sprd_vdsp.ko and b/laphone/modules/ko/sprd_vdsp.ko differ diff --git a/laphone/modules/ko/sprd_wlan_combo.ko b/laphone/modules/ko/sprd_wlan_combo.ko index af21a37c2054932cdc8676f3c48712060b960e1e..2a4eb07045135ffa395f578ff3f0729e8ab103cf 100644 Binary files a/laphone/modules/ko/sprd_wlan_combo.ko and b/laphone/modules/ko/sprd_wlan_combo.ko differ diff --git a/laphone/modules/ko/sprdbt_tty.ko b/laphone/modules/ko/sprdbt_tty.ko index d0c60cf7a04c523b437176e13cf9c7dd289046df..226b7129ceb19d6e9e29f2c98ca424badf708fc6 100644 Binary files a/laphone/modules/ko/sprdbt_tty.ko and b/laphone/modules/ko/sprdbt_tty.ko differ diff --git a/laphone/modules/ko/voice_trigger_irq.ko b/laphone/modules/ko/voice_trigger_irq.ko index ae4118cc6e49fcdf259493375a3cc6abc09d57f8..bb3970f7a8b6bffdd72a9493b305d5ec095c5ca9 100644 Binary files a/laphone/modules/ko/voice_trigger_irq.ko and b/laphone/modules/ko/voice_trigger_irq.ko differ diff --git a/laphone/modules/ko/vpu.ko b/laphone/modules/ko/vpu.ko index fd6897c80a96f27023bd8175723638d08af55712..0c08ff6b0cbed98ea1a54e761ec906b135abfcc3 100644 Binary files a/laphone/modules/ko/vpu.ko and b/laphone/modules/ko/vpu.ko differ diff --git a/laphone/modules/video/memory/videosharememory/BUILD.gn b/laphone/modules/video/memory/videosharememory/BUILD.gn index 262c192dcf8c4287e1f6f4d905f73fed98c55023..bcdfd8002ef57c36ee794d1b6f64b1d170ac4b42 100644 --- a/laphone/modules/video/memory/videosharememory/BUILD.gn +++ b/laphone/modules/video/memory/videosharememory/BUILD.gn @@ -1,38 +1,10 @@ import("//build/ohos.gni") #import("//vendor/$product_company/$product_name/product.gni") -ohos_shared_library("libvideo_share_memory") { - cflags = [ - "-w", - "-g", - "-O", - "-fPIC", - "-Wno-error=unused-variable", - "-Wno-error=unused-function", - ] - - include_dirs = [ - "include", - "//vendor/$product_company/$product_name/modules/kernel-headers", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libion/kernel-headers", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libion/include", - "//commonlibrary/c_utils/base/include", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libdmabufheap/include", - ] - sources = [ - "C2UnisocDmaBuffer.cpp", - "VideoMemAllocator.cpp", - "MemIon.cpp", - ] - deps = [ - "//commonlibrary/c_utils/base:utils", - "//base/hiviewdfx/hilog/interfaces/native/innerkits:libhilog", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libion:libion", - "//device/soc/sprd/uis7885/hardware/aosp/system/memory/libdmabufheap:libaosp_dmabufheap", - - ] - part_name = "product_laphone" - subsystem_name = "product_laphone" - install_enable = true - install_images = [ chipset_base_dir ] +ohos_prebuilt_shared_library("libvideo_share_memory") { + source = "lib/libvideo_share_memory.z.so" + part_name = "product_laphone" + subsystem_name = "product_laphone" + install_enable = true + install_images = [ chipset_base_dir ] } diff --git a/laphone/modules/video/memory/videosharememory/lib/libvideo_share_memory.z.so b/laphone/modules/video/memory/videosharememory/lib/libvideo_share_memory.z.so new file mode 100755 index 0000000000000000000000000000000000000000..00893b297576b316fa39e71c9d4a0c77a2acbab5 Binary files /dev/null and b/laphone/modules/video/memory/videosharememory/lib/libvideo_share_memory.z.so differ diff --git a/laphone/modules/wcn/bluetooth/hal/BUILD.gn b/laphone/modules/wcn/bluetooth/hal/BUILD.gn index 3b603fa4806913550d10535ee375ffc4e9ad0546..f39401cf9161bf1ae4145901eeb7ab6c27ada492 100644 --- a/laphone/modules/wcn/bluetooth/hal/BUILD.gn +++ b/laphone/modules/wcn/bluetooth/hal/BUILD.gn @@ -16,56 +16,10 @@ config("bt_warnings") { ] } -ohos_shared_library("libbt_vendor") { - output_name = "libbt_vendor" - sources = [ - "src/bt_vendor_sprd.c", - "src/conf.c", - "src/hardware.c", - "src/upio.c", - "src/userial_vendor.c", - "src/sitm.c", - "conf/sprd/marlin3_lite/src/marlin3_lite.c", - "src/bt_vendor_sprd_hci.c", - "src/bt_vendor_sprd_ssp.c", - ] - - include_dirs = [ - "include", - #"other", - #"src/algorithms", - "conf/sprd/marlin3_lite/include", - #"stack/include", - "//base/hiviewdfx/hilog/interfaces/native/innerkits/include", - "//foundation/communication/bluetooth_service/services/bluetooth/hardware/include", - ] - - cflags = [ - "-DUSE_CONTROLLER_BDADDR=TRUE", - "-DFW_AUTO_DETECTION=TRUE", - "-DBT_WAKE_VIA_PROC=TRUE", - "-DSCO_PCM_ROUTING=0", - "-DSCO_PCM_IF_CLOCK_RATE=1", - "-DSCO_PCM_IF_FRAME_TYPE=0", - "-DSCO_PCM_IF_SYNC_MODE=0", - "-DSCO_PCM_IF_CLOCK_MODE=0", - "-DPCM_DATA_FMT_SHIFT_MODE=0", - "-DPCM_DATA_FMT_FILL_BITS=0x03", - "-DPCM_DATA_FMT_FILL_METHOD=0", - "-DPCM_DATA_FMT_FILL_NUM=0", - "-DPCM_DATA_FMT_JUSTIFY_MODE=0", - ] - - configs = [ ":bt_warnings" ] - - external_deps = [ - "c_utils:utils", - "hilog:libhilog", - ] - - install_enable = true - install_images = [ chipset_base_dir ] - - part_name = "product_laphone" - subsystem_name = "product_laphone" +ohos_prebuilt_shared_library("libbt_vendor") { + source = "lib/libbt_vendor.z.so" + install_enable = true + install_images = [ chipset_base_dir ] + part_name = "product_laphone" + subsystem_name = "product_laphone" } diff --git a/laphone/modules/wcn/bluetooth/hal/lib/libbt_vendor.z.so b/laphone/modules/wcn/bluetooth/hal/lib/libbt_vendor.z.so new file mode 100755 index 0000000000000000000000000000000000000000..434229504b6e5262a6013796b2fa4df8e603cf2c Binary files /dev/null and b/laphone/modules/wcn/bluetooth/hal/lib/libbt_vendor.z.so differ diff --git a/laphone/ohos.build b/laphone/ohos.build index d500182806a2b613d6ca21df273b71d0072cf19b..6630d645ae9bf2fc653d4c88915a43a430cccdd9 100644 --- a/laphone/ohos.build +++ b/laphone/ohos.build @@ -2,17 +2,72 @@ "parts": { "product_laphone": { "module_list": [ - "//vendor/$product_company/$product_name/default_app_config:default_app_config", - "//vendor/$product_company/$product_name/image_conf:custom_image_conf", - "//vendor/$product_company/$product_name/preinstall-config:preinstall-config", - "//vendor/$product_company/$product_name/resourceschedule:resourceschedule", - "//vendor/$product_company/$product_name/wm_config:wm_config", - "//vendor/$product_company/$product_name/dm_config:dm_config", - "//vendor/$product_company/$product_name/etc:product_etc_conf", - "//vendor/$product_company/$product_name/hdf_config/uhdf:hdf_config", - "//vendor/$product_company/$product_name/modules:modules" + "//device/board/hys/laphone:laphone_group", + "//vendor/hys/laphone/default_app_config:default_app_config", + "//vendor/hys/laphone/image_conf:custom_image_conf", + "//vendor/hys/laphone/preinstall-config:preinstall-config", + "//vendor/hys/laphone/resourceschedule:resourceschedule", + "//vendor/hys/laphone/wm_config:wm_config", + "//vendor/hys/laphone/dm_config:dm_config", + "//vendor/hys/laphone/etc:product_etc_conf", + "//vendor/$product_company/$product_name/hals/audio:hdf_audio_config", + "//vendor/$product_company/$product_name/modules/video/memory/videosharememory:libvideo_share_memory", + "//vendor/$product_company/$product_name/camera/libcaminiparser:cam-ini-parser", + "//vendor/$product_company/$product_name/camera/common:camcommon", + "//vendor/$product_company/$product_name/camera/common/memory:cammem", + "//vendor/$product_company/$product_name/camera/utils/camxmlparser:camxmlparser", + "//vendor/$product_company/$product_name/camera/utils/yuv2rgb:camv4l2yuv2rgb", + "//vendor/$product_company/$product_name/camera/sensor/otp_parser:cam_otp_parser", + "//vendor/$product_company/$product_name/camera/sensor/etc:sensor_etc", + "//vendor/$product_company/$product_name/camera/sensor:camsensor", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:sensor_imx616", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:sensor_imx111", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:sensor_gc05a2", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:sensor_ov13853_m1", + "//vendor/$product_company/$product_name/camera/sensor/its_param/qogirn6pro/Sony/imx616:tuning_imx616", + "//vendor/$product_company/$product_name/camera/sensor/its_param/qogirn6pro/Sony/imx111:tuning_imx111", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:vcm_lc898229", + "//vendor/$product_company/$product_name/camera/sensor/sensor_drv:otp_general", + "//vendor/$product_company/$product_name/camera/cpp:cppdrv", + "//vendor/$product_company/$product_name/camera/pss/isp2.7/param_manager:campm_isp2.7", + "//vendor/$product_company/$product_name/camera/pss/isp2.7/bridge:cambr_isp2.7", + "//vendor/$product_company/$product_name/camera/pss/paramsdk:camps", + "//vendor/$product_company/$product_name/camera/ppm:camppm", + "//vendor/$product_company/$product_name/camera/pss/isp2.7:pss_isp2.7", + "//vendor/$product_company/$product_name/camera/pss/pmloader/its_drv:campmloader", + "//vendor/$product_company/$product_name/camera/oem2v6:camoem", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:ae3.x", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:camAe4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:af3.2_le", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:af3.2", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:aftrigger", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:alsc3.2", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:libcamAlsc4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:atm", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:awb3.2", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:camAwb4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:camAf4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:camAfl4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:camPd4.0", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:deflicker", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:flash", + "//vendor/$product_company/$product_name/camera/ispalg/isp_lib:pdalgo", + "//vendor/$product_company/$product_name/camera/ispalg:ispalg", + "//vendor/$product_company/$product_name/camera/npi/v4l2camera:camv4l2adapter", + "//vendor/$product_company/$product_name/camera/npi/v4l2camera:v4l2camera", + "//vendor/$product_company/$product_name/hdf_config/uhdf:hdf_config" + ] + }, + "modem":{ + "module_list": [ + "//vendor/$product_company/$product_name/modem:modem" + ] + }, + "radio":{ + "module_list": [ + "//vendor/$product_company/$product_name/telephony:radio" ] } }, "subsystem": "product_laphone" -} \ No newline at end of file +} diff --git a/laphone/preinstall-config/install_list.json b/laphone/preinstall-config/install_list.json index be62ceb9746133fb4ca6deb51e2fc4400e59f312..4508a00ae3cc09700e711433e394aefe0d706974 100644 --- a/laphone/preinstall-config/install_list.json +++ b/laphone/preinstall-config/install_list.json @@ -60,6 +60,10 @@ "app_dir" : "/system/app/com.ohos.devicemanagerui", "removable" : false }, + { + "app_dir" : "/system/app/com.ohos.dlpmanager", + "removable" : false + }, { "app_dir" : "/system/app/com.example.kikakeyboard", "removable" : false @@ -88,6 +92,10 @@ "app_dir" : "/system/app/com.ohos.settings.faceauth", "removable" : false }, + { + "app_dir" : "/system/app/com.ohos.useriam.authwidget", + "removable" : false + }, { "app_dir" : "/system/app/com.ohos.adminprovisioning", "removable" : false @@ -154,7 +162,7 @@ }, { "app_dir": "/system/app/com.ohos.amsdialog", - "removable": true + "removable": false }, { "app_dir": "/system/app/com.usb.right", @@ -177,12 +185,16 @@ "removable": false }, { - "app_dir" : "/system/app/com.example.bluetoothopp", - "removable" : true + "app_dir": "/system/app/com.ohos.updateapp", + "removable": false }, { - "app_dir" : "/system/app/com.ohos.ota", - "removable" : false + "app_dir": "/system/app/com.ohos.spooler", + "removable": false + }, + { + "app_dir": "/system/app/com.ohos.calendardata", + "removable": false }, { "app_dir" : "/system/app/com.example.location", @@ -203,10 +215,22 @@ { "app_dir": "/system/app/com.ohos.demandplayer", "removable": true + }, + { + "app_dir": "/system/app/com.example.bluetoothopp", + "removable": true + }, + { + "app_dir": "/system/app/ohos.samples.recorder", + "removable": true }, { "app_dir": "/system/app/com.laval.dispatchcenter", "removable": true + }, + { + "app_dir": "/system/app/com.laval.bi", + "removable": false } ] } diff --git a/laphone/preinstall-config/install_list_capability.json b/laphone/preinstall-config/install_list_capability.json index c8bbec1d59cfc57515d079287207045e15c5ee80..15a76d54cf99682392ad42939786a52b18ee8175 100644 --- a/laphone/preinstall-config/install_list_capability.json +++ b/laphone/preinstall-config/install_list_capability.json @@ -25,11 +25,19 @@ "keepAlive": false, "allowAppUsePrivilegeExtension": true }, + { + "bundleName": "com.ohos.contacts", + "app_signature" : ["04AC9C3F045EAB7DB992B7C4E38B59468CA3EABB7D654AE47641471B9785EA04"], + "singleton": true, + "keepAlive": false, + "allowCommonEvent": ["usual.event.INCOMING_CALL_MISSED","contact.event.CANCEL_MISSED"] + }, { "bundleName": "com.ohos.mms", "app_signature" : ["04AC9C3F045EAB7DB992B7C4E38B59468CA3EABB7D654AE47641471B9785EA04"], "singleton": true, - "keepAlive": false + "keepAlive": false, + "allowCommonEvent": ["usual.event.SMS_RECEIVE_COMPLETED"] }, { "bundleName": "com.ohos.settingsdata", @@ -96,7 +104,7 @@ }, { "bundleName": "com.ohos.devicemanagerui", - "app_signature": ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], + "app_signature": ["DFBBF5BC714865FCCCACA69F30BEF951B499329F66C98523795BAD817E49D1A0"], "allowAppDesktopIconHide": true, "allowAppUsePrivilegeExtension": true }, @@ -108,16 +116,25 @@ { "bundleName": "com.ohos.medialibrary.medialibrarydata", "app_signature": ["F9431859ED7A3959B5D72EF36FBE8B210A00082B044063E4424F823A01B3B7CA"], - "allowAppUsePrivilegeExtension": true + "allowAppUsePrivilegeExtension": true, + "allowAppDesktopIconHide": true }, { "bundleName": "com.ohos.permissionmanager", "app_signature": ["68079CC9CB1BD69283D70790305645FFF61CD1E46CAFD7AA53B9FA8540432B81"], "allowAppUsePrivilegeExtension": true }, + { + "bundleName": "com.ohos.dlpmanager", + "app_signature": [ + "E3F4322139E0109BAFAD8DA4096762068E31708C3CF201780E736D377D60B639", + "5FEDFF587F4109E565B96512404D606D539C8DFFCE1424ACBD1B2A7D3E843D4D" + ], + "allowAppUsePrivilegeExtension": true + }, { "bundleName": "com.ohos.photos", - "app_signature": ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], + "app_signature": ["9AED2A79925ECA050CD2BB9D2A7F694E49E5E135D28EBDCE53836DE76B5080ED"], "allowAppUsePrivilegeExtension": true }, { @@ -151,7 +168,22 @@ }, { "bundleName": "com.ohos.nweb", - "app_signature" : ["49D779C85200D36A00DE63E2D85AEF22FE5C72FB268BE13923E589B49BFAFFDA"], + "app_signature" : [ + "49D779C85200D36A00DE63E2D85AEF22FE5C72FB268BE13923E589B49BFAFFDA", + "8AFD891FA100D478BEDB6962B157055F26CDD407ACAAD525CBA9FDE490BD23D9" + ], + "singleton": true, + "allowAppDesktopIconHide": true + }, + { + "bundleName": "com.ohos.settings.faceauth", + "app_signature" : ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], + "singleton": true, + "allowAppDesktopIconHide": true + }, + { + "bundleName": "com.ohos.useriam.authwidget", + "app_signature" : ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], "singleton": true, "allowAppDesktopIconHide": true }, @@ -162,17 +194,31 @@ "allowAppUsePrivilegeExtension": true, "allowAppDesktopIconHide": true }, - { - "bundleName": "com.ohos.ota", - "app_signature": ["C7D39CE346A2FFB1A2E95261622362DEC8E77C558416FBC16D52DDD15B43A0D5"], + { + "bundleName": "com.ohos.updateapp", + "app_signature": ["BA6EBDF53DD63B7D5616F3789F8C15FD4DE134B2587C577B01DA4D027B44A23C"], + "allowAppUsePrivilegeExtension": true, + "allowAppDesktopIconHide": true, + "allowCommonEvent": ["common.event.SPECIAL_CODE"] + }, + { + "bundleName": "com.ohos.spooler", + "app_signature" : ["B68D7BE6599CA7ADEDBC95CD1CE176AA96D996D3F41588A487E5F5C4E5DC9427"], "allowAppDesktopIconHide": true - - }, + }, { - "bundleName": "com.laval.dispatchcenter", + "bundleName": "com.ohos.calendardata", + "app_signature" : ["1C6905C65DE22F5160790D34ADA462EE9ED3D9EEAA4FCBD4FEC7FFEE7D1D4FD2"], + "allowAppDesktopIconHide": true, + "allowAppUsePrivilegeExtension": true + }, + { + "bundleName": "com.laval.bi", "app_signature" : ["161B018F761647414D959344141CAD4F48525DD8DA9B9286844ACED06781E879"], "singleton": true, - "keepAlive": false + "keepAlive": true, + "allowAppDesktopIconHide": true, + "allowAppUsePrivilegeExtension": true } ] } diff --git a/laphone/preinstall-config/install_list_permissions.json b/laphone/preinstall-config/install_list_permissions.json index a859578a5a8aa14a1e2c3f1df7a2589227e89786..a76d0bfa5bbfff9ccd6b0e4dabe13ff3c2ed7c4b 100644 --- a/laphone/preinstall-config/install_list_permissions.json +++ b/laphone/preinstall-config/install_list_permissions.json @@ -74,6 +74,14 @@ { "name" : "ohos.permission.DISTRIBUTED_DATASYNC", "userCancellable" : false + }, + { + "name" : "ohos.permission.GET_INSTALLED_BUNDLE_LIST", + "userCancellable" : false + }, + { + "name" : "ohos.permission.ACCESS_BLUETOOTH", + "userCancellable" : false } ] }, @@ -105,8 +113,16 @@ }, { "bundleName": "com.ohos.photos", - "app_signature" : ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], + "app_signature" : ["9AED2A79925ECA050CD2BB9D2A7F694E49E5E135D28EBDCE53836DE76B5080ED"], "permissions" : [ + { + "name" : "ohos.permission.READ_IMAGEVIDEO", + "userCancellable" : false + }, + { + "name" : "ohos.permission.WRITE_IMAGEVIDEO", + "userCancellable" : false + }, { "name" : "ohos.permission.READ_MEDIA", "userCancellable" : false @@ -148,11 +164,11 @@ "app_signature" : ["62C298EE70BEEB3D58082FFEFFEAD4F26BE83350B46B75C393281BA6AAED2A91"], "permissions" : [ { - "name" : "ohos.permission.READ_MEDIA", + "name" : "ohos.permission.READ_IMAGEVIDEO", "userCancellable" : false }, { - "name" : "ohos.permission.WRITE_MEDIA", + "name" : "ohos.permission.WRITE_IMAGEVIDEO", "userCancellable" : false }, { @@ -225,6 +241,82 @@ } ] }, + { + "bundleName": "com.ohos.permissionmanager", + "app_signature" : ["68079CC9CB1BD69283D70790305645FFF61CD1E46CAFD7AA53B9FA8540432B81"], + "permissions" : [ + { + "name" : "ohos.permission.GET_INSTALLED_BUNDLE_LIST", + "userCancellable" : false + } + ] + }, + { + "bundleName": "com.ohos.dlpmanager", + "app_signature" : ["E3F4322139E0109BAFAD8DA4096762068E31708C3CF201780E736D377D60B639"], + "permissions" : [ + { + "name": "ohos.permission.READ_MEDIA", + "userCancellable" : false + }, + { + "name": "ohos.permission.WRITE_MEDIA", + "userCancellable" : false + }, + { + "name": "ohos.permission.ACCESS_DLP_FILE", + "userCancellable" : false + }, + { + "name": "ohos.permission.MANAGE_LOCAL_ACCOUNTS", + "userCancellable" : false + }, + { + "name":"ohos.permission.FILE_ACCESS_MANAGER", + "userCancellable" : false + }, + { + "name":"ohos.permission.START_ABILIIES_FROM_BACKGROUND", + "userCancellable" : false + }, + { + "name":"ohos.permission.GET_BUNDLE_INFO_PRIVILEGED", + "userCancellable" : false + }, + { + "name": "ohos.permission.MEDIA_LOCATION", + "userCancellable" : false + } + ] + }, + { + "bundleName": "com.ohos.useriam.authwidget", + "app_signature" : ["8E93863FC32EE238060BF69A9B37E2608FFFB21F93C862DD511CBAC9F30024B5"], + "permissions" : [ + { + "name" : "ohos.permission.ACCESS_PIN_AUTH", + "userCancellable" : false + }, + { + "name" : "ohos.permission.ACCESS_BIOMETRIC", + "userCancellable" : false + }, + { + "name" : "ohos.permission.SUPPORT_USER_AUTH", + "userCancellable" : false + } + ] + }, + { + "bundleName": "com.ohos.settings", + "app_signature" : ["EB5DBE52EE8DD7206DDE612E7484E88CE264E74958704D0712BFA774C87F4DA1"], + "permissions" : [ + { + "name" : "ohos.permission.GET_INSTALLED_BUNDLE_LIST", + "userCancellable" : false + } + ] + }, { "bundleName": "com.laval.dispatchcenter", "app_signature" : ["161B018F761647414D959344141CAD4F48525DD8DA9B9286844ACED06781E879"], diff --git a/laphone/resourceschedule/cgroup_sched/resource_schedule_vendor.cfg b/laphone/resourceschedule/cgroup_sched/resource_schedule_vendor.cfg index aff0bc03d4066a1968b80e563dbb610db56e55a0..a7e4e8b80d9e9f00b5ec0f48c85fab548fbe2963 100644 --- a/laphone/resourceschedule/cgroup_sched/resource_schedule_vendor.cfg +++ b/laphone/resourceschedule/cgroup_sched/resource_schedule_vendor.cfg @@ -26,7 +26,7 @@ "chmod 0664 /dev/cpuctl/ui/tasks", "write /dev/cpuset/top-app/cpuset.cpus 0-7", - "write /dev/cpuset/foreground/cpuset.cpus 0-6", + "write /dev/cpuset/foreground/cpuset.cpus 4-7", "write /dev/cpuset/system-background/cpuset.cpus 0-3", "write /dev/cpuset/background/cpuset.cpus 0-1", "write /dev/cpuset/ui/cpuset.cpus 4-7", diff --git a/laphone/telephony/BUILD.gn b/laphone/telephony/BUILD.gn index 75932315ca0a0bb0aa36a2827a0fb122119de6ab..9bcaa823273c9940a297be64ea6a3105d68aacb7 100644 --- a/laphone/telephony/BUILD.gn +++ b/laphone/telephony/BUILD.gn @@ -11,102 +11,63 @@ # See the License for the specific language governing permissions and # limitations under the License. -import("//base/telephony/core_service/telephony.gni") import("//build/ohos.gni") -RIL_ADAPTER = "//vendor/$product_company/$product_name/telephony" -RIL_VENDOR = "//vendor/$product_company/$product_name/telephony/src" -ohos_shared_library("sprd7885_ril_adapter_1.0") { - sources = [ - "$RIL_VENDOR/at_call.c", - "$RIL_VENDOR/at_data.c", - "$RIL_VENDOR/at_modem.c", - "$RIL_VENDOR/at_network.c", - "$RIL_VENDOR/at_sim.c", - "$RIL_VENDOR/at_sms.c", - "$RIL_VENDOR/at_support.c", - "$RIL_VENDOR/vendor_adapter.c", - "$RIL_VENDOR/vendor_report.c", - "$RIL_VENDOR/vendor_util.c", - ] - include_dirs = [ "$RIL_ADAPTER/include" ] - configs = [ "//base/telephony/core_service/utils:telephony_log_config" ] - defines += [ - "LOG_TAG = \"RilVendor\"", - "LOG_DOMAIN = 0xD001F08", - ] - deps = [ - "//base/telephony/ril_adapter/interfaces/innerkits:hril_innerkits", - "etc:modem.para", - ] - - # external_deps = [ "startup_l2:syspara" ] - external_deps = [ - "c_utils:utils", - "init:libbegetutil", - ] - - if (is_standard_system) { - external_deps += [ "hilog:libhilog" ] - } else { - external_deps += [ "hilog:libhilog" ] - } - - install_images = [ chipset_base_dir ] - install_enable = true +ohos_prebuilt_shared_library("sprd7885_ril_adapter_1.0") { + source = "lib/libsprd7885_ril_adapter_1.0.z.so" + install_images = [ chipset_base_dir ] + install_enable = true + part_name = "radio" + subsystem_name = "product_laphone" +} +ohos_prebuilt_etc("libatci") { + source = "sprd_ril/libatci.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] part_name = "radio" subsystem_name = "product_laphone" } -# ohos_prebuilt_etc("libatci") { -# source = "sprd_ril/libatci.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# part_name = "radio" -# subsystem_name = "product_laphone" -# } - - -# ohos_prebuilt_etc("librilcore") { -# source = "sprd_ril/librilcore.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# part_name = "radio" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("librilcore") { + source = "sprd_ril/librilcore.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] + part_name = "radio" + subsystem_name = "product_laphone" +} -# ohos_prebuilt_etc("libril-impl") { -# source = "sprd_ril/libril-impl.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# part_name = "radio" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("libril-impl") { + source = "sprd_ril/libril-impl.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] + part_name = "radio" + subsystem_name = "product_laphone" +} -# ohos_prebuilt_etc("libril-private") { -# source = "sprd_ril/libril-private.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# part_name = "radio" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("libril-private") { + source = "sprd_ril/libril-private.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] + part_name = "radio" + subsystem_name = "product_laphone" +} -# ohos_prebuilt_etc("librilutils") { -# source = "sprd_ril/librilutils.z.so" -# module_install_dir = "lib64" -# install_images = [ "vendor" ] -# part_name = "radio" -# subsystem_name = "product_laphone" -# } +ohos_prebuilt_etc("librilutils") { + source = "sprd_ril/librilutils.z.so" + module_install_dir = "lib64" + install_images = [ "vendor" ] + part_name = "radio" + subsystem_name = "product_laphone" +} group("radio"){ deps = [ ":sprd7885_ril_adapter_1.0", - # ":libatci", - # ":librilcore", - # ":libril-impl", - # ":libril-private", - # ":librilutils" + ":libatci", + ":librilcore", + ":libril-impl", + ":libril-private", + ":librilutils" ] } \ No newline at end of file diff --git a/laphone/telephony/bundle.json b/laphone/telephony/bundle.json new file mode 100755 index 0000000000000000000000000000000000000000..d2a0010ea7f1d2ab081463bc0850e980345480bd --- /dev/null +++ b/laphone/telephony/bundle.json @@ -0,0 +1,40 @@ +{ + "name": "@ohos/radio", + "description": "vendor bundle.", + "version": 3.2, + "license": "Apache License 2.0", + "publishAs": "code-segment", + "segment": { + "destPath": "vendor/hys/laphone" + }, + "dirs": {}, + "scripts": {}, + "component": { + "name": "radio", + "subsystem": "product_laphone", + "syscap": [], + "features": [], + "adapted_system_type": [ "standard" ], + "hisysevent_config": [], + "rom": "", + "ram": "", + "deps": { + "components": [ + "c_utils", + "init", + "ril_adapter", + "hilog" + ], + "third_party": [ + "libxml2" + ] + }, + "build": { + "sub_component": [ + "//vendor/hys/laphone/telephony:radio" + ], + "test": [] + } + } + } + diff --git a/laphone/telephony/lib/libsprd7885_ril_adapter_1.0.z.so b/laphone/telephony/lib/libsprd7885_ril_adapter_1.0.z.so new file mode 100755 index 0000000000000000000000000000000000000000..b42585a7fbb7be417f093cc681459d24d64020f9 Binary files /dev/null and b/laphone/telephony/lib/libsprd7885_ril_adapter_1.0.z.so differ