Implement whitebalance

This commit is contained in:
Martijn Braam
2023-08-16 14:45:57 +02:00
parent d13cdd5dcb
commit a6de61f475
4 changed files with 29 additions and 10 deletions

View File

@@ -133,7 +133,8 @@ update_io_pipeline()
.focus.manual_req = state.focus.manual_req,
.stats.exposure = state.stats.exposure,
.stats.whitebalance = state.stats.whitebalance,
.stats.temp = state.stats.temp,
.stats.tint = state.stats.tint,
.stats.focus = state.stats.focus,
};
mp_io_pipeline_update_state(&new_state);
@@ -171,7 +172,8 @@ update_state(const mp_state_main *new_state)
state.preview_buffer_height = new_state->preview_buffer_height;
state.stats.exposure = new_state->stats.exposure;
state.stats.whitebalance = new_state->stats.whitebalance;
state.stats.temp = new_state->stats.temp;
state.stats.tint = new_state->stats.tint;
state.stats.focus = new_state->stats.focus;
// Make the right settings available for the camera