Skip to content

Commit

Permalink
Merge pull request #27 from Ken-Vamrs/main
Browse files Browse the repository at this point in the history
add ccm iso and ae configuration for camera json
  • Loading branch information
RadxaYuntian authored Dec 19, 2024
2 parents 0fd01ac + 541e567 commit 9fd6589
Show file tree
Hide file tree
Showing 5 changed files with 206 additions and 7 deletions.
40 changes: 40 additions & 0 deletions rockchip-iqfiles-rk3588/imx219_RADXA-CAMERA-8M_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,46 @@
"rgb2y_para": [38, 75, 15],
"low_bound_pos_bit": 8,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024],
"gain_yalp_curve": [{
"iso": 50,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 100,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 1600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 3200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 6400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 12800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 25600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 51200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 102400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 204800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}],
"gain_alphaScale_curve": {
"gain": [1, 2, 4, 8, 16, 32, 64, 128, 256],
"scale": [0.95, 0.9, 0.85, 0.85, 0.8, 0.7, 0.7, 0.7, 0.7]
Expand Down
40 changes: 40 additions & 0 deletions rockchip-iqfiles-rk3588/imx219_rpi-camera-v2_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,46 @@
"rgb2y_para": [38, 75, 15],
"low_bound_pos_bit": 8,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024],
"gain_yalp_curve": [{
"iso": 50,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 100,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 1600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 3200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 6400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 12800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 25600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 51200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 102400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 204800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}],
"gain_alphaScale_curve": {
"gain": [1, 2, 4, 8, 16, 32, 64, 128, 256],
"scale": [0.95, 0.9, 0.85, 0.85, 0.8, 0.7, 0.7, 0.7, 0.7]
Expand Down
53 changes: 46 additions & 7 deletions rockchip-iqfiles-rk3588/imx415_RADXA-CAMERA-4K_DEFAULT.json
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
"HistStatsMode": "CAM_HISTV2_MODE_Y",
"RawStatsMode": "CAM_RAWSTATSV2_MODE_Y",
"YRangeMode": "CAM_YRANGEV2_MODE_FULL",
"AecGridWeight": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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2, 2, 2, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 3, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
"AecManualCtrl": {
"LinearAE": {
"ManualTimeEn": 1,
Expand Down Expand Up @@ -221,19 +221,19 @@
"InitHDCIrisTargetValue": 0
},
"Route": {
"TimeDot": [0, 0.03, 0.03, 0.04, 0.04, 0.04],
"TimeDot": [0, 0.01, 0.01, 0.03, 0.03, 0.03],
"TimeDot_len": 6,
"GainDot": [1, 1, 4, 8, 8, 850],
"GainDot": [1, 1, 4, 4, 8, 512],
"GainDot_len": 6,
"IspDGainDot": [1, 1, 1, 1, 1, 1],
"IspDGainDot_len": 6,
"PIrisDot": [512, 512, 512, 512, 512, 512],
"PIrisDot_len": 6
},
"DySetpoint": {
"ExpLevel": [0, 0.1, 0.3, 0.5, 0.7, 1],
"ExpLevel": [0, 0.096, 0.192, 0.576, 0.96, 1.344],
"ExpLevel_len": 6,
"DySetpoint": [55, 50, 45, 40, 35, 30],
"DySetpoint": [45, 45, 40, 38, 33, 30],
"DySetpoint_len": 6
},
"BackLightCtrl": {
Expand All @@ -245,7 +245,7 @@
"LvLowTh": 0.3125,
"LvHighTh": 7.5,
"BacklitSetPoint": {
"ExpLevel": [0, 0.1, 0.3, 0.5, 0.7, 1],
"ExpLevel": [0.096, 0.192, 0.384, 0.576, 0.96, 1.344],
"ExpLevel_len": 6,
"NonOEPdfTh": [0.4, 0.45, 0.55, 0.65, 0.75, 1],
"NonOEPdfTh_len": 6,
Expand Down Expand Up @@ -1027,7 +1027,46 @@
"lumaCCM": {
"rgb2y_para": [38, 75, 15],
"low_bound_pos_bit": 8,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024],
"gain_yalp_curve": [{
"iso": 50,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 100,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 1600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 3200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 6400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 12800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 25600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 51200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 102400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 204800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}],
"gain_alphaScale_curve": {
"gain": [1, 2, 4, 8, 16, 32, 64, 128, 256],
"scale": [1, 1, 1, 1, 1, 1, 1, 1, 1]
Expand Down
40 changes: 40 additions & 0 deletions rockchip-iqfiles-rk3588/ov5647_OKDO-5MP_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,46 @@
"rgb2y_para": [38, 75, 15],
"low_bound_pos_bit": 8,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024],
"gain_yalp_curve": [{
"iso": 50,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 100,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 1600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 3200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 6400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 12800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 25600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 51200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 102400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 204800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}],
"gain_alphaScale_curve": {
"gain": [1, 2, 4, 8, 16, 32, 64, 128, 256],
"scale": [0.92, 0.9, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8]
Expand Down
40 changes: 40 additions & 0 deletions rockchip-iqfiles-rk3588/ov5647_rpi-camera-v1p3_default.json
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,46 @@
"rgb2y_para": [38, 75, 15],
"low_bound_pos_bit": 8,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024],
"gain_yalp_curve": [{
"iso": 50,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 100,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 1600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 3200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 6400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 12800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 25600,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 51200,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 102400,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}, {
"iso": 204800,
"y_alpha_curve": [0, 64, 128, 192, 256, 320, 384, 448, 512, 576, 640, 704, 768, 832, 896, 960, 1024]
}],
"gain_alphaScale_curve": {
"gain": [1, 2, 4, 8, 16, 32, 64, 128, 256],
"scale": [0.92, 0.9, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8, 0.8]
Expand Down

0 comments on commit 9fd6589

Please sign in to comment.