Linux_SDK_V1.0.2

This commit is contained in:
thead_admin
2022-11-22 15:44:50 +08:00
parent 093aab34cc
commit ea52f0cb71
74 changed files with 51056 additions and 73 deletions

152
Makefile Normal file
View File

@@ -0,0 +1,152 @@
##
# Copyright (C) 2020 Alibaba Group Holding Limited
##
VERBOSE=1
CONFIG_COMPILE_PLATFORM=RISCV
CONFIG_ISP_BUILD_TYPE=DEBUG
#CONFIG_ISP_BUILD_TYPE=RELEASE
CONFIG_ISP_VERSION=ISP8000L_V2008
CONFIG_ISP_LIB_BUILD_DIR=units/build
CONFIG_SENSOR_LIB_BUILD_DIR=build
CONFIG_ISP_RY_BUILD_TYPE=DEBUG
#CONFIG_ISP_RY_BUILD_TYPE=RELEASE
CONFIG_ISP_RY_VERSION=ISP8000_V2009
CONFIG_ISP_RY_LIB_BUILD_DIR=units_ry/build
CONFIG_DW200_CMODEL=off # on, off
CONFIG_DW200_V4L2=off # on, off
CONFIG_DW200_BUILD_DIR=dw200/build
CONFIG_DEC400_BUILD_DIR=dec400/build
CONFIG_VI_MONITOR_BUILD_DIR=vi_monitor/build
CONFIG_VI_MONITOR_TRACE=MONITOR_TRACE_ON
#CONFIG_VI_MONITOR_TRACE=MONITOR_TRACE_OFF
export CONFIG_HAL_PLATFORM=HAL_ALTERA
export COMPILE_PLATFORM=$(CONFIG_COMPILE_PLATFORM)
CONFIG_CMAKE_SENSOR_LIB_CMD:= \
cmake -DCMAKE_BUILD_TYPE=$(CONFIG_ISP_BUILD_TYPE) \
-DISP_VERSION=$(CONFIG_ISP_VERSION) \
-DSUBDEV_CHAR=1 -DHAL_PLATFORM=$(CONFIG_HAL_PLATFORM) \
-DUSE_3AV2=1 \
-DDUMMY_BUILD=0 \
-DVVCAM_INC_PATH=$(VVCAM_INC_PATH) \
-DCMAKE_VERBOSE_MAKEFILE=ON\
-Wno-dev ../drivers/
DIR_ISP_TARGET_BASE=bsp/isp
DIR_ISP_TARGET_LIB =bsp/isp/lib
DIR_ISP_TARGET_KO =bsp/isp/ko
DIR_ISP_TARGET_TEST=bsp/isp/test
DIR_ISP_TARGET_SDK =bsp/isp/sdk
DIR_ISP_RY_TARGET_BASE=bsp/isp_ry
DIR_ISP_RY_TARGET_LIB =bsp/isp_ry/lib
DIR_ISP_RY_TARGET_KO =bsp/isp_ry/ko
DIR_ISP_RY_TARGET_TEST=bsp/isp_ry/test
DIR_ISP_RY_TARGET_SDK =bsp/isp_ry/sdk
DIR_DW200_TARGET_BASE=bsp/dw200
DIR_DW200_TARGET_TEST=bsp/dw200/test
DIR_DW200_TARGET_DEMO=bsp/dw200/demo
DIR_DW200_TARGET_LIB=bsp/dw200/lib
DIR_DEC400_TARGET_BASE=bsp/dec400
DIR_DEC400_TARGET_TEST=bsp/dec400/test
DIR_DEC400_TARGET_LIB=bsp/dec400/lib
DIR_VI_MONITOR_TARGET_BASE=bsp/vi_monitor
DIR_VI_MONITOR_TARGET_TEST=bsp/vi_monitor/test
DIR_VI_MONITOR_TARGET_LIB=bsp/vi_monitor/lib
MODULE_NAME=ISP
BUILD_LOG_START="\033[47;30m>>> $(MODULE_NAME) $@ begin\033[0m"
BUILD_LOG_END ="\033[47;30m<<< $(MODULE_NAME) $@ end\033[0m"
#
# Do a parallel build with multiple jobs, based on the number of CPUs online
# in this system: 'make -j8' on a 8-CPU system, etc.
#
# (To override it, run 'make JOBS=1' and similar.)
#
ifeq ($(JOBS),)
JOBS := $(shell grep -c ^processor /proc/cpuinfo 2>/dev/null)
ifeq ($(JOBS),)
JOBS := 1
endif
endif
all: info sensor_lib \
install_local_output install_rootfs
.PHONY: info sensor_lib \
install_local_output install_rootfs \
clean_sensor_lib \
clean_output clean
info:
@echo $(BUILD_LOG_START)
@echo $(VVCAM_INC_PATH)
@echo " ====== Build Info from repo project ======"
@echo " BUILDROOT_DIR="$(BUILDROOT_DIR)
@echo " CROSS_COMPILE="$(CROSS_COMPILE)
@echo " LINUX_DIR="$(LINUX_DIR)
@echo " ARCH="$(ARCH)
@echo " BOARD_NAME="$(BOARD_NAME)
@echo " KERNEL_ID="$(KERNELVERSION)
@echo " KERNEL_DIR="$(LINUX_DIR)
@echo " INSTALL_DIR_ROOTFS="$(INSTALL_DIR_ROOTFS)
@echo " INSTALL_DIR_SDK="$(INSTALL_DIR_SDK)
@echo " DIR_MODULE_TOP="$(DIR_MODULE_TOP)
@echo " ====== Build configuration by settings ======"
@echo " COMPILE_PLATFORM="$(CONFIG_COMPILE_PLATFORM)
@echo " JOBS="$(JOBS)
@echo " ISP_BUILD_TYPE="$(CONFIG_ISP_BUILD_TYPE)
@echo " ISP_VERSION="$(CONFIG_ISP_VERSION)
@echo " ISP_LIB_BUILD_DIR="$(CONFIG_ISP_LIB_BUILD_DIR)
@echo " CMAKE_SENSOR_LIB_CMD=" $(CONFIG_CMAKE_SENSOR_LIB_CMD)
@echo " DW200_CMODEL="$(CONFIG_DW200_CMODEL)
@echo " DW200_V4L2="$(CONFIG_DW200_V4L2)
@echo " DW200_BUILD_DIR="$(CONFIG_DW200_BUILD_DIR)
@echo " DW200_CMAKE_CMD="$(CONFIG_DW200_CMAKE_CMD)
@echo " DEC400_BUILD_DIR="$(CONFIG_DEC400_BUILD_DIR)
@echo " DEC400_CMAKE_CMD="$(CONFIG_DEC400_CMAKE_CMD)
@echo " VI_MONITOR_BUILD_DIR="$(CONFIG_VI_MONITOR_BUILD_DIR)
@echo " VI_MONITOR_CMAKE_CMD="$(CONFIG_VI_MONITOR_CMAKE_CMD)
@echo " ISP_RY_BUILD_TYPE="$(CONFIG_ISP_RY_BUILD_TYPE)
@echo " ISP_RY_VERSION="$(CONFIG_ISP_RY_VERSION)
@echo " ISP_RY_LIB_BUILD_DIR="$(CONFIG_ISP_RY_LIB_BUILD_DIR)
@echo " CMAKE_ISP_RY_LIB_CMD=" $(CONFIG_CMAKE_ISP_RY_LIB_CMD)
@echo $(BUILD_LOG_END)
sensor_lib:
mkdir -p $(CONFIG_SENSOR_LIB_BUILD_DIR); \
cd $(CONFIG_SENSOR_LIB_BUILD_DIR); \
$(CONFIG_CMAKE_SENSOR_LIB_CMD); \
make -j$(JOBS); \
clean_sensor_lib:
@echo $(BUILD_LOG_START)
rm -rf $(CONFIG_SENSOR_LIB_BUILD_DIR)
@echo $(BUILD_LOG_END)
install_local_output: sensor_lib
@echo $(BUILD_LOG_START)
@echo $(BUILD_LOG_END)
install_rootfs: install_local_output
@echo $(BUILD_LOG_START)
@echo $(BUILD_LOG_END)
clean_output:
@echo $(BUILD_LOG_START)
@echo $(BUILD_LOG_END)
clean_proprietories_include:
@echo $(BUILD_LOG_START)
@echo $(BUILD_LOG_END)
clean: clean_output clean_sensor_lib \
clean_proprietories_include

View File

@@ -1,36 +0,0 @@
# vi-sensor
#### Description
camera sensor驱动
#### Software Architecture
Software architecture description
#### Installation
1. xxxx
2. xxxx
3. xxxx
#### Instructions
1. xxxx
2. xxxx
3. xxxx
#### Contribution
1. Fork the repository
2. Create Feat_xxx branch
3. Commit your code
4. Create Pull Request
#### Gitee Feature
1. You can use Readme\_XXX.md to support different languages, such as Readme\_en.md, Readme\_zh.md
2. Gitee blog [blog.gitee.com](https://blog.gitee.com)
3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
4. The most valuable open source project [GVP](https://gitee.com/gvp)
5. The manual of Gitee [https://gitee.com/help](https://gitee.com/help)
6. The most popular members [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)

View File

@@ -1,37 +1 @@
# vi-sensor
#### 介绍
camera sensor驱动
#### 软件架构
软件架构说明
#### 安装教程
1. xxxx
2. xxxx
3. xxxx
#### 使用说明
1. xxxx
2. xxxx
3. xxxx
#### 参与贡献
1. Fork 本仓库
2. 新建 Feat_xxx 分支
3. 提交代码
4. 新建 Pull Request
#### 特技
1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md
2. Gitee 官方博客 [blog.gitee.com](https://blog.gitee.com)
3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解 Gitee 上的优秀开源项目
4. [GVP](https://gitee.com/gvp) 全称是 Gitee 最有价值开源项目,是综合评定出的优秀开源项目
5. Gitee 官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help)
6. Gitee 封面人物是一档用来展示 Gitee 会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)
This is where customers compile their camera sensor drivers

84
drivers/CMakeLists.txt Normal file
View File

@@ -0,0 +1,84 @@
cmake_minimum_required(VERSION 3.1.0)
project(sensor_driver)
aux_source_directory(. DIR_SRCS)
include_directories(${PROJECT_SOURCE_DIR}/../../recipe-sysroot/usr/include/vvcam/common)
link_directories(
${PROJECT_SOURCE_DIR}/../../recipe-sysroot/usr/lib/
)
if (NOT LIB_ROOT)
get_filename_component(LIB_ROOT ${PROJECT_BINARY_DIR} ABSOLUTE)
endif (NOT LIB_ROOT)
message ("LIB_ROOT is at: ${LIB_ROOT}")
if(USE_3AV2)
add_definitions(-DUSE_3AV2)
endif()
if (SUBDEV_CHAR)
add_definitions(-DSUBDEV_CHAR)
endif()
add_definitions(-DHAL_ALTERA)
add_definitions(-DAPPMODE_NATIVE)
add_definitions(-DCAM_ENGINE_DRAW_DOM_ONLY)
add_definitions(-DISP8000L_BASE)
add_definitions(-DISP8000L_V2008)
add_definitions(-DISPVI_EXPAND_CHAN)
add_definitions(-DISP_2DNR)
add_definitions(-DISP_2DNR_V2)
add_definitions(-DISP_2DNR_V4)
add_definitions(-DISP_2DNR_V5)
add_definitions(-DISP_3DNR_V3)
add_definitions(-DISP_AEV2)
add_definitions(-DISP_AEV2_V2)
add_definitions(-DISP_AE_SHADOW)
add_definitions(-DISP_BLS)
add_definitions(-DISP_CA)
add_definitions(-DISP_COMPAND)
add_definitions(-DISP_CPROC_10BIT)
add_definitions(-DISP_CPROC_SHD)
add_definitions(-DISP_DEMOSAIC2)
add_definitions(-DISP_EE)
add_definitions(-DISP_FILTER)
add_definitions(-DISP_GREENEQUILIBRATE)
add_definitions(-DISP_HDR_STITCH)
add_definitions(-DISP_HIST256)
add_definitions(-DISP_HIST64)
add_definitions(-DISP_LSC_V2)
add_definitions(-DISP_MIV2)
add_definitions(-DISP_MI_BUF_DUMP)
add_definitions(-DISP_MI_HDR)
add_definitions(-DISP_MI_MCM_WR)
add_definitions(-DISP_MI_PP_WRITE)
add_definitions(-DISP_RGBGC)
add_definitions(-DISP_RGBIR)
add_definitions(-DISP_SP2)
add_definitions(-DISP_TPG)
add_definitions(-DISP_USE_AEV2)
add_definitions(-DISP_USE_AWBV2)
add_definitions(-DISP_VERSION=\"ISP8000L_V2008\")
add_definitions(-DISP_VSM)
add_definitions(-DISP_WDR_V4)
add_definitions(-DISP_WDR_V4_20BIT)
add_definitions(-DLINUX)
add_definitions(-DMARVIN_HW_ALTERA -DMIPI_USE_CAMERIC)
add_definitions(-DMRV_STITCHING_EXP_VERSION)
add_definitions(-DMRV_STITCHING_HIST_VERSION)
add_definitions(-DMRV_STITCHING_VERSION=2)
add_compile_options(-Werror=implicit-function-declaration)
add_subdirectory(IMX219)
add_subdirectory(SC2310)
add_subdirectory(SC132GS)
add_subdirectory(GC5035)
add_subdirectory(GC02M1B)
add_subdirectory(IMX334)
link_libraries(${PROJECT_NAME} isi )
#target_link_libraries()

View File

@@ -0,0 +1,518 @@
{
"root" : [
{
"classname" : "Aev1",
"enable" : false
},
{
"classname" : "Aev2",
"enable" : false,
"motionThreshold" : 0.5,
"roiWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 10,
"maxSensorDgain" : 6,
"maxIspDgain" : 2.5,
"setPoint" : 50,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5
},
{
"classname" : "Aehdr",
"enable" : false,
"motionThreshold" : 0.5,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 10,
"maxSensorDgain" : 6,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "AdaptiveAe",
"enable" : true,
"motionThreshold" : 0.7,
"roi_start" : 7,
"roi_end" : 20,
"roi_weight" : 1,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"targetFilter" : 0.5,
"wdrContrast.min" : 150,
"wdrContrast.max" : 150,
"lowlight" : {
"linear_repress" : [0.8, 0.7, 0.5, 0.5, 0.4],
"linear_gain" : [4, 8, 16, 32, 100],
"hdr_repress" : [1, 0.8, 0.8, 0.8, 0.8],
"hdr_gain" : [4, 8, 16, 32, 100]
},
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 1,
"setPoint" : 60
},
{
"classname" : "Awbv2",
"enable" : false,
"illuorder" : "A, D50, D65, D75, TL84, F12, CWF",
"indoor" : [1, 1, 1, 1, 1, 1, 1],
"outdoor" : [1, 1, 1, 1, 1, 1, 1],
"transition" : [1, 1, 1, 1, 1, 1, 1],
"avg" : 0
},
{
"classname" : "IspController",
"enable" : true
},
{
"classname" : "AutoHdr",
"enable" : false
},
{
"classname" : "DciHist",
"enable" : false,
"gaussMeanPos" : 64,
"gaussSigmaPos" : 128,
"gaussAmpPos" : 1,
"gaussMeanNeg" : 0,
"gaussSigmaNeg" : 128,
"gaussAmpNeg" : 1
},
{
"classname" : "SensorController",
"enable" : true
},
{
"classname" : "AGamma64",
"forcecreate" : true,
"enable" : true,
"updateOnce" : false,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[18, 35, 53, 70, 86, 103, 120, 136, 153, 169, 186, 202, 219, 235, 251, 267, 283, 300, 316, 332, 348, 364, 380, 396, 412, 428, 444, 460, 476, 491, 507, 523, 539, 555, 571, 586, 602, 618, 634, 649, 665, 681, 696, 712, 728, 743, 759, 775, 790, 806, 821, 837, 853, 868, 884, 899, 914, 930, 945, 961, 977, 992, 1008, 1023]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023]
]
}
]
},
{
"classname" : "ACproc",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1.2, 1.1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0, 0],
"saturation" : [1.2, 1.05, 0.92, 0.80, 0.75, 0.6],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1.0, 1.0, 1.3, 1.3, 1.5, 1.85],
"brightness" : [-12, -12, -24, -30, -16, 0],
"saturation" : [1.25, 1.0, 0.9, 0.8, 0.7, 0.6],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
}
]
},
{
"classname" : "Aee",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [1024, 1024, 1024, 1024, 1024, 1024],
"ydown" : [1024, 1024, 1024, 1024, 1024, 1024],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [1000, 1000, 1000, 1000, 500, 200]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [8000, 8000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1500, 600, 200]
}
]
},
{
"classname" : "ACa",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enableCA" : [1, 1, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1023, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023]
]
},
{
"hdr" : true,
"enableCA" : [0, 0, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022]
]
}
]
},
{
"classname" : "ADmsc2",
"forcecreate" : true,
"enable" : false,
"disable" : false,
"demoire_enable" : true,
"demoire_area_thr" : 16,
"demoire_sat_shrink" : 8,
"demoire_r2" : 256,
"demoire_r1" : 0,
"demoire_t2_shift" : 2,
"demoire_t1" : 180,
"demoire_edge_r2" : 256,
"demoire_edge_r1" : 20,
"demoire_edge_t2_shift" : 4,
"demoire_edge_t1" :20,
"depurple_enable" : true,
"depurple_red_sat" : true,
"depurple_blue_sat" : true,
"depurple_sat_shrink" : 8,
"depurple_thr" : 40,
"skin_enable" : false,
"cb_thr_max_2047" : 10,
"cb_thr_min_2047" : 8,
"cr_thr_max_2047" : 10,
"cr_thr_min_2047" : 8,
"y_thr_max_2047" : 10,
"y_thr_min_2047" : 8,
"tables" : [
{
"hdr" : false,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [1, 1, 1, 1, 1, 1],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [70, 60, 40, 20, 20, 0],
"facwhite" : [70, 60, 60, 40, 20, 0],
"maxblack" : [100, 100, 100, 100, 100, 100],
"maxwhite" : [100, 100, 100, 100, 100, 100],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [5, 5, 5, 5, 5, 5],
"gsharpen" : [8, 8, 8, 8, 8, 8],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
},
{
"hdr" : true,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [0, 0, 0, 0, 0, 0],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [200, 200, 100, 50, 20, 20],
"facwhite" : [200, 200, 150, 80, 40, 20],
"maxblack" : [200, 200, 100, 100, 100, 100],
"maxwhite" : [200, 200, 200, 200, 200, 200],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
}
]
},
{
"classname" : "AWdr4",
"forcecreate" : true,
"enable" : false,
"disable" : true,
"backlight" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [24, 24, 24, 24, 12, 12],
"lowStrength" : [210, 180, 180, 180, 180, 180],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [500, 500, 300, 300, 300, 300],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
}
],
"entropy_slope" : 200,
"entropy_base" : 700,
"entropy" : [0, 0, 0, 2, 3, 6, 11, 22, 39, 67, 111, 177, 227, 266, 321, 355, 377, 355, 221, 0],
"gamma_down" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 9, 16, 36, 64, 136, 256, 576, 1023],
"gamma_up" : [0, 283121, 330313, 377512, 424723, 471961, 519250, 566650, 614235, 662241, 711077, 761540, 792420, 815280, 849436, 875575, 913530, 948975, 1002792, 1048575],
"?gamma_up" : [0, 1024, 34837, 56737, 82912, 116814, 162079, 223337, 306767, 420749, 576707, 735048, 745499, 755950, 776852, 797754, 839557, 881361, 964968, 1048575],
"gamma_pre" : [0, 31514, 36815, 42173, 47646, 53350, 59514, 66602, 75530, 88145, 108135, 142869, 175428, 207095, 269144, 330303, 442139, 571475, 810472, 1048575]
},
{
"classname" : "A3dnrv3",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"autonoiseLevel": true,
"tnr_en" : false,
"nlm_en" : true,
"tables" : [
{
"hdr" : false,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
},
{
"hdr" : true,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
}
]
},
{
"classname" : "A2dnrv5",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
"sigma" : [2, 2, 2, 5, 6, 6, 11, 11, 11, 14],
"blendstatic" : [100, 100, 100, 100, 100, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 90, 90, 100, 100, 100]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [100, 100, 100, 100, 100, 100, 100, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
}
]
},
{
"classname" : "ADpf",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.1, 0.2, 0.4, 0.7, 1, 1.5, 2, 2.5, 3, 3.5],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [1, 1, 1, 1, 1, 1, 1, 2, 4, 16],
"Div" : [64, 64, 64, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [2, 2, 3, 3, 3, 3, 4, 4, 4, 4],
"sigma_rb" : [2, 2, 3, 3, 3, 3, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [16, 16, 16, 16, 16, 16, 16, 16, 16, 16],
"Div" : [64, 64, 64, 64, 64, 64, 64, 64, 64, 64],
"sigma_g" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"sigma_rb" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
}
]
},
{
"classname" : "ABlc",
"forcecreate" : true,
"enable" : true,
"tables" : [
{
"hdr" : false,
"gains" : [1, 16],
"blc" : [64, 64]
},
{
"hdr" : true,
"gains" : [1, 16],
"blc" : [64, 64]
}
]
}
]
}

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module gc02m1b)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

1791
drivers/GC02M1B/GC02M1B.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,200 @@
0xfc 0x01
0xf4 0x41
0xf5 0xc0
0xf6 0x44
0xf8 0x38
0xf9 0x82
0xfa 0x00
0xfd 0x80
0xfc 0x81
0xfe 0x03
0x01 0x0b
0xf7 0x01
0xfc 0x80
0xfc 0x80
0xfc 0x80
0xfc 0x8e
0xfe 0x00
0x87 0x09
0xee 0x72
0xfe 0x01
0x8c 0x90
0xfe 0x00
0x90 0x00
0x03 0x04
0x04 0x7d
0x41 0x04
0x42 0xf4
0x05 0x04
0x06 0x48
0x07 0x00
0x08 0x18
0x9d 0x18
0x09 0x00
0x0a 0x02
0x0d 0x04
0x0e 0xbc
0x17 0x80
0x19 0x04
0x24 0x00
0x56 0x20
0x5b 0x00
0x5e 0x01
0x21 0x3c
0x44 0x20
0xcc 0x01
0x1a 0x04
0x1f 0x11
0x27 0x30
0x2b 0x00
0x33 0x00
0x53 0x90
0xe6 0x50
0x39 0x07
0x43 0x04
0x46 0x2a
0x7c 0xa0
0xd0 0xbe
0xd1 0x60
0xd2 0x40
0xd3 0xf3
0xde 0x1d
0xcd 0x05
0xce 0x6f
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x04
0xe0 0x01
0xfe 0x00
0xfe 0x01
0x53 0x44
0x87 0x53
0x89 0x03
0xfe 0x00
0xb0 0x74
0xb1 0x04
0xb2 0x00
0xb6 0x00
0xfe 0x04
0xd8 0x00
0xc0 0x40
0xc0 0x00
0xc0 0x00
0xc0 0x00
0xc0 0x60
0xc0 0x00
0xc0 0xc0
0xc0 0x2a
0xc0 0x80
0xc0 0x00
0xc0 0x00
0xc0 0x40
0xc0 0xa0
0xc0 0x00
0xc0 0x90
0xc0 0x19
0xc0 0xc0
0xc0 0x00
0xc0 0xD0
0xc0 0x2F
0xc0 0xe0
0xc0 0x00
0xc0 0x90
0xc0 0x39
0xc0 0x00
0xc0 0x01
0xc0 0x20
0xc0 0x04
0xc0 0x20
0xc0 0x01
0xc0 0xe0
0xc0 0x0f
0xc0 0x40
0xc0 0x01
0xc0 0xe0
0xc0 0x1a
0xc0 0x60
0xc0 0x01
0xc0 0x20
0xc0 0x25
0xc0 0x80
0xc0 0x01
0xc0 0xa0
0xc0 0x2c
0xc0 0xa0
0xc0 0x01
0xc0 0xe0
0xc0 0x32
0xc0 0xc0
0xc0 0x01
0xc0 0x20
0xc0 0x38
0xc0 0xe0
0xc0 0x01
0xc0 0x60
0xc0 0x3c
0xc0 0x00
0xc0 0x02
0xc0 0xa0
0xc0 0x40
0xc0 0x80
0xc0 0x02
0xc0 0x18
0xc0 0x5c
0xfe 0x00
0x9f 0x10
0xfe 0x00
0x26 0x20
0xfe 0x01
0x40 0x22
0x46 0x7f
0x49 0x0f
0x4a 0xf0
0xfe 0x04
0x14 0x80
0x15 0x80
0x16 0x80
0x17 0x80
0xfe 0x01
0x41 0x20
0x4c 0x00
0x4d 0x0c
0x44 0x08
0x48 0x03
0xfe 0x01
0x90 0x01
0x91 0x00
0x92 0x06
0x93 0x00
0x94 0x06
0x95 0x04
0x96 0xb0
0x97 0x06
0x98 0x40
0xfe 0x03
0x01 0x23
0x03 0xce
0x04 0x48
0x15 0x00
0x21 0x10
0x22 0x05
0x23 0x20
0x25 0x20
0x26 0x08
0x29 0x06
0x2a 0x0a
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x00

View File

@@ -0,0 +1,241 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file GC02M1B_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup GC02M1B_priv
* @{
*
*/
#ifndef __GC02M1B_PRIV_H__
#define __GC02M1B_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define GC02M1B_PIDH (0x300A) //R - Product ID High Byte MSBs
#define GC02M1B_PIDL (0x300B) //R - Product ID Low Byte LSBs
/*****************************************************************************
* Default values
*****************************************************************************/
// Make sure that these static settings are reflecting the capabilities defined
// in IsiGetCapsIss (further dynamic setup may alter these default settings but
// often does not if there is no choice available).
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define GC02M1B_PIDH_DEFAULT (0x27) //read only
#define GC02M1B_PIDL_DEFAULT (0x70) //read only
typedef struct GC02M1B_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
uint32_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurIntegrationTime;
float AecCurVSIntegrationTime;
float AecCurLongIntegrationTime;
float AecCurGain;
float AecCurVSGain;
float AecCurLongGain;
uint32_t LastExpLine;
uint32_t LastVsExpLine;
uint32_t LastLongExpLine;
uint32_t LastGain;
uint32_t LastVsGain;
uint32_t LastLongGain;
bool GroupHold;
uint32_t OldGain;
uint32_t OldVsGain;
uint32_t OldIntegrationTime;
uint32_t OldVsIntegrationTime;
uint32_t OldGainHcg;
uint32_t OldAGainHcg;
uint32_t OldGainLcg;
uint32_t OldAGainLcg;
int subdev;
uint8_t pattern;
float CurHdrRatio;
} GC02M1B_Context_t;
static RESULT GC02M1B_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT GC02M1B_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT GC02M1B_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT GC02M1B_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT GC02M1B_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT GC02M1B_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT GC02M1B_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT GC02M1B_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT GC02M1B_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT GC02M1B_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT GC02M1B_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT GC02M1B_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT GC02M1B_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT GC02M1B_IsiGetVSGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT GC02M1B_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT GC02M1B_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT GC02M1B_IsiSetVSGainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT GC02M1B_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT GC02M1B_IsiGetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT GC02M1B_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT GC02M1B_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT GC02M1B_IsiSetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
RESULT GC02M1B_IsiGetResolutionIss(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT GC02M1B_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} GC02M1Bpriv */
#endif /* __GC02M1BPRIV_H__ */

1377
drivers/GC02M1B/gc02m1b.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,517 @@
{
"root" : [
{
"classname" : "Aev1",
"enable" : false
},
{
"classname" : "Aev2",
"enable" : true,
"motionThreshold" : 0.5,
"roiWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 2.5,
"setPoint" : 50,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5
},
{
"classname" : "Aehdr",
"enable" : false,
"motionThreshold" : 0.5,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "AdaptiveAe",
"enable" : false,
"motionThreshold" : 0.7,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"targetFilter" : 0.5,
"wdrContrast.min" : 10,
"wdrContrast.max" : 110,
"lowlight" : {
"linear_repress" : [1, 0.8, 0.6, 0.4, 0.4],
"linear_gain" : [4, 8, 16, 32, 100],
"hdr_repress" : [1, 0.8, 0.8, 0.8, 0.8],
"hdr_gain" : [4, 8, 16, 32, 100]
},
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 50
},
{
"classname" : "Awbv2",
"enable" : true,
"illuorder" : "A, D50, D65, D75, TL84, F12, CWF",
"indoor" : [1, 1, 1, 1, 1, 1, 1],
"outdoor" : [1, 1, 1, 1, 1, 1, 1],
"transition" : [1, 1, 1, 1, 1, 1, 1],
"avg" : 0
},
{
"classname" : "IspController",
"enable" : true
},
{
"classname" : "AutoHdr",
"enable" : false
},
{
"classname" : "DciHist",
"enable" : false,
"gaussMeanPos" : 64,
"gaussSigmaPos" : 128,
"gaussAmpPos" : 1,
"gaussMeanNeg" : 0,
"gaussSigmaNeg" : 128,
"gaussAmpNeg" : 1
},
{
"classname" : "SensorController",
"enable" : true
},
{
"classname" : "AGamma64",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[18, 35, 53, 70, 86, 103, 120, 136, 153, 169, 186, 202, 219, 235, 251, 267, 283, 300, 316, 332, 348, 364, 380, 396, 412, 428, 444, 460, 476, 491, 507, 523, 539, 555, 571, 586, 602, 618, 634, 649, 665, 681, 696, 712, 728, 743, 759, 775, 790, 806, 821, 837, 853, 868, 884, 899, 915, 930, 946, 961, 977, 992, 1008, 1023]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023]
]
}
]
},
{
"classname" : "ACproc",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
}
]
},
{
"classname" : "Aee",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [5000, 5000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1000, 500, 200]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [8000, 8000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1500, 600, 200]
}
]
},
{
"classname" : "ACa",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enableCA" : [0, 0, 0, 0, 0, 0],
"enableDCI" : [1, 1, 1, 1, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1023, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023]
]
},
{
"hdr" : true,
"enableCA" : [0, 0, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022]
]
}
]
},
{
"classname" : "ADmsc2",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"demoire_enable" : true,
"demoire_area_thr" : 3,
"demoire_sat_shrink" : 5,
"demoire_r2" : 256,
"demoire_r1" : 0,
"demoire_t2_shift" : 2,
"demoire_t1" : 180,
"demoire_edge_r2" : 256,
"demoire_edge_r1" : 20,
"demoire_edge_t2_shift" : 4,
"demoire_edge_t1" :20,
"depurple_enable" : true,
"depurple_red_sat" : true,
"depurple_blue_sat" : true,
"depurple_sat_shrink" : 8,
"depurple_thr" : 8,
"skin_enable" : false,
"cb_thr_max_2047" : 10,
"cb_thr_min_2047" : 8,
"cr_thr_max_2047" : 10,
"cr_thr_min_2047" : 8,
"y_thr_max_2047" : 10,
"y_thr_min_2047" : 8,
"tables" : [
{
"hdr" : false,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [1, 1, 1, 1, 1, 1],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [10, 10, 10, 10, 10, 10],
"facwhite" : [10, 10, 10, 10, 10, 10],
"maxblack" : [20, 20, 20, 20, 20, 20],
"maxwhite" : [20, 20, 20, 20, 20, 20],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
},
{
"hdr" : true,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [0, 0, 0, 0, 0, 0],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [200, 200, 100, 50, 20, 20],
"facwhite" : [200, 200, 150, 80, 40, 20],
"maxblack" : [200, 200, 100, 100, 100, 100],
"maxwhite" : [200, 200, 200, 200, 200, 200],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
}
]
},
{
"classname" : "AWdr4",
"forcecreate" : true,
"enable" : false,
"disable" : true,
"backlight" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
}
],
"entropy_slope" : 200,
"entropy_base" : 700,
"entropy" : [0, 0, 0, 2, 3, 6, 11, 22, 39, 67, 111, 177, 227, 266, 321, 355, 377, 355, 221, 0],
"gamma_down" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 9, 16, 36, 64, 136, 256, 576, 1023],
"gamma_up" : [0, 283121, 330313, 377512, 424723, 471961, 519250, 566650, 614235, 662241, 711077, 761540, 792420, 815280, 849436, 875575, 913530, 948975, 1002792, 1048575],
"?gamma_up" : [0, 1024, 34837, 56737, 82912, 116814, 162079, 223337, 306767, 420749, 576707, 735048, 745499, 755950, 776852, 797754, 839557, 881361, 964968, 1048575],
"gamma_pre" : [0, 31514, 36815, 42173, 47646, 53350, 59514, 66602, 75530, 88145, 108135, 142869, 175428, 207095, 269144, 330303, 442139, 571475, 810472, 1048575]
},
{
"classname" : "A3dnrv3",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"autonoiseLevel": true,
"tnr_en" : false,
"nlm_en" : true,
"tables" : [
{
"hdr" : false,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
},
{
"hdr" : true,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
}
]
},
{
"classname" : "A2dnrv5",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
}
]
},
{
"classname" : "ADpf",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.1, 0.2, 0.4, 0.7, 1, 1.5, 2, 2.5, 3, 3.5],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [1, 1, 1, 1, 1, 1, 1, 2, 4, 16],
"Div" : [64, 64, 64, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"sigma_rb" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [16, 16, 16, 16, 16, 16, 16, 16, 16, 16],
"Div" : [65, 65, 65, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"sigma_rb" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
}
]
},
{
"classname" : "ABlc",
"forcecreate" : true,
"enable" : true,
"tables" : [
{
"hdr" : false,
"gains" : [1, 16],
"blc" : [64, 64]
},
{
"hdr" : true,
"gains" : [1, 16],
"blc" : [64, 64]
}
]
}
]
}

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module gc5035)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

1902
drivers/GC5035/GC5035.c Normal file

File diff suppressed because it is too large Load Diff

1287
drivers/GC5035/GC5035.xml Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,163 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0x03 0x02
0x04 0x58
0x41 0x07
0x42 0xcc
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x60
0x28 0x22
0x29 0x30
0x44 0x18
0x4b 0x10
0x4e 0x20
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x20
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x16 0x0c
0x1a 0x1a
0x1f 0x19
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb3
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x02
0x15 0x00
0x22 0x7c
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
/*GAIN*/
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
/*ISP*/
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
/*BLK*/
0xfe 0x01
0x42 0x21
0x49 0x00
0x4a 0x01
0x4b 0xf8
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x06
0x44 0x02
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x82
0x93 0x00
0x94 0x0b
0x95 0x02
0x96 0xd0
0x97 0x05
0x98 0x00
0x99 0x00
0xfe 0x03
0x02 0x58
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x03
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x06
0x29 0x03
0x2a 0x58
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,257 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x60
0x29 0x30
0x44 0x18
0x4e 0x20
0x8c 0x20
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x1f 0x19
0xce 0x18
0xd0 0xb3
0xfe 0x02
0x14 0x02
0x15 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x00
0x4a 0x01
0x4b 0xf8
0xfe 0x01
0x4e 0x06
0x44 0x02
0xfe 0x01
0x91 0x00
0x92 0x0a
0x93 0x00
0x94 0x0b
0x95 0x02
0x96 0xd0
0x97 0x05
0x98 0x00
0x99 0x00
0xfe 0x03
0x02 0x58
0x22 0x03
0x26 0x06
0x29 0x03
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,257 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x60
0x29 0x30
0x44 0x18
0x4e 0x20
0x8c 0x20
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x1f 0x19
0xce 0x18
0xd0 0xb3
0xfe 0x02
0x14 0x02
0x15 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x00
0x4a 0x01
0x4b 0xf8
0xfe 0x01
0x4e 0x06
0x44 0x02
0xfe 0x01
0x91 0x00
0x92 0x0a
0x93 0x00
0x94 0x0b
0x95 0x02
0x96 0xd0
0x97 0x05
0x98 0x00
0x99 0x00
0xfe 0x03
0x02 0x58
0x22 0x03
0x26 0x06
0x29 0x03
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,262 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x03
0x06 0xb4
0x9d 0x20
0x09 0x00
0x0a 0xf4
0x0b 0x00
0x0c 0x03
0x0d 0x05
0x0e 0xc8
0x0f 0x0a
0x10 0x30
0xd9 0xf8
0x21 0xe0
0x29 0x40
0x44 0x30
0x4e 0x20
0x8c 0x20
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x1f 0x19
0xce 0x18
0xd0 0xb3
0xfe 0x02
0x14 0x02
0x15 0x00
0x91 0x00
0x92 0xf0
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x00
0x4a 0x01
0x4b 0xf8
0xfe 0x01
0x4e 0x06
0x44 0x02
0xfe 0x01
0x91 0x00
0x92 0x0a
0x93 0x00
0x94 0x0b
0x95 0x02
0x96 0xd0
0x97 0x05
0x98 0x00
0x99 0x00
0xfe 0x03
0x02 0x58
0x22 0x03
0x26 0x06
0x29 0x03
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,255 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x60
0x29 0x30
0x44 0x18
0x4e 0x20
0x8c 0x20
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x1f 0x19
0xce 0x18
0xd0 0xb3
0xfe 0x02
0x14 0x02
0x15 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x00
0x4a 0x01
0x4b 0xf8
0xfe 0x01
0x4e 0x06
0x44 0x02
0xfe 0x01
0x91 0x00
0x92 0x04
0x93 0x00
0x94 0x03
0x95 0x03
0x96 0xcc
0x97 0x05
0x98 0x10
0x99 0x00
0xfe 0x03
0x02 0x58
0x22 0x03
0x26 0x06
0x29 0x03
0x2b 0x06
0xfe 0x01
0x8c 0x10

View File

@@ -0,0 +1,257 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x60
0x29 0x30
0x44 0x18
0x4e 0x20
0x8c 0x20
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x1f 0x19
0xce 0x18
0xd0 0xb3
0xfe 0x02
0x14 0x02
0x15 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x00
0x4a 0x01
0x4b 0xf8
0xfe 0x01
0x4e 0x06
0x44 0x02
0xfe 0x01
0x91 0x00
0x92 0x04
0x93 0x00
0x94 0x03
0x95 0x03
0x96 0xcc
0x97 0x05
0x98 0x10
0x99 0x00
0xfe 0x03
0x02 0x58
0x22 0x03
0x26 0x06
0x29 0x03
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,166 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0x03 0x0b
0x04 0xb8
0x41 0x07
0x42 0xd8
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x01
0x92 0xb0
0x93 0x01
0x94 0x5f
0x95 0x04
0x96 0x38
0x97 0x07
0x98 0x80
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x03 0x07
0x04 0x04
0x41 0x07
0x42 0xd8
0xb6 0x11
0xb1 0x01
0xb2 0x07

View File

@@ -0,0 +1,257 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x48
0x29 0x58
0x44 0x20
0x4e 0x1a
0x8c 0x1a
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x1f 0x11
0xce 0x18
0xd0 0xb2
0xfe 0x02
0x14 0x01
0x15 0x02
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x03
0x4a 0xff
0x4b 0xc0
0xfe 0x01
0x4e 0x3c
0x44 0x08
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x22 0x06
0x26 0x08
0x29 0x06
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,257 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0x91 0x00
0x92 0x00
0x93 0x00
0x94 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x01
0xfe 0x00
0x3e 0x01
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0xfe 0x00
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x21 0x48
0x29 0x58
0x44 0x20
0x4e 0x1a
0x8c 0x1a
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x1f 0x11
0xce 0x18
0xd0 0xb2
0xfe 0x02
0x14 0x01
0x15 0x02
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x01
0x49 0x03
0x4a 0xff
0x4b 0xc0
0xfe 0x01
0x4e 0x3c
0x44 0x08
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x22 0x06
0x26 0x08
0x29 0x06
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x3e 0x91

View File

@@ -0,0 +1,166 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe9
0xf6 0x14
0xf8 0x49
0xf9 0x82
0xfa 0x00
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x00
0xfe 0x03
0x01 0xe7
0xf7 0x01
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0x03 0x0b
0x04 0xb8
0x41 0x07
0x42 0xd8
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x48
0x28 0x22
0x29 0x58
0x44 0x20
0x4b 0x10
0x4e 0x1a
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x1a
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x80
0x92 0x28
0x93 0x20
0x95 0xa0
0x96 0xe0
0xd5 0xfc
0x97 0x28
0x16 0x0c
0x1a 0x1a
0x1f 0x11
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb2
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x01
0x15 0x02
0x22 0x7c
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x03
0x4a 0xff
0x4b 0xc0
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x3c
0x44 0x08
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0x08
0x93 0x00
0x94 0x07
0x95 0x07
0x96 0x98
0x97 0x0a
0x98 0x20
0x99 0x00
0xfe 0x03
0x02 0x57
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x06
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x08
0x29 0x06
0x2a 0x58
0x2b 0x08
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x03 0x07
0x04 0x04
0x41 0x07
0x42 0xd8
0xb6 0x11
0xb1 0x01
0xb2 0x02

View File

@@ -0,0 +1,166 @@
0xfc 0x01
0xf4 0x40
0xf5 0xe4
0xf6 0x14
0xf8 0x49
0xf9 0x12
0xfa 0x01
0xfc 0x81
0xfe 0x00
0x36 0x01
0xd3 0x87
0x36 0x00
0x33 0x20
0xfe 0x03
0x01 0x87
0xf7 0x11
0xfc 0x8f
0xfc 0x8f
0xfc 0x8e
0xfe 0x00
0xee 0x30
0x87 0x18
0xfe 0x01
0x8c 0x90
0xfe 0x00
0x03 0x02
0x04 0x58
0x41 0x07
0x42 0xcc
0x05 0x02
0x06 0xda
0x9d 0x0c
0x09 0x00
0x0a 0x04
0x0b 0x00
0x0c 0x03
0x0d 0x07
0x0e 0xa8
0x0f 0x0a
0x10 0x30
0x11 0x02
0x17 0x80
0x19 0x05
0xfe 0x02
0x30 0x03
0x31 0x03
0xfe 0x00
0xd9 0xc0
0x1b 0x20
0x21 0x60
0x28 0x22
0x29 0x30
0x44 0x18
0x4b 0x10
0x4e 0x20
0x50 0x11
0x52 0x33
0x53 0x44
0x55 0x10
0x5b 0x11
0xc5 0x02
0x8c 0x20
0xfe 0x02
0x33 0x05
0x32 0x38
0xfe 0x00
0x91 0x15
0x92 0x3a
0x93 0x20
0x95 0x45
0x96 0x35
0xd5 0xf0
0x97 0x20
0x16 0x0c
0x1a 0x1a
0x1f 0x19
0x20 0x10
0x46 0x83
0x4a 0x04
0x54 0x02
0x62 0x00
0x72 0x8f
0x73 0x89
0x7a 0x05
0x7d 0xcc
0x90 0x00
0xce 0x18
0xd0 0xb3
0xd2 0x40
0xe6 0xe0
0xfe 0x02
0x12 0x01
0x13 0x01
0x14 0x02
0x15 0x00
0x22 0x7c
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xfe 0x00
0xfe 0x00
0xfc 0x88
0xfe 0x10
0xfe 0x00
0xfc 0x8e
0xfe 0x00
0xb0 0x6e
0xb1 0x01
0xb2 0x00
0xb3 0x00
0xb4 0x00
0xb6 0x00
0xfe 0x01
0x53 0x00
0x89 0x03
0x60 0x40
0xfe 0x01
0x42 0x21
0x49 0x00
0x4a 0x01
0x4b 0xf8
0x55 0x00
0xfe 0x01
0x41 0x28
0x4c 0x00
0x4d 0x00
0x4e 0x06
0x44 0x02
0x48 0x02
0xfe 0x01
0x91 0x00
0x92 0xF6
0x93 0x01
0x94 0x48
0x95 0x01
0x96 0xe0
0x97 0x02
0x98 0x80
0x99 0x00
0xfe 0x03
0x02 0x58
0x03 0xb7
0x15 0x14
0x18 0x0f
0x21 0x22
0x22 0x03
0x23 0x48
0x24 0x12
0x25 0x28
0x26 0x06
0x29 0x03
0x2a 0x58
0x2b 0x06
0xfe 0x01
0x8c 0x10
0xfe 0x00
0x03 0x07
0x04 0x04
0x41 0x07
0x42 0xd8
0xb6 0x0e
0xb1 0x01
0xb2 0x02

View File

@@ -0,0 +1,241 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file GC5035_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup gc5035_priv
* @{
*
*/
#ifndef __GC5035_PRIV_H__
#define __GC5035_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define GC5035_PIDH (0x300A) //R - Product ID High Byte MSBs
#define GC5035_PIDL (0x300B) //R - Product ID Low Byte LSBs
/*****************************************************************************
* Default values
*****************************************************************************/
// Make sure that these static settings are reflecting the capabilities defined
// in IsiGetCapsIss (further dynamic setup may alter these default settings but
// often does not if there is no choice available).
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define GC5035_PIDH_DEFAULT (0x27) //read only
#define GC5035_PIDL_DEFAULT (0x70) //read only
typedef struct GC5035_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
uint32_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurIntegrationTime;
float AecCurVSIntegrationTime;
float AecCurLongIntegrationTime;
float AecCurGain;
float AecCurVSGain;
float AecCurLongGain;
uint32_t LastExpLine;
uint32_t LastVsExpLine;
uint32_t LastLongExpLine;
uint32_t LastGain;
uint32_t LastVsGain;
uint32_t LastLongGain;
bool GroupHold;
uint32_t OldGain;
uint32_t OldVsGain;
uint32_t OldIntegrationTime;
uint32_t OldVsIntegrationTime;
uint32_t OldGainHcg;
uint32_t OldAGainHcg;
uint32_t OldGainLcg;
uint32_t OldAGainLcg;
int subdev;
uint8_t pattern;
float CurHdrRatio;
} GC5035_Context_t;
static RESULT GC5035_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT GC5035_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT GC5035_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT GC5035_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT GC5035_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT GC5035_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT GC5035_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT GC5035_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT GC5035_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT GC5035_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT GC5035_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT GC5035_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT GC5035_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT GC5035_IsiGetVSGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT GC5035_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT GC5035_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT GC5035_IsiSetVSGainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT GC5035_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT GC5035_IsiGetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT GC5035_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT GC5035_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT GC5035_IsiSetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
RESULT GC5035_IsiGetResolutionIss(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT GC5035_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} gc5035priv */
#endif /* __GC5035PRIV_H__ */

1377
drivers/GC5035/gc5035.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,517 @@
{
"root" : [
{
"classname" : "Aev1",
"enable" : false
},
{
"classname" : "Aev2",
"enable" : true,
"motionThreshold" : 0.5,
"roiWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 10.66,
"maxSensorDgain" : 15.85,
"maxIspDgain" : 2.5,
"setPoint" : 50,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5
},
{
"classname" : "Aehdr",
"enable" : false,
"motionThreshold" : 0.5,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "AdaptiveAe",
"enable" : false,
"motionThreshold" : 0.7,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"targetFilter" : 0.5,
"wdrContrast.min" : 10,
"wdrContrast.max" : 110,
"lowlight" : {
"linear_repress" : [1, 0.8, 0.6, 0.4, 0.4],
"linear_gain" : [4, 8, 16, 32, 100],
"hdr_repress" : [1, 0.8, 0.8, 0.8, 0.8],
"hdr_gain" : [4, 8, 16, 32, 100]
},
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 50
},
{
"classname" : "Awbv2",
"enable" : true,
"illuorder" : "A, D50, D65, D75, TL84, F12, CWF",
"indoor" : [1, 1, 1, 1, 1, 1, 1],
"outdoor" : [1, 1, 1, 1, 1, 1, 1],
"transition" : [1, 1, 1, 1, 1, 1, 1],
"avg" : 0
},
{
"classname" : "IspController",
"enable" : true
},
{
"classname" : "AutoHdr",
"enable" : false
},
{
"classname" : "DciHist",
"enable" : false,
"gaussMeanPos" : 64,
"gaussSigmaPos" : 128,
"gaussAmpPos" : 1,
"gaussMeanNeg" : 0,
"gaussSigmaNeg" : 128,
"gaussAmpNeg" : 1
},
{
"classname" : "SensorController",
"enable" : true
},
{
"classname" : "AGamma64",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[18, 35, 53, 70, 86, 103, 120, 136, 153, 169, 186, 202, 219, 235, 251, 267, 283, 300, 316, 332, 348, 364, 380, 396, 412, 428, 444, 460, 476, 491, 507, 523, 539, 555, 571, 586, 602, 618, 634, 649, 665, 681, 696, 712, 728, 743, 759, 775, 790, 806, 821, 837, 853, 868, 884, 899, 915, 930, 946, 961, 977, 992, 1008, 1023]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023]
]
}
]
},
{
"classname" : "ACproc",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
}
]
},
{
"classname" : "Aee",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [5000, 5000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1000, 500, 200]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [8000, 8000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1500, 600, 200]
}
]
},
{
"classname" : "ACa",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enableCA" : [0, 0, 0, 0, 0, 0],
"enableDCI" : [1, 1, 1, 1, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1023, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023]
]
},
{
"hdr" : true,
"enableCA" : [0, 0, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022]
]
}
]
},
{
"classname" : "ADmsc2",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"demoire_enable" : true,
"demoire_area_thr" : 3,
"demoire_sat_shrink" : 5,
"demoire_r2" : 256,
"demoire_r1" : 0,
"demoire_t2_shift" : 2,
"demoire_t1" : 180,
"demoire_edge_r2" : 256,
"demoire_edge_r1" : 20,
"demoire_edge_t2_shift" : 4,
"demoire_edge_t1" :20,
"depurple_enable" : true,
"depurple_red_sat" : true,
"depurple_blue_sat" : true,
"depurple_sat_shrink" : 8,
"depurple_thr" : 8,
"skin_enable" : false,
"cb_thr_max_2047" : 10,
"cb_thr_min_2047" : 8,
"cr_thr_max_2047" : 10,
"cr_thr_min_2047" : 8,
"y_thr_max_2047" : 10,
"y_thr_min_2047" : 8,
"tables" : [
{
"hdr" : false,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [1, 1, 1, 1, 1, 1],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [10, 10, 10, 10, 10, 10],
"facwhite" : [10, 10, 10, 10, 10, 10],
"maxblack" : [20, 20, 20, 20, 20, 20],
"maxwhite" : [20, 20, 20, 20, 20, 20],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
},
{
"hdr" : true,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [0, 0, 0, 0, 0, 0],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [200, 200, 100, 50, 20, 20],
"facwhite" : [200, 200, 150, 80, 40, 20],
"maxblack" : [200, 200, 100, 100, 100, 100],
"maxwhite" : [200, 200, 200, 200, 200, 200],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
}
]
},
{
"classname" : "AWdr4",
"forcecreate" : true,
"enable" : false,
"disable" : true,
"backlight" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
}
],
"entropy_slope" : 200,
"entropy_base" : 700,
"entropy" : [0, 0, 0, 2, 3, 6, 11, 22, 39, 67, 111, 177, 227, 266, 321, 355, 377, 355, 221, 0],
"gamma_down" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 9, 16, 36, 64, 136, 256, 576, 1023],
"gamma_up" : [0, 283121, 330313, 377512, 424723, 471961, 519250, 566650, 614235, 662241, 711077, 761540, 792420, 815280, 849436, 875575, 913530, 948975, 1002792, 1048575],
"?gamma_up" : [0, 1024, 34837, 56737, 82912, 116814, 162079, 223337, 306767, 420749, 576707, 735048, 745499, 755950, 776852, 797754, 839557, 881361, 964968, 1048575],
"gamma_pre" : [0, 31514, 36815, 42173, 47646, 53350, 59514, 66602, 75530, 88145, 108135, 142869, 175428, 207095, 269144, 330303, 442139, 571475, 810472, 1048575]
},
{
"classname" : "A3dnrv3",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"autonoiseLevel": true,
"tnr_en" : false,
"nlm_en" : true,
"tables" : [
{
"hdr" : false,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
},
{
"hdr" : true,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
}
]
},
{
"classname" : "A2dnrv5",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
}
]
},
{
"classname" : "ADpf",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.1, 0.2, 0.4, 0.7, 1, 1.5, 2, 2.5, 3, 3.5],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [1, 1, 1, 1, 1, 1, 1, 2, 4, 16],
"Div" : [64, 64, 64, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"sigma_rb" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [16, 16, 16, 16, 16, 16, 16, 16, 16, 16],
"Div" : [65, 65, 65, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"sigma_rb" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
}
]
},
{
"classname" : "ABlc",
"forcecreate" : true,
"enable" : true,
"tables" : [
{
"hdr" : false,
"gains" : [1, 16],
"blc" : [64, 64]
},
{
"hdr" : true,
"gains" : [1, 16],
"blc" : [64, 64]
}
]
}
]
}

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module imx219)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

1740
drivers/IMX219/IMX219.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,59 @@
0x0100 0x00
0x30eb 0x05
0x30eb 0x0c
0x300a 0xff
0x300b 0xff
0x30eb 0x05
0x30eb 0x09
0x0114 0x01
0x0128 0x00
0x012a 0x18
0x012b 0x00
0x0162 0x0d
0x0163 0x78
0x0164 0x02
0x0165 0xa8
0x0166 0x0a
0x0167 0x27
0x0168 0x02
0x0169 0xb4
0x016a 0x06
0x016b 0xeb
0x016c 0x07
0x016d 0x80
0x016e 0x04
0x016f 0x38
0x0170 0x01
0x0171 0x01
0x0174 0x00
0x0175 0x00
0x0301 0x05
0x0303 0x01
0x0304 0x03
0x0305 0x03
0x0306 0x00
0x0307 0x39
0x030b 0x01
0x030c 0x00
0x030d 0x72
0x0624 0x07
0x0625 0x80
0x0626 0x04
0x0627 0x38
0x455e 0x00
0x471e 0x4b
0x4767 0x0f
0x4750 0x14
0x4540 0x00
0x47b4 0x14
0x4713 0x30
0x478b 0x10
0x478f 0x10
0x4793 0x10
0x4797 0x0e
0x479b 0x0e
0x0162 0x0d
0x0163 0x78
0x018c 0x0a
0x018d 0x0a
0x0309 0x0a

View File

@@ -0,0 +1,241 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file IMX219_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup IMX219_priv
* @{
*
*/
#ifndef __IMX219_PRIV_H__
#define __IMX219_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define IMX219_PIDH (0x300A) //R - Product ID High Byte MSBs
#define IMX219_PIDL (0x300B) //R - Product ID Low Byte LSBs
/*****************************************************************************
* Default values
*****************************************************************************/
// Make sure that these static settings are reflecting the capabilities defined
// in IsiGetCapsIss (further dynamic setup may alter these default settings but
// often does not if there is no choice available).
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define IMX219_PIDH_DEFAULT (0x27) //read only
#define IMX219_PIDL_DEFAULT (0x70) //read only
typedef struct IMX219_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
uint32_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurIntegrationTime;
float AecCurVSIntegrationTime;
float AecCurLongIntegrationTime;
float AecCurGain;
float AecCurVSGain;
float AecCurLongGain;
uint32_t LastExpLine;
uint32_t LastVsExpLine;
uint32_t LastLongExpLine;
uint32_t LastGain;
uint32_t LastVsGain;
uint32_t LastLongGain;
bool GroupHold;
uint32_t OldGain;
uint32_t OldVsGain;
uint32_t OldIntegrationTime;
uint32_t OldVsIntegrationTime;
uint32_t OldGainHcg;
uint32_t OldAGainHcg;
uint32_t OldGainLcg;
uint32_t OldAGainLcg;
int subdev;
uint8_t pattern;
float CurHdrRatio;
} IMX219_Context_t;
static RESULT IMX219_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT IMX219_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT IMX219_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT IMX219_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT IMX219_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT IMX219_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT IMX219_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT IMX219_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT IMX219_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT IMX219_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT IMX219_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT IMX219_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT IMX219_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT IMX219_IsiGetVSGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT IMX219_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT IMX219_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT IMX219_IsiSetVSGainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT IMX219_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT IMX219_IsiGetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT IMX219_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT IMX219_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT IMX219_IsiSetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
RESULT IMX219_IsiGetResolutionIss(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT IMX219_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} IMX219priv */
#endif /* __IMX219PRIV_H__ */

1377
drivers/IMX219/imx219.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module imx334)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
#COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
#COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

2044
drivers/IMX334/IMX334.c Normal file

File diff suppressed because it is too large Load Diff

1304
drivers/IMX334/IMX334.xml Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,102 @@
0x3000 0x01
0x3001 0x00
0x3002 0x01
0x3003 0x00
0x300C 0x3B
0x300D 0x2A
0x3030 0xc4
0x319f 0x00
0x3a20 0x20
0x3031 0x17
0x3048 0x01
0x3049 0x02
0x304A 0x02
0x304B 0x02
0x304C 0x13
0x3034 0xEC
0x3035 0x18
0x3059 0x15
0x3068 0x91
0x30E8 0x14
0x314C 0x29
0x314D 0x01
0x315A 0x03
0x3168 0xA0
0x316A 0x7E
0x31A1 0x00
0x31D7 0x01
0x3288 0x21
0x328A 0x02
0x3414 0x05
0x3416 0x18
0x35AC 0x0E
0x3648 0x01
0x364A 0x04
0x364C 0x04
0x3678 0x01
0x367C 0x31
0x367E 0x31
0x3708 0x02
0x3714 0x01
0x3715 0x02
0x3716 0x02
0x3717 0x02
0x371C 0x3D
0x371D 0x3F
0x372C 0x00
0x372D 0x00
0x372E 0x46
0x372F 0x00
0x3730 0x89
0x3731 0x00
0x3732 0x08
0x3733 0x01
0x3734 0xFE
0x3735 0x05
0x375D 0x00
0x375E 0x00
0x375F 0x61
0x3760 0x06
0x3768 0x1B
0x3769 0x1B
0x376A 0x1A
0x376B 0x19
0x376C 0x18
0x376D 0x14
0x376E 0x0F
0x3776 0x00
0x3777 0x00
0x3778 0x46
0x3779 0x00
0x377A 0x08
0x377B 0x01
0x377C 0x45
0x377D 0x01
0x377E 0x23
0x377F 0x02
0x3780 0xD9
0x3781 0x03
0x3782 0xF5
0x3783 0x06
0x3784 0xA5
0x3788 0x0F
0x378A 0xD9
0x378B 0x03
0x378C 0xEB
0x378D 0x05
0x378E 0x87
0x378F 0x06
0x3790 0xF5
0x3792 0x43
0x3794 0x7A
0x3796 0xA1
0x3E04 0x0E

View File

@@ -0,0 +1,165 @@
0x3000 0x01
0x3001 0x00
0x3002 0x01
0x3003 0x00
0x300C 0x3B
0x300D 0x2A
0x3018 0x00
0x302C 0x30
0x302D 0x00
0x302E 0x18
0x302F 0x0F
0x3030 0xCA
0x3031 0x08
0x3032 0x00
0x3033 0x00
0x3034 0x4C
0x3035 0x04
0x304C 0x14
0x3050 0x01
0x3076 0x84
0x3077 0x08
0x3090 0x84
0x3091 0x08
0x30C6 0x00
0x30C7 0x00
0x30CE 0x00
0x30CF 0x00
0x30D8 0xF8
0x30D9 0x11
0x3117 0x00
0x314C 0x29
0x314D 0x01
0x315A 0x06
0x3168 0xA0
0x316A 0x7E
0x3199 0x00
0x319D 0x01
0x319E 0x02
0x31A0 0x2A
0x31D4 0x00
0x31D5 0x00
0x31DD 0x03
0x3288 0x21
0x328A 0x02
0x3300 0x00
0x3302 0x32
0x3303 0x00
0x3308 0x84
0x3309 0x08
0x3414 0x05
0x3416 0x18
0x341C 0x47
0x341D 0x00
0x35AC 0x0E
0x3648 0x01
0x364A 0x04
0x364C 0x04
0x3678 0x01
0x367C 0x31
0x367E 0x31
0x3708 0x02
0x3714 0x01
0x3715 0x02
0x3716 0x02
0x3717 0x02
0x371C 0x3D
0x371D 0x3F
0x372C 0x00
0x372D 0x00
0x372E 0x46
0x372F 0x00
0x3730 0x89
0x3731 0x00
0x3732 0x08
0x3733 0x01
0x3734 0xFE
0x3735 0x05
0x375D 0x00
0x375E 0x00
0x375F 0x61
0x3760 0x06
0x3768 0x1B
0x3769 0x1B
0x376A 0x1A
0x376B 0x19
0x376C 0x18
0x376D 0x14
0x376E 0x0F
0x3776 0x00
0x3777 0x00
0x3778 0x46
0x3779 0x00
0x377A 0x08
0x377B 0x01
0x377C 0x45
0x377D 0x01
0x377E 0x23
0x377F 0x02
0x3780 0xD9
0x3781 0x03
0x3782 0xF5
0x3783 0x06
0x3784 0xA5
0x3788 0x0F
0x378A 0xD9
0x378B 0x03
0x378C 0xEB
0x378D 0x05
0x378E 0x87
0x378F 0x06
0x3790 0xF5
0x3792 0x43
0x3794 0x7A
0x3796 0xA1
0x3A01 0x03
0x3A18 0x7F
0x3A19 0x00
0x3A1A 0x37
0x3A1B 0x00
0x3A1C 0x37
0x3A1D 0x00
0x3A1E 0xF7
0x3A1F 0x00
0x3A20 0x3F
0x3A21 0x00
0x3A22 0x6F
0x3A23 0x00
0x3A24 0x3F
0x3A25 0x00
0x3A26 0x5F
0x3A27 0x00
0x3A28 0x2F
0x3A29 0x00
0x3E04 0x0E
0x3078 0x02
0x3079 0x00
0x307A 0x00
0x307B 0x00
0x3081 0x00
0x3082 0x00
0x3083 0x00
0x3088 0x02
0x3094 0x00
0x3095 0x00
0x3096 0x00
0x309C 0x00
0x309D 0x00
0x309E 0x00
0x30A4 0x00
0x30A5 0x00
0x304E 0x00
0x304F 0x00
0x3074 0xB0
0x3075 0x00
0x308E 0xB1
0x308F 0x00
0x30B6 0x00
0x30B7 0x00
0x3116 0x00
0x3080 0x02
0x309B 0x02

View File

@@ -0,0 +1,207 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file IMX334_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup IMX334_priv
* @{
*
*/
#ifndef __IMX334_PRIV_H__
#define __IMX334_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
typedef struct IMX334_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
IsiResolution_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurGain;
float AecCurIntegrationTime;
float AecCurGainSEF1;
float AecCurIntegrationTimeSEF1;
bool GroupHold;
uint32_t OldGain;
uint32_t OldIntegrationTime;
uint32_t OldGainSEF1;
uint32_t OldIntegrationTimeSEF1;
int subdev;
bool enableHdr;
uint8_t pattern;
float CurHdrRatio;
} IMX334_Context_t;
static RESULT IMX334_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT IMX334_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT IMX334_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT IMX334_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT IMX334_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT IMX334_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT IMX334_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT IMX334_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT IMX334_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT IMX334_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT IMX334_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT IMX334_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT IMX334_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT IMX334_IsiGetSEF1GainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT IMX334_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT IMX334_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT IMX334_IsiSetSEF1GainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT IMX334_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT IMX334_IsiGetSEF1IntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT IMX334_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT IMX334_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT IMX334_IsiSetSEF1IntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT IMX334_IsiGetResolutionIss
(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT IMX334_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} IMX334priv */
#endif /* __IMX334PRIV_H__ */

View File

@@ -0,0 +1,518 @@
{
"root" : [
{
"classname" : "Aev1",
"enable" : false
},
{
"classname" : "Aev2",
"enable" : true,
"motionThreshold" : 0.5,
"roiWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 2.6,
"setPoint" : 120,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5
},
{
"classname" : "Aehdr",
"enable" : false,
"motionThreshold" : 0.5,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "AdaptiveAe",
"enable" : false,
"motionThreshold" : 0.7,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"targetFilter" : 0.5,
"wdrContrast.min" : 10,
"wdrContrast.max" : 110,
"lowlight" : {
"linear_repress" : [1, 0.8, 0.6, 0.4, 0.4],
"linear_gain" : [4, 8, 16, 32, 100],
"hdr_repress" : [1, 0.8, 0.8, 0.8, 0.8],
"hdr_gain" : [4, 8, 16, 32, 100]
},
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "Awbv2",
"enable" : false,
"illuorder" : "A, D50, D65, D75, TL84, F12, CWF",
"indoor" : [1, 1, 1, 1, 1, 1, 1],
"outdoor" : [1, 1, 1, 1, 1, 1, 1],
"transition" : [1, 1, 1, 1, 1, 1, 1],
"avg" : 0.0
},
{
"classname" : "IspController",
"enable" : true
},
{
"classname" : "AutoHdr",
"enable" : false
},
{
"classname" : "DciHist",
"enable" : false,
"gaussMeanPos" : 64,
"gaussSigmaPos" : 128,
"gaussAmpPos" : 1.0,
"gaussMeanNeg" : 0,
"gaussSigmaNeg" : 128,
"gaussAmpNeg" : 1.0
},
{
"classname" : "SensorController",
"enable" : true
},
{
"classname" : "AGamma64",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[18, 35, 53, 70, 86, 103, 120, 136, 153, 169, 186, 202, 219, 235, 251, 267, 283, 300, 316, 332, 348, 364, 380, 396, 412, 428, 444, 460, 476, 491, 507, 523, 539, 555, 571, 586, 602, 618, 634, 649, 665, 681, 696, 712, 728, 743, 759, 775, 790, 806, 821, 837, 853, 868, 884, 899, 915, 930, 946, 961, 977, 992, 1008, 1023]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023]
]
}
]
},
{
"classname" : "ACproc",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1, 1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0],
"saturation" : [1, 1, 1, 1, 1, 1],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
}
]
},
{
"classname" : "Aee",
"forcecreate" : false,
"enable" : false,
"disable" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [2048, 2048, 2048, 2048, 2048, 2048],
"ydown" : [2048, 2048, 2048, 2048, 2048, 2048],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [1000, 1000, 1000, 1000, 500, 200]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [8000, 8000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1500, 600, 200]
}
]
},
{
"classname" : "ACa",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enableCA" : [1, 1, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1023, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023]
]
},
{
"hdr" : true,
"enableCA" : [0, 0, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022]
]
}
]
},
{
"classname" : "ADmsc2",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"demoire_enable" : true,
"demoire_area_thr" : 3,
"demoire_sat_shrink" : 5,
"demoire_r2" : 256,
"demoire_r1" : 0,
"demoire_t2_shift" : 2,
"demoire_t1" : 180,
"demoire_edge_r2" : 256,
"demoire_edge_r1" : 20,
"demoire_edge_t2_shift" : 4,
"demoire_edge_t1" :20,
"depurple_enable" : true,
"depurple_red_sat" : true,
"depurple_blue_sat" : true,
"depurple_sat_shrink" : 8,
"depurple_thr" : 8,
"skin_enable" : false,
"cb_thr_max_2047" : 10,
"cb_thr_min_2047" : 8,
"cr_thr_max_2047" : 10,
"cr_thr_min_2047" : 8,
"y_thr_max_2047" : 10,
"y_thr_min_2047" : 8,
"tables" : [
{
"hdr" : false,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [1, 1, 1, 1, 1, 1],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [10, 10, 10, 10, 10, 10],
"facwhite" : [10, 10, 10, 10, 10, 10],
"maxblack" : [20, 20, 20, 20, 20, 20],
"maxwhite" : [20, 20, 20, 20, 20, 20],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
},
{
"hdr" : true,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [0, 0, 0, 0, 0, 0],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [200, 200, 100, 50, 20, 20],
"facwhite" : [200, 200, 150, 80, 40, 20],
"maxblack" : [200, 200, 100, 100, 100, 100],
"maxwhite" : [200, 200, 200, 200, 200, 200],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
}
]
},
{
"classname" : "AWdr4",
"forcecreate" : true,
"enable" : false,
"disable" : true,
"backlight" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
}
],
"entropy_slope": 200,
"entropy_base": 700,
"entropy" : [0, 0, 0, 2, 3, 6, 11, 22, 39, 67, 111, 177, 227, 266, 321, 355, 377, 355, 221, 0],
"gamma_down" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 9, 16, 36, 64, 136, 256, 576, 1023],
"gamma_up" : [0, 283121, 330313, 377512, 424723, 471961, 519250, 566650, 614235, 662241, 711077, 761540, 792420, 815280, 849436, 875575, 913530, 948975, 1002792, 1048575],
"?gamma_up" : [0, 1024, 34837, 56737, 82912, 116814, 162079, 223337, 306767, 420749, 576707, 735048, 745499, 755950, 776852, 797754, 839557, 881361, 964968, 1048575],
"gamma_pre" : [0, 31514, 36815, 42173, 47646, 53350, 59514, 66602, 75530, 88145, 108135, 142869, 175428, 207095, 269144, 330303, 442139, 571475, 810472, 1048575]
},
{
"classname" : "A3dnrv3",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"autonoiseLevel": true,
"tnr_en" : false,
"nlm_en" : true,
"tables" : [
{
"hdr" : false,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
},
{
"hdr" : true,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
}
]
},
{
"classname" : "A2dnrv5",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [90, 90, 90, 90, 90, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
}
]
},
{
"classname" : "ADpf",
"forcecreate" : true,
"enable" : false,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.1, 0.2, 0.4, 0.7, 1, 1.5, 2, 2.5, 3, 3.5],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [1, 1, 1, 1, 1, 1, 1, 2, 4, 16],
"Div" : [64, 64, 64, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"sigma_rb" : [1, 1, 2, 2, 3, 3, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [16, 16, 16, 16, 16, 16, 16, 16, 16, 16],
"Div" : [65, 65, 65, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"sigma_rb" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
}
]
},
{
"classname" : "ABlc",
"forcecreate" : true,
"enable" : true,
"tables" : [
{
"hdr" : false,
"gains" : [1, 16],
"blc" : [256, 256]
},
{
"hdr" : true,
"gains" : [1, 16],
"blc" : [256, 256]
}
]
}
]
}

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module sc132gs)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

View File

@@ -0,0 +1,2 @@
2 lane 的配置是27mhz的时钟源
4 lane 的时钟源是24mhz

1996
drivers/SC132GS/SC132GS.c Normal file

File diff suppressed because it is too large Load Diff

1375
drivers/SC132GS/SC132GS.xml Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,101 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x301a 0xb4
0x301f 0x27
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x3250 0xcc
0x3251 0x02
0x3252 0x05
0x3253 0x41
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x65
0x36eb 0x05
0x36ec 0x03
0x36ed 0x04
0x36fa 0x65
0x36fb 0x09
0x36fc 0x00
0x36fd 0x07
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x03
0x3e02 0xe0
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4837 0x1a
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x36e9 0x31
0x36f9 0x31
0x33fa 0x02
0x3317 0x14
0x3e08 0x3f
0x3e09 0x3f
0x320e 0x0a
0x320f 0x20

View File

@@ -0,0 +1,105 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x301a 0xb4
0x301f 0x27
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x3250 0xcc
0x3251 0x02
0x3252 0x05
0x3253 0x41
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x65
0x36eb 0x05
0x36ec 0x03
0x36ed 0x04
0x36fa 0x65
0x36fb 0x09
0x36fc 0x00
0x36fd 0x07
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x03
0x3e02 0xe0
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4837 0x1a
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x36e9 0x31
0x36f9 0x31
0x33fa 0x02
0x3317 0x14
0x3e08 0x3f
0x3e09 0x3f
0x320e 0x0a
0x320f 0x20
0x300a 0x64
0x3032 0xa0
0x3217 0x0a
0x3218 0x1b

View File

@@ -0,0 +1,112 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x301a 0xb4
0x301f 0x27
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x3250 0xcc
0x3251 0x02
0x3252 0x05
0x3253 0x41
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x65
0x36eb 0x05
0x36ec 0x03
0x36ed 0x04
0x36fa 0x65
0x36fb 0x09
0x36fc 0x00
0x36fd 0x07
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x03
0x3e02 0xe0
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4837 0x1a
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x36e9 0x31
0x36f9 0x31
0x33fa 0x02
0x3317 0x14
0x3e08 0x3f
0x3e09 0x3f
0x320e 0x0a
0x320f 0x20
0x300a 0x62
0x3222 0x02
0x3223 0x44
0x3226 0x08
0x3227 0x08
0x3228 0x0a
0x3229 0x18
0x3217 0x00
0x3218 0x00
0x322b 0x0b
0x3231 0x28

View File

@@ -0,0 +1,120 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x3019 0x0c
0x301a 0xb4
0x301f 0x91
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x320e 0x06
0x320f 0x40
0x3250 0xcc
0x3251 0x02
0x3252 0x06
0x3253 0x3b
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x34
0x36eb 0x14
0x36ec 0x03
0x36ed 0x24
0x36fa 0x37
0x36fb 0x15
0x36fc 0x01
0x36fd 0x14
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x63
0x3e02 0x80
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4800 0x24
0x4837 0x2c
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x3200 0x00
0x3201 0x42
0x3202 0x00
0x3203 0x02
0x3204 0x04
0x3205 0x15
0x3206 0x05
0x3207 0x15
0x3208 0x03
0x3209 0xc0
0x320a 0x05
0x320b 0x00
0x3210 0x00
0x3211 0x0a
0x3212 0x00
0x3213 0x0a
0x36e9 0x54
0x36f9 0x54
0x0100 0x01
0x33fa 0x01
0x3317 0xf0
0x33fa 0x02
0x3317 0x14

View File

@@ -0,0 +1,125 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x3019 0x0c
0x301a 0xb4
0x301f 0x91
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x320e 0x06
0x320f 0x40
0x3250 0xcc
0x3251 0x02
0x3252 0x06
0x3253 0x3b
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x34
0x36eb 0x14
0x36ec 0x03
0x36ed 0x24
0x36fa 0x37
0x36fb 0x15
0x36fc 0x01
0x36fd 0x14
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x63
0x3e02 0x80
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4800 0x24
0x4837 0x2c
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x3200 0x00
0x3201 0x42
0x3202 0x00
0x3203 0x02
0x3204 0x04
0x3205 0x15
0x3206 0x05
0x3207 0x15
0x3208 0x03
0x3209 0xc0
0x320a 0x05
0x320b 0x00
0x3210 0x00
0x3211 0x0a
0x3212 0x00
0x3213 0x0a
0x36e9 0x54
0x36f9 0x54
0x0100 0x01
0x33fa 0x01
0x3317 0xf0
0x33fa 0x02
0x3317 0x14
0x300a 0x64
0x3032 0xa0
0x3217 0x0a
0x3218 0x1a

View File

@@ -0,0 +1,131 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3018 0x32
0x3019 0x0c
0x301a 0xb4
0x301f 0x91
0x3032 0x60
0x3038 0x44
0x3207 0x17
0x320c 0x02
0x320d 0xee
0x320e 0x06
0x320f 0x40
0x3250 0xcc
0x3251 0x02
0x3252 0x06
0x3253 0x3b
0x3254 0x05
0x3255 0x3b
0x3306 0x78
0x330a 0x00
0x330b 0xc8
0x330f 0x24
0x3314 0x80
0x3315 0x40
0x3317 0xf0
0x331f 0x12
0x3364 0x00
0x3385 0x41
0x3387 0x41
0x3389 0x09
0x33ab 0x00
0x33ac 0x00
0x33b1 0x03
0x33b2 0x12
0x33f8 0x02
0x33fa 0x01
0x3409 0x08
0x34f0 0xc0
0x34f1 0x20
0x34f2 0x03
0x3622 0xf5
0x3630 0x5c
0x3631 0x80
0x3632 0xc8
0x3633 0x32
0x3638 0x2a
0x3639 0x07
0x363b 0x48
0x363c 0x83
0x363d 0x10
0x36ea 0x34
0x36eb 0x14
0x36ec 0x03
0x36ed 0x24
0x36fa 0x37
0x36fb 0x15
0x36fc 0x01
0x36fd 0x14
0x3900 0x11
0x3901 0x05
0x3902 0xc5
0x3904 0x04
0x3908 0x91
0x391e 0x00
0x3e01 0x63
0x3e02 0x80
0x3e09 0x20
0x3e0e 0xd2
0x3e14 0xb0
0x3e1e 0x7c
0x3e26 0x20
0x4418 0x38
0x4503 0x10
0x4800 0x24
0x4837 0x2c
0x5000 0x0e
0x540c 0x51
0x550f 0x38
0x5780 0x67
0x5784 0x10
0x5785 0x06
0x5787 0x02
0x5788 0x00
0x5789 0x00
0x578a 0x02
0x578b 0x00
0x578c 0x00
0x5790 0x00
0x5791 0x00
0x5792 0x00
0x5793 0x00
0x5794 0x00
0x5795 0x00
0x5799 0x04
0x3200 0x00
0x3201 0x42
0x3202 0x00
0x3203 0x02
0x3204 0x04
0x3205 0x15
0x3206 0x05
0x3207 0x15
0x3208 0x03
0x3209 0xc0
0x320a 0x05
0x320b 0x00
0x3210 0x00
0x3211 0x0a
0x3212 0x00
0x3213 0x0a
0x36e9 0x54
0x36f9 0x54
0x0100 0x01
0x33fa 0x01
0x3317 0xf0
0x33fa 0x02
0x3317 0x14
0x300a 0x62
0x3222 0x02
0x3223 0x4c
0x3226 0x06
0x3227 0x06
0x3228 0x0a
0x3229 0x1a
0x3217 0x00
0x3218 0x00
0x322b 0x0b
0x3231 0x28

View File

@@ -0,0 +1,241 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file SC132GS_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup sc132gs_priv
* @{
*
*/
#ifndef __SC132GS_PRIV_H__
#define __SC132GS_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define SC132GS_PIDH (0x300A) //R - Product ID High Byte MSBs
#define SC132GS_PIDL (0x300B) //R - Product ID Low Byte LSBs
/*****************************************************************************
* Default values
*****************************************************************************/
// Make sure that these static settings are reflecting the capabilities defined
// in IsiGetCapsIss (further dynamic setup may alter these default settings but
// often does not if there is no choice available).
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define SC132GS_PIDH_DEFAULT (0x27) //read only
#define SC132GS_PIDL_DEFAULT (0x70) //read only
typedef struct SC132GS_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
uint32_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurIntegrationTime;
float AecCurVSIntegrationTime;
float AecCurLongIntegrationTime;
float AecCurGain;
float AecCurVSGain;
float AecCurLongGain;
uint32_t LastExpLine;
uint32_t LastVsExpLine;
uint32_t LastLongExpLine;
uint32_t LastGain;
uint32_t LastVsGain;
uint32_t LastLongGain;
bool GroupHold;
uint32_t OldGain;
uint32_t OldVsGain;
uint32_t OldIntegrationTime;
uint32_t OldVsIntegrationTime;
uint32_t OldGainHcg;
uint32_t OldAGainHcg;
uint32_t OldGainLcg;
uint32_t OldAGainLcg;
int subdev;
uint8_t pattern;
float CurHdrRatio;
} SC132GS_Context_t;
static RESULT SC132GS_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT SC132GS_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT SC132GS_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT SC132GS_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT SC132GS_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT SC132GS_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT SC132GS_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT SC132GS_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT SC132GS_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT SC132GS_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT SC132GS_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT SC132GS_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT SC132GS_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT SC132GS_IsiGetVSGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT SC132GS_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT SC132GS_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT SC132GS_IsiSetVSGainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT SC132GS_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT SC132GS_IsiGetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT SC132GS_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT SC132GS_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT SC132GS_IsiSetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
RESULT SC132GS_IsiGetResolutionIss(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT SC132GS_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} sc132gspriv */
#endif /* __SC132GSPRIV_H__ */

1377
drivers/SC132GS/sc132gs.h Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,518 @@
{
"root" : [
{
"classname" : "Aev1",
"enable" : false
},
{
"classname" : "Aev2",
"enable" : false,
"motionThreshold" : 0.5,
"roiWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 2.6,
"setPoint" : 30,
"roi_start" : 12,
"roi_end" : 20,
"roi_weight" : 1
},
{
"classname" : "Aehdr",
"enable" : false,
"motionThreshold" : 0.5,
"roi_start" : 8,
"roi_end" : 24,
"roi_weight" : 0.5,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 12,
"setPoint" : 30
},
{
"classname" : "AdaptiveAe",
"enable" : true,
"motionThreshold" : 0.7,
"roi_start" : 7,
"roi_end" : 20,
"roi_weight" : 1,
"faceWeight" : 0.6,
"motionFilter" : 0.5,
"targetFilter" : 0.5,
"wdrContrast.min" : 150,
"wdrContrast.max" : 150,
"lowlight" : {
"linear_repress" : [0.8, 0.7, 0.5, 0.5, 0.4],
"linear_gain" : [4, 8, 16, 32, 100],
"hdr_repress" : [1, 0.8, 0.8, 0.8, 0.8],
"hdr_gain" : [4, 8, 16, 32, 100]
},
"maxSensorAgain" : 15.5,
"maxSensorDgain" : 1,
"maxIspDgain" : 1,
"setPoint" : 60
},
{
"classname" : "Awbv2",
"enable" : true,
"illuorder" : "A, D50, D65, D75, TL84, F12, CWF",
"indoor" : [1, 1, 1, 1, 1, 1, 1],
"outdoor" : [1, 1, 1, 1, 1, 1, 1],
"transition" : [1, 1, 1, 1, 1, 1, 1],
"avg" : 0.0
},
{
"classname" : "IspController",
"enable" : true
},
{
"classname" : "AutoHdr",
"enable" : false
},
{
"classname" : "DciHist",
"enable" : false,
"gaussMeanPos" : 64,
"gaussSigmaPos" : 128,
"gaussAmpPos" : 1.0,
"gaussMeanNeg" : 0,
"gaussSigmaNeg" : 128,
"gaussAmpNeg" : 1.0
},
{
"classname" : "SensorController",
"enable" : true
},
{
"classname" : "AGamma64",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[93, 135, 176, 221, 267, 305, 343, 374, 398, 421, 444, 464, 484, 501, 521, 541, 558, 575, 591, 608, 624, 638, 650, 662, 675, 686, 697, 708, 719, 730, 741, 751, 761, 772, 782, 791, 801, 810, 819, 829, 837, 847, 856, 864, 873, 882, 890, 898, 907, 914, 923, 930, 939, 946, 954, 962, 969, 976, 985, 992, 999, 1006, 1014, 1023],
[18, 35, 53, 70, 86, 103, 120, 136, 153, 169, 186, 202, 219, 235, 251, 267, 283, 300, 316, 332, 348, 364, 380, 396, 412, 428, 444, 460, 476, 491, 507, 523, 539, 555, 571, 586, 602, 618, 634, 649, 665, 681, 696, 712, 728, 743, 759, 775, 790, 806, 821, 837, 853, 868, 884, 899, 914, 930, 945, 961, 977, 992, 1008, 1023]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curve" : [
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[98, 159, 225, 274, 314, 342, 367, 391, 413, 433, 453, 471, 489, 506, 522, 538, 554, 568, 583, 597, 610, 624, 637, 649, 662, 674, 685, 697, 708, 720, 731, 741, 752, 763, 773, 783, 793, 803, 812, 822, 831, 841, 850, 859, 868, 877, 886, 894, 903, 911, 920, 928, 936, 944, 952, 960, 968, 976, 984, 991, 999, 1006, 1014, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023],
[73, 113, 147, 176, 203, 228, 251, 273, 295, 315, 335, 354, 372, 390, 407, 425, 441, 457, 473, 489, 504, 519, 534, 549, 563, 577, 591, 605, 619, 632, 646, 659, 672, 685, 697, 710, 722, 735, 747, 759, 771, 783, 794, 806, 818, 829, 840, 852, 863, 874, 885, 896, 907, 918, 928, 939, 950, 960, 971, 981, 991, 1002, 1012, 1023]
]
}
]
},
{
"classname" : "ACproc",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1.2, 1.1, 1, 1, 1, 1],
"brightness" : [0, 0, 0, 0, 0, 0],
"saturation" : [1.2, 1.05, 0.92, 0.80, 0.75, 0.6],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"contrast" : [1.0, 1.0, 1.3, 1.3, 1.5, 1.85],
"brightness" : [-12, -12, -24, -30, -16, 0],
"saturation" : [1.25, 1.0, 0.9, 0.8, 0.7, 0.6],
"hue" : [0, 0, 0, 0, 0, 0],
"chromaout" : [2, 2, 2, 2, 2, 2],
"lumain" : [2, 2, 2, 2, 2, 2],
"lumaout" : [2, 2, 2, 2, 2, 2]
}
]
},
{
"classname" : "Aee",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [1024, 1024, 1024, 1024, 1024, 1024],
"ydown" : [1024, 1024, 1024, 1024, 1024, 1024],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [1000, 1000, 1000, 1000, 500, 200]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"strength" : [100, 100, 100, 100, 100, 100],
"srcStrength" : [1, 1, 1, 1, 1, 1],
"yup" : [5000, 5000, 5000, 5000, 5000, 5000],
"ydown" : [8000, 8000, 5000, 5000, 5000, 5000],
"uvgain" : [0, 0, 0, 0, 0, 0],
"edgegain" : [2000, 2000, 2000, 1500, 600, 200]
}
]
},
{
"classname" : "ACa",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enableCA" : [1, 1, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1023, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023],
[0, 0, 0, 0, 15, 35, 56, 76, 97, 122, 143, 163, 184, 199, 219, 240, 260, 276, 296, 312, 332, 347, 368, 383, 398, 414, 429, 439, 455, 470, 480, 491, 496, 501, 511, 521, 531, 547, 557, 572, 588, 598, 613, 634, 649, 664, 680, 695, 716, 731, 751, 772, 787, 808, 828, 843, 864, 884, 905, 925, 946, 966, 987, 1007, 1028, 1023]
]
},
{
"hdr" : true,
"enableCA" : [0, 0, 1, 1, 1, 1],
"enableDCI" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"curveCA" : [
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024],
[0, 0, 0, 48, 378, 600, 747, 845, 909, 950, 977, 995, 1006, 1012, 1017, 1019, 1021, 1022, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1023, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024, 1024]
],
"curveDCI" : [
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022],
[0, 0, 0, 0, 0, 0, 0, 3, 6, 10, 14, 20, 27, 34, 43, 53, 64, 76, 90, 105, 121, 139, 158, 178, 199, 221, 244, 268, 292, 317, 343, 368, 394, 420, 445, 471, 495, 520, 544, 568, 592, 615, 638, 659, 681, 702, 722, 742, 762, 780, 799, 817, 834, 852, 868, 885, 901, 917, 933, 948, 963, 979, 995, 1010, 1022]
]
}
]
},
{
"classname" : "ADmsc2",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"demoire_enable" : true,
"demoire_area_thr" : 16,
"demoire_sat_shrink" : 8,
"demoire_r2" : 256,
"demoire_r1" : 0,
"demoire_t2_shift" : 2,
"demoire_t1" : 180,
"demoire_edge_r2" : 256,
"demoire_edge_r1" : 20,
"demoire_edge_t2_shift" : 4,
"demoire_edge_t1" :20,
"depurple_enable" : true,
"depurple_red_sat" : true,
"depurple_blue_sat" : true,
"depurple_sat_shrink" : 8,
"depurple_thr" : 40,
"skin_enable" : true,
"cb_thr_max_2047" : 10,
"cb_thr_min_2047" : 8,
"cr_thr_max_2047" : 10,
"cr_thr_min_2047" : 8,
"y_thr_max_2047" : 10,
"y_thr_min_2047" : 8,
"tables" : [
{
"hdr" : false,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [1, 1, 1, 1, 1, 1],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [70, 60, 40, 20, 20, 0],
"facwhite" : [70, 60, 60, 40, 20, 0],
"maxblack" : [100, 100, 100, 100, 100, 100],
"maxwhite" : [100, 100, 100, 100, 100, 100],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [5, 5, 5, 5, 5, 5],
"gsharpen" : [8, 8, 8, 8, 8, 8],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
},
{
"hdr" : true,
"gains" : [1, 2, 4, 8, 16, 32],
"enableSharpen" : [0, 0, 0, 0, 0, 0],
"enableSharpenLine" : [0, 0, 0, 0, 0, 0],
"facblack" : [200, 200, 100, 50, 20, 20],
"facwhite" : [200, 200, 150, 80, 40, 20],
"maxblack" : [200, 200, 100, 100, 100, 100],
"maxwhite" : [200, 200, 200, 200, 200, 200],
"t1" : [0, 0, 0, 0, 0, 0],
"t2" : [0, 0, 0, 0, 0, 0],
"t3" : [0, 0, 0, 0, 0, 0],
"t4" : [0, 0, 0, 0, 0, 0],
"r1" : [0, 0, 0, 0, 0, 0],
"r2" : [128, 128, 128, 128, 128, 128],
"r3" : [256, 256, 256, 256, 256, 256],
"gdenoise" : [0, 0, 0, 0, 0, 0],
"gsharpen" : [16, 16, 16, 16, 16, 16],
"sharpen_line_shift2" : [6, 6, 6, 6, 6, 6],
"sharpen_line_shift1" : [5, 5, 5, 5, 5, 5],
"sharpen_line_t1" : [1000, 1000, 1000, 1000, 1000, 1000],
"sharpen_line_strength" : [100, 100, 100, 100, 100, 100],
"sharpen_line_r2" : [200, 200, 200, 200, 200, 200],
"sharpen_line_r1" : [5, 5, 5, 5, 5, 5]
}
]
},
{
"classname" : "AWdr4",
"forcecreate" : true,
"enable" : false,
"disable" : true,
"backlight" : true,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 16, 32],
"backlight" : [0, 0.1, 0.2, 0.3, 0.4, 0.45],
"strength" : [128, 128, 128, 128, 128, 128],
"highStrength" : [20, 20, 20, 90, 90, 90],
"lowStrength" : [4, 8, 16, 24, 45, 64],
"globalStrength" : [0, 0, 0, 0, 0, 0],
"contrast" : [800, 800, 800, 800, 800, 800],
"flatStrength" : [0, 0, 0, 0, 0, 0],
"flatThreshold" : [0, 0, 0, 0, 0, 0]
}
],
"entropy_slope": 200,
"entropy_base": 700,
"entropy" : [0, 0, 0, 2, 3, 6, 11, 22, 39, 67, 111, 177, 227, 266, 321, 355, 377, 355, 221, 0],
"gamma_down" : [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 4, 9, 16, 36, 64, 136, 256, 576, 1023],
"gamma_up" : [0, 283121, 330313, 377512, 424723, 471961, 519250, 566650, 614235, 662241, 711077, 761540, 792420, 815280, 849436, 875575, 913530, 948975, 1002792, 1048575],
"?gamma_up" : [0, 1024, 34837, 56737, 82912, 116814, 162079, 223337, 306767, 420749, 576707, 735048, 745499, 755950, 776852, 797754, 839557, 881361, 964968, 1048575],
"gamma_pre" : [0, 31514, 36815, 42173, 47646, 53350, 59514, 66602, 75530, 88145, 108135, 142869, 175428, 207095, 269144, 330303, 442139, 571475, 810472, 1048575]
},
{
"classname" : "A3dnrv3",
"forcecreate" : false,
"enable" : false,
"disable" : false,
"autonoiseLevel": true,
"tnr_en" : false,
"nlm_en" : true,
"tables" : [
{
"hdr" : false,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [0.6, 0.6, 0.6, 0.6, 0.6, 0.6]
},
{
"hdr" : true,
"enable" : [0, 0, 0, 0, 0, 0, 0],
"gains" : [1, 2, 4, 8, 16, 32],
"filterLen" : [100, 150, 200, 300, 400, 500],
"filterLen2" : [10, 10, 10, 10, 10, 10],
"motionSlope" : [1, 1, 1, 1, 1, 1],
"noiseLevel" : [25, 40, 60, 80, 100, 120],
"sadweight" : [8, 8, 8, 8, 8, 8],
"motionInvFactor" : [20000, 20000, 20000, 20000, 20000, 20000],
"noisemodel_a" : [0.45071, 0.85596, 1.561850, 2.219000, 3.9409, 5.2362],
"noisemodel_b" : [0.000065, 9.7098, 140.351654, 219.965805, 284.8835, 344.9119],
"autoStrength" : [1.5, 1.5, 1.5, 1.5, 1.5, 1.5],
"motion_dilate_en" : [1, 1, 1, 1, 1, 1],
"motion_erode_en" : [1, 1, 1, 1, 1, 1],
"pregamma_en" : [1, 1, 1, 1, 1, 1],
"strength" : [120, 120, 120, 120, 120, 120],
"range_h" : [7, 7, 7, 7, 7, 7],
"range_v" : [3, 3, 3, 3, 3, 3],
"dialte_h" : [3, 3, 3, 3, 3, 3],
"preweight" : [8, 8, 8, 8, 8, 8],
"noise_thresh_factor" : [2, 2, 2, 2, 2, 2],
"moving_pixel_thresh" : [1, 1, 1, 1, 1, 1]
}
]
},
{
"classname" : "A2dnrv5",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
"sigma" : [2, 2, 2, 5, 6, 6, 11, 11, 11, 14],
"blendstatic" : [100, 100, 100, 100, 100, 90, 90, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 90, 90, 100, 100, 100]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"strength" : [1, 1, 1, 1, 1, 1, 2, 2, 2, 2],
"sigma" : [5, 5, 5, 8, 8, 8, 11, 11, 11, 14],
"blendstatic" : [100, 100, 100, 100, 100, 100, 100, 35, 35, 40],
"blendmotion" : [100, 100, 100, 100, 100, 100, 100, 100, 100, 100]
}
]
},
{
"classname" : "ADpf",
"forcecreate" : true,
"enable" : true,
"disable" : false,
"tables" : [
{
"hdr" : false,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.1, 0.2, 0.4, 0.7, 1, 1.5, 2, 2.5, 3, 3.5],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [1, 1, 1, 1, 1, 1, 1, 2, 4, 16],
"Div" : [64, 64, 64, 65, 65, 65, 65, 65, 65, 65],
"sigma_g" : [2, 2, 3, 3, 3, 3, 4, 4, 4, 4],
"sigma_rb" : [2, 2, 3, 3, 3, 3, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
},
{
"hdr" : true,
"enable" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"gains" : [1, 2, 4, 8, 12, 16, 20, 24, 32, 40],
"gradient" : [0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2, 0.2],
"offset" : [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"Min" : [16, 16, 16, 16, 16, 16, 16, 16, 16, 16],
"Div" : [64, 64, 64, 64, 64, 64, 64, 64, 64, 64],
"sigma_g" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"sigma_rb" : [4, 4, 4, 4, 4, 4, 4, 4, 4, 4],
"curve" : [
[4095, 4095, 3677, 3068, 2686, 2219, 1933, 1735, 1587, 1379, 1235, 1129, 979, 877, 801, 742, 695],
[4095, 4056, 2910, 2388, 2073, 1697, 1471, 1317, 1203, 1042, 933, 852, 738, 660, 603, 558, 523],
[3688, 2169, 1687, 1428, 1260, 1050, 918, 827, 758, 660, 592, 542, 470, 421, 385, 357, 335],
[2254, 1553, 1258, 1085, 968, 816, 718, 649, 597, 521, 469, 430, 374, 335, 307, 284, 267],
[1060, 883, 772, 695, 637, 555, 498, 455, 422, 373, 338, 311, 272, 245, 225, 209, 196],
[580, 524, 481, 448, 420, 378, 346, 321, 301, 270, 247, 229, 202, 183, 168, 157, 148],
[368, 346, 328, 312, 298, 276, 257, 242, 230, 209, 193, 181, 162, 147, 136, 127, 120],
[214, 206, 199, 192, 186, 175, 166, 159, 152, 141, 132, 124, 112, 103, 96, 91, 86],
[158, 152, 147, 142, 138, 130, 124, 118, 113, 105, 99, 93, 84, 78, 72, 68, 64],
[127, 124, 121, 118, 115, 110, 106, 103, 99, 93, 88, 84, 77, 72, 68, 64, 61]
]
}
]
},
{
"classname" : "ABlc",
"forcecreate" : true,
"enable" : true,
"tables" : [
{
"hdr" : false,
"gains" : [1, 16],
"blc" : [256, 256]
},
{
"hdr" : true,
"gains" : [1, 16],
"blc" : [256, 256]
}
]
}
]
}

View File

@@ -0,0 +1,35 @@
cmake_minimum_required(VERSION 3.1.0)
# define module name & interface version
set (module sc2310)
string(TOUPPER ${module} SENSOR_NAME)
# we want to compile all .c files as default
file(GLOB libsources ${SENSOR_NAME}.c )
# set public headers, these get installed
#file(GLOB pub_headers include/*.h)
#include_directories()
add_library(${module} SHARED ${libsources})
add_custom_target(${module}.drv
ALL
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/${module}.drv
COMMAND ${CMAKE_COMMAND} -E copy lib${module}.so ${LIB_ROOT}/rootfs/usr/lib/lib${module}.so
COMMAND ${CMAKE_COMMAND} -E make_directory ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/isp/test/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.xml ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/${SENSOR_NAME}*.txt ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
COMMAND ${CMAKE_COMMAND} -E copy ${LIB_ROOT}/../drivers/${SENSOR_NAME}/*.json ${LIB_ROOT}/rootfs/usr/share/vi/tuningtool/bin/
DEPENDS ${module}
COMMENT "Copying ${module} driver module"
)
#install(FILES ${LIB_ROOT}/${CMAKE_BUILD_TYPE}/lib/lib${module}.so.${${module}_INTERFACE_CURRENT}
# DESTINATION ${CMAKE_INSTALL_PREFIX}/bin
# RENAME ${module}.drv
# )

1882
drivers/SC2310/SC2310.c Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,173 @@
0x0103 0x01
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3001 0xfe
0x3018 0x33
0x3019 0x0c
0x301c 0x78
0x301f 0x40
0x3031 0x0a
0x3037 0x22
0x3038 0x22
0x303f 0x01
0x3200 0x00
0x3201 0x04
0x3202 0x00
0x3203 0x04
0x3204 0x07
0x3205 0x8b
0x3206 0x04
0x3207 0x43
0x3208 0x07
0x3209 0x80
0x320a 0x04
0x320b 0x38
0x320c 0x04
0x320d 0x4c
0x3210 0x00
0x3211 0x04
0x3212 0x00
0x3213 0x04
0x3301 0x10
0x3302 0x10
0x3303 0x18
0x3306 0x60
0x3308 0x08
0x3309 0x30
0x330a 0x00
0x330b 0xc8
0x330e 0x28
0x3314 0x04
0x331b 0x83
0x331e 0x11
0x331f 0x29
0x3320 0x01
0x3324 0x02
0x3325 0x02
0x3326 0x00
0x3333 0x30
0x3334 0x40
0x333d 0x08
0x3341 0x07
0x3343 0x03
0x3364 0x1d
0x3366 0x80
0x3367 0x08
0x3368 0x04
0x3369 0x00
0x336a 0x00
0x336b 0x00
0x336c 0x42
0x337f 0x03
0x3380 0x1b
0x33aa 0x00
0x33b6 0x07
0x33b7 0x07
0x33b8 0x10
0x33b9 0x10
0x33ba 0x10
0x33bb 0x07
0x33bc 0x07
0x33bd 0x20
0x33be 0x20
0x33bf 0x20
0x360f 0x05
0x3621 0xac
0x3622 0xe6
0x3623 0x18
0x3624 0x47
0x3630 0xc8
0x3631 0x88
0x3632 0x18
0x3633 0x22
0x3634 0x44
0x3635 0x40
0x3636 0x65
0x3637 0x17
0x3638 0x25
0x363b 0x08
0x363c 0x05
0x363d 0x05
0x3640 0x00
0x366e 0x04
0x3670 0x4a
0x3671 0xf6
0x3672 0x16
0x3673 0x16
0x3674 0xc8
0x3675 0x54
0x3676 0x18
0x3677 0x22
0x3678 0x33
0x3679 0x44
0x367a 0x40
0x367b 0x40
0x367c 0x40
0x367d 0x58
0x367e 0x40
0x367f 0x58
0x3696 0x83
0x3697 0x87
0x3698 0x9f
0x36a0 0x58
0x36a1 0x78
0x36ea 0x9f
0x36eb 0x0e
0x36ec 0x1e
0x36ed 0x03
0x36fa 0xf8
0x36fb 0x10
0x3802 0x00
0x3907 0x01
0x3908 0x01
0x391e 0x00
0x391f 0xc0
0x3933 0x28
0x3934 0x0a
0x3940 0x1b
0x3941 0x40
0x3942 0x08
0x3943 0x0e
0x3e00 0x00
0x3e01 0x01
0x3e02 0x40
0x3e03 0x0b
0x3e06 0x00
0x3e07 0x80
0x3e08 0x03
0x3e09 0x40
0x3e0e 0x66
0x3e14 0xb0
0x3e1e 0x35
0x3e25 0x03
0x3e26 0x40
0x3f00 0x0d
0x3f04 0x02
0x3f05 0x1e
0x3f08 0x04
0x4500 0x59
0x4501 0xb4
0x4509 0x20
0x4603 0x00
0x4809 0x01
0x4837 0x35
0x5000 0x06
0x5780 0x7f
0x5781 0x06
0x5782 0x04
0x5783 0x02
0x5784 0x01
0x5785 0x16
0x5786 0x12
0x5787 0x08
0x5788 0x02
0x57a0 0x00
0x57a1 0x74
0x57a2 0x01
0x57a3 0xf4
0x57a4 0xf0
0x6000 0x00
0x6002 0x00
0x36e9 0x51
0x36f9 0x04

View File

@@ -0,0 +1,166 @@
0x36e9 0x80
0x36f9 0x80
0x3001 0xfe
0x3018 0x33
0x301c 0x78
0x301f 0x77
0x3031 0x0c
0x3037 0x42
0x3038 0x22
0x303f 0x01
0x3200 0x00
0x3201 0x04
0x3202 0x00
0x3203 0x00
0x3204 0x07
0x3205 0x8b
0x3206 0x04
0x3207 0x47
0x3208 0x07
0x3209 0x80
0x320a 0x04
0x320b 0x40
0x320c 0x04
0x320d 0x4c
0x3211 0x04
0x3213 0x04
0x3301 0x10
0x3302 0x10
0x3303 0x18
0x3306 0x60
0x3308 0x08
0x3309 0x30
0x330a 0x00
0x330b 0xc8
0x330e 0x28
0x3314 0x04
0x331b 0x83
0x331e 0x11
0x331f 0x29
0x3320 0x01
0x3324 0x02
0x3325 0x02
0x3326 0x00
0x3333 0x30
0x3334 0x40
0x333d 0x08
0x3341 0x07
0x3343 0x03
0x3364 0x1d
0x3366 0x80
0x3367 0x08
0x3368 0x04
0x3369 0x00
0x336a 0x00
0x336b 0x00
0x336c 0x42
0x337f 0x03
0x3380 0x1b
0x33aa 0x00
0x33b6 0x07
0x33b7 0x07
0x33b8 0x10
0x33b9 0x10
0x33ba 0x10
0x33bb 0x07
0x33bc 0x07
0x33bd 0x20
0x33be 0x20
0x33bf 0x20
0x360f 0x05
0x3621 0xac
0x3622 0xe6
0x3623 0x18
0x3624 0x47
0x3630 0xc8
0x3631 0x88
0x3632 0x18
0x3633 0x22
0x3634 0x44
0x3635 0x40
0x3636 0x65
0x3637 0x17
0x3638 0x25
0x363b 0x08
0x363c 0x05
0x363d 0x05
0x3640 0x00
0x366e 0x04
0x3670 0x4a
0x3671 0xf6
0x3672 0x16
0x3673 0x16
0x3674 0xc8
0x3675 0x54
0x3676 0x18
0x3677 0x22
0x3678 0x33
0x3679 0x44
0x367a 0x40
0x367b 0x40
0x367c 0x40
0x367d 0x58
0x367e 0x40
0x367f 0x58
0x3696 0x83
0x3697 0x87
0x3698 0x9f
0x36a0 0x58
0x36a1 0x78
0x36eb 0x0b
0x36ec 0x0f
0x36fa 0xa8
0x3802 0x00
0x3907 0x01
0x3908 0x01
0x391e 0x00
0x391f 0xc0
0x3933 0x28
0x3934 0x0a
0x3940 0x1b
0x3941 0x40
0x3942 0x08
0x3943 0x0e
0x3e00 0x00
0x3e01 0x01
0x3e02 0x40
0x3e03 0x0b
0x3e06 0x00
0x3e07 0x80
0x3e08 0x03
0x3e09 0x40
0x3e0e 0x66
0x3e14 0xb0
0x3e1e 0x35
0x3e25 0x03
0x3e26 0x40
0x3f00 0x0d
0x3f04 0x02
0x3f05 0x1e
0x3f08 0x04
0x4500 0x59
0x4501 0xb4
0x4509 0x20
0x4603 0x00
0x4809 0x01
0x4837 0x35
0x5000 0x06
0x5780 0x7f
0x5781 0x06
0x5782 0x04
0x5783 0x02
0x5784 0x01
0x5785 0x16
0x5786 0x12
0x5787 0x08
0x5788 0x02
0x57a0 0x00
0x57a1 0x74
0x57a2 0x01
0x57a3 0xf4
0x57a4 0xf0
0x6000 0x00
0x6002 0x00
0x36e9 0x23
0x36f9 0x05

View File

@@ -0,0 +1,168 @@
0x0100 0x00
0x36e9 0x80
0x36f9 0x80
0x3001 0xfe
0x3018 0x33
0x301c 0x78
0x301f 0x77
0x3031 0x0c
0x3037 0x42
0x3038 0x22
0x303f 0x01
0x3200 0x02
0x3201 0x80
0x3202 0x01
0x3203 0x2c
0x3204 0x05
0x3205 0x07
0x3206 0x03
0x3207 0x13
0x3208 0x02
0x3209 0x80
0x320a 0x01
0x320b 0xe0
0x320c 0x04
0x320d 0x4c
0x3210 0x00
0x3211 0x04
0x3212 0x00
0x3213 0x04
0x3301 0x10
0x3302 0x10
0x3303 0x18
0x3306 0x60
0x3308 0x08
0x3309 0x30
0x330a 0x00
0x330b 0xc8
0x330e 0x28
0x3314 0x04
0x331b 0x83
0x331e 0x11
0x331f 0x29
0x3320 0x01
0x3324 0x02
0x3325 0x02
0x3326 0x00
0x3333 0x30
0x3334 0x40
0x333d 0x08
0x3341 0x07
0x3343 0x03
0x3364 0x1d
0x3366 0x80
0x3367 0x08
0x3368 0x04
0x3369 0x00
0x336a 0x00
0x336b 0x00
0x336c 0x42
0x337f 0x03
0x3380 0x1b
0x33aa 0x00
0x33b6 0x07
0x33b7 0x07
0x33b8 0x10
0x33b9 0x10
0x33ba 0x10
0x33bb 0x07
0x33bc 0x07
0x33bd 0x20
0x33be 0x20
0x33bf 0x20
0x360f 0x05
0x3621 0xac
0x3622 0xe6
0x3623 0x18
0x3624 0x47
0x3630 0xc8
0x3631 0x88
0x3632 0x18
0x3633 0x22
0x3634 0x44
0x3635 0x40
0x3636 0x65
0x3637 0x17
0x3638 0x25
0x363b 0x08
0x363c 0x05
0x363d 0x05
0x3640 0x00
0x366e 0x04
0x3670 0x4a
0x3671 0xf6
0x3672 0x16
0x3673 0x16
0x3674 0xc8
0x3675 0x54
0x3676 0x18
0x3677 0x22
0x3678 0x33
0x3679 0x44
0x367a 0x40
0x367b 0x40
0x367c 0x40
0x367d 0x58
0x367e 0x40
0x367f 0x58
0x3696 0x83
0x3697 0x87
0x3698 0x9f
0x36a0 0x58
0x36a1 0x78
0x36eb 0x0b
0x36ec 0x0f
0x36fa 0xa8
0x3802 0x00
0x3907 0x01
0x3908 0x01
0x391e 0x00
0x391f 0xc0
0x3933 0x28
0x3934 0x0a
0x3940 0x1b
0x3941 0x40
0x3942 0x08
0x3943 0x0e
0x3e00 0x00
0x3e01 0x01
0x3e02 0x40
0x3e03 0x0b
0x3e06 0x00
0x3e07 0x80
0x3e08 0x03
0x3e09 0x40
0x3e0e 0x66
0x3e14 0xb0
0x3e1e 0x35
0x3e25 0x03
0x3e26 0x40
0x3f00 0x0d
0x3f04 0x02
0x3f05 0x1e
0x3f08 0x04
0x4500 0x59
0x4501 0xb4
0x4509 0x20
0x4603 0x00
0x4809 0x01
0x4837 0x35
0x5000 0x06
0x5780 0x7f
0x5781 0x06
0x5782 0x04
0x5783 0x02
0x5784 0x01
0x5785 0x16
0x5786 0x12
0x5787 0x08
0x5788 0x02
0x57a0 0x00
0x57a1 0x74
0x57a2 0x01
0x57a3 0xf4
0x57a4 0xf0
0x6000 0x00
0x6002 0x00
0x36e9 0x23
0x36f9 0x05

View File

@@ -0,0 +1,241 @@
/******************************************************************************\
|* Copyright (c) 2020 by VeriSilicon Holdings Co., Ltd. ("VeriSilicon") *|
|* All Rights Reserved. *|
|* *|
|* The material in this file is confidential and contains trade secrets of *|
|* of VeriSilicon. This is proprietary information owned or licensed by *|
|* VeriSilicon. No part of this work may be disclosed, reproduced, copied, *|
|* transmitted, or used in any way for any purpose, without the express *|
|* written permission of VeriSilicon. *|
|* *|
\******************************************************************************/
/**
* @file SC2310_priv.h
*
* @brief Interface description for image sensor specific implementation (iss).
*
*****************************************************************************/
/**
* @page module_name_page Module Name
* Describe here what this module does.
*
* For a detailed list of functions and implementation detail refer to:
* - @ref module_name
*
* @defgroup sc2310_priv
* @{
*
*/
#ifndef __SC2310_PRIV_H__
#define __SC2310_PRIV_H__
#include <ebase/types.h>
#include <common/return_codes.h>
#include <hal/hal_api.h>
#include <isi/isi_common.h>
#include "vvsensor.h"
#ifdef __cplusplus
extern "C"
{
#endif
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define SC2310_PIDH (0x300A) //R - Product ID High Byte MSBs
#define SC2310_PIDL (0x300B) //R - Product ID Low Byte LSBs
/*****************************************************************************
* Default values
*****************************************************************************/
// Make sure that these static settings are reflecting the capabilities defined
// in IsiGetCapsIss (further dynamic setup may alter these default settings but
// often does not if there is no choice available).
/*****************************************************************************
* SC control registers
*****************************************************************************/
#define SC2310_PIDH_DEFAULT (0x27) //read only
#define SC2310_PIDL_DEFAULT (0x70) //read only
typedef struct SC2310_Context_s
{
IsiSensorContext_t IsiCtx; /**< common context of ISI and ISI driver layer; @note: MUST BE FIRST IN DRIVER CONTEXT */
struct vvcam_mode_info SensorMode;
uint32_t KernelDriverFlag;
char SensorRegCfgFile[128];
uint32_t HdrMode;
uint32_t Resolution;
uint32_t MaxFps;
uint32_t MinFps;
uint32_t CurrFps;
//// modify below here ////
IsiSensorConfig_t Config; /**< sensor configuration */
bool_t Configured; /**< flags that config was applied to sensor */
bool_t Streaming; /**< flags that csensor is streaming data */
bool_t TestPattern; /**< flags that sensor is streaming test-pattern */
bool_t isAfpsRun; /**< if true, just do anything required for Afps parameter calculation, but DON'T access SensorHW! */
float one_line_exp_time;
uint16_t MaxIntegrationLine;
uint16_t MinIntegrationLine;
uint32_t gain_accuracy;
uint16_t FrameLengthLines; /**< frame line length */
uint16_t CurFrameLengthLines;
float AecMinGain;
float AecMaxGain;
float AecMinIntegrationTime;
float AecMaxIntegrationTime;
float AecIntegrationTimeIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecGainIncrement; /**< _smallest_ increment the sensor/driver can handle (e.g. used for sliders in the application) */
float AecCurIntegrationTime;
float AecCurVSIntegrationTime;
float AecCurLongIntegrationTime;
float AecCurGain;
float AecCurVSGain;
float AecCurLongGain;
uint32_t LastExpLine;
uint32_t LastVsExpLine;
uint32_t LastLongExpLine;
uint32_t LastGain;
uint32_t LastVsGain;
uint32_t LastLongGain;
bool GroupHold;
uint32_t OldGain;
uint32_t OldVsGain;
uint32_t OldIntegrationTime;
uint32_t OldVsIntegrationTime;
uint32_t OldGainHcg;
uint32_t OldAGainHcg;
uint32_t OldGainLcg;
uint32_t OldAGainLcg;
int subdev;
uint8_t pattern;
float CurHdrRatio;
} SC2310_Context_t;
static RESULT SC2310_IsiCreateSensorIss(IsiSensorInstanceConfig_t *
pConfig);
static RESULT SC2310_IsiInitSensorIss(IsiSensorHandle_t handle);
static RESULT SC2310_IsiReleaseSensorIss(IsiSensorHandle_t handle);
static RESULT SC2310_IsiGetCapsIss(IsiSensorHandle_t handle,
IsiSensorCaps_t * pIsiSensorCaps);
static RESULT SC2310_IsiSetupSensorIss(IsiSensorHandle_t handle,
const IsiSensorConfig_t *
pConfig);
static RESULT SC2310_IsiSensorSetStreamingIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT SC2310_IsiSensorSetPowerIss(IsiSensorHandle_t handle,
bool_t on);
static RESULT SC2310_IsiGetSensorRevisionIss(IsiSensorHandle_t handle,
uint32_t * p_value);
static RESULT SC2310_IsiSetBayerPattern(IsiSensorHandle_t handle,
uint8_t pattern);
static RESULT SC2310_IsiGetGainLimitsIss(IsiSensorHandle_t handle,
float *pMinGain,
float *pMaxGain);
static RESULT SC2310_IsiGetIntegrationTimeLimitsIss(IsiSensorHandle_t
handle,
float
*pMinIntegrationTime,
float
*pMaxIntegrationTime);
static RESULT SC2310_IsiExposureControlIss(IsiSensorHandle_t handle,
float NewGain,
float NewIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *pSetGain,
float *pSetIntegrationTime,
float *hdr_ratio);
static RESULT SC2310_IsiGetGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT SC2310_IsiGetVSGainIss(IsiSensorHandle_t handle,
float *pSetGain);
static RESULT SC2310_IsiGetGainIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT SC2310_IsiSetGainIss(IsiSensorHandle_t handle,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT SC2310_IsiSetVSGainIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float NewGain, float *pSetGain,
float *hdr_ratio);
static RESULT SC2310_IsiGetIntegrationTimeIss(IsiSensorHandle_t handle,
float
*pSetIntegrationTime);
static RESULT SC2310_IsiGetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
*pSetIntegrationTime);
static RESULT SC2310_IsiGetIntegrationTimeIncrementIss(IsiSensorHandle_t handle,
float *pIncr);
static RESULT SC2310_IsiSetIntegrationTimeIss(IsiSensorHandle_t handle,
float NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
static RESULT SC2310_IsiSetVSIntegrationTimeIss(IsiSensorHandle_t
handle,
float
NewIntegrationTime,
float
*pSetIntegrationTime,
uint8_t *
pNumberOfFramesToSkip,
float *hdr_ratio);
RESULT SC2310_IsiGetResolutionIss(IsiSensorHandle_t handle, uint16_t *pwidth, uint16_t *pheight);
static RESULT SC2310_IsiResetSensorIss(IsiSensorHandle_t handle);
#ifdef __cplusplus
}
#endif
/* @} sc2310priv */
#endif /* __SC2310PRIV_H__ */

1377
drivers/SC2310/sc2310.h Normal file

File diff suppressed because it is too large Load Diff