jetpack-4.4.1 #8

Merged
dchvs merged 6 commits from jetpack-4.4.1 into master 2021-03-16 01:29:32 -03:00
1 changed files with 4 additions and 5 deletions
Showing only changes of commit d4df26e9f9 - Show all commits

View File

@ -417,16 +417,15 @@ static int mt9m021_set_gain(struct tegracam_device *tc_dev, s64 val)
* Digital gain equation:
*
* RANGE: 1x, 7.97x
* GAIN: VAL / STEPS;
* STEPS: 1/32
*
* SCALE FACTOR = 32
* SCALE FACTOR = 3
*
* min_gain_val = 100
* max_gain_val = 762
* min_gain_val = 102
* max_gain_val = 160
* gain_factor = 3
*
* gain maps to range 32 - 255
* gain accepts mapping to range 32 - 53
*/
gain = val / 3;