void Private_Impl_Still::commitAWB() { MMAL_PARAMETER_AWBMODE_T param = {{MMAL_PARAMETER_AWB_MODE,sizeof ( param ) }, convertAWB ( awb ) }; if ( mmal_port_parameter_set ( camera->control, ¶m.hdr ) != MMAL_SUCCESS ) cout << API_NAME << ": Failed to set AWB parameter.\n"; }
void Private_Impl::commitAWB() { MMAL_PARAMETER_AWBMODE_T param = {{MMAL_PARAMETER_AWB_MODE, sizeof ( param ) }, convertAWB ( State.rpc_awbMode ) }; if ( mmal_port_parameter_set ( State.camera_component->control, ¶m.hdr ) != MMAL_SUCCESS ) cout << __func__ << ": Failed to set AWB parameter.\n"; }