| 771 | } |
| 772 | |
| 773 | void Freenect2DeviceImpl::setColorManualExposure(float integration_time_ms, float analog_gain) |
| 774 | { |
| 775 | CommandTransaction::Result result; |
| 776 | command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_ACS, 0u), result); |
| 777 | command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_EXPOSURE_MODE, 4u), result); // 4 == Fully manual |
| 778 | command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_INTEGRATION_TIME, integration_time_ms), result); |
| 779 | command_tx_.execute(ColorSettingCommand(COLOR_SETTING_SET_ANALOG_GAIN, analog_gain), result); |
| 780 | } |
| 781 | |
| 782 | void Freenect2DeviceImpl::setColorSetting(ColorSettingCommandType cmd, uint32_t value) |
| 783 | { |
nothing calls this directly
no test coverage detected