
119 / 179
Copyright © 2017 TOSHIBA TELI CORPORATION, All rights reserved.
http://www.toshiba-teli.co.jp/en/
D4267042B
Please refer to [INode functions], [IFloat node functions] and [IEnumeration node functions] in
[TeliCamAPI Library manual] for more detail.
Register access API
Control Gain by accessing IIDC2 registers directly.
API name
Description
Cam_ReadReg
Read register value
Cam_WriteReg
Write register value
Gain
Write to
‘Value’ field of ‘Gain’ register.
// Gain = 6.0dB (Raw value = 60)
uint32_t uiGainRaw = 60;
// Set Gain Value
Cam_WriteReg(s_hCam, 0x20407C, 1, &uiGainRaw);
GainAuto
Write to
‘Control’ field of ‘Gain’ register.
// GainAuto =
“Auto”
uint32_t uiGainAuto = 2;
// Set GainAuto =
“Auto”
Cam_WriteReg(s_hCam, 0x204068, 1, &uiGainAuto);
Please refer to [Camera functions] in [TeliCamAPI Library manual] for more detail.
Minimum/Maximum Value
Gain
Raw Value
Absolute (Float) Value
Minimum
0
0.00 [dB]
Maximum
240
24.00 [dB]
Initial Value
0
0.00 [dB]
Formula
Absolute Value [dB] = Raw Value / 10
● Note
In GainAuto mode, current Gain will be reflected to Gain value register.