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, &param.hdr ) != MMAL_SUCCESS )
        cout << API_NAME << ": Failed to set AWB parameter.\n";
}
예제 #2
0
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, &param.hdr ) != MMAL_SUCCESS )
        cout << __func__ << ": Failed to set AWB parameter.\n";
}