2 0 H a M e s i l a S t . , N e s h e r 3 6 8 8 5 2 0 , I s r a e l
P O B 2 5 0 0 4 , H a i f a 3 1 2 5 0 0 1 , I s r a e l
T e l : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 0 0 F a x : ( + 9 7 2 ) - 7 2 - 2 7 2 3 5 1 1
Page no. 31 | Appendix No. 1
Value
Reset
Minimal
Maximal
gain
256
0
2047
Example:
// Set a red gain value of 1.23 => input value should be 315 = round (1.23 * 256.0)
gain_red 315
8.8.15
gain_blue <gain>
Same as gain_red but for blue color channel.
8.8.16
gain_green <gain>
Same as gain_red but for green color channel.
8.8.17
black_master <offset-red> <offset-green> <offset-blue>
Sets the black-level offset for red, green and blue-components for selected output channel. The processing is done
in linear RGB domain (pre gamma).
red_out = (red_in – offset-red) *4095 / (4095 – offset-red)
Value
Reset
Minimal
Maximal
offset
0
-2047
2048
Example 1:
// Set black-level for all components to 100
black_master 100
Example 2:
// Set black-level for red to 10, for green to 20 and blue to 30
black_master 10 20 30
8.8.18
black_red <offset>
Sets offset for red component for selected output channel as black level setting. The processing is done after de-
bayering. The offset is defined as singed value. A value of zero is treated as neutral.
red_out = red + offset
Value
Reset
Minimal
Maximal
offset
0
-4096
4095