Reorganization, replacing CPU debayering entirely
This commit is contained in:
28
src/io_pipeline.h
Normal file
28
src/io_pipeline.h
Normal file
@@ -0,0 +1,28 @@
|
||||
#pragma once
|
||||
|
||||
#include "camera_config.h"
|
||||
|
||||
struct mp_io_pipeline_state {
|
||||
const struct mp_camera_config *camera;
|
||||
|
||||
int burst_length;
|
||||
|
||||
int preview_width;
|
||||
int preview_height;
|
||||
|
||||
bool gain_is_manual;
|
||||
int gain;
|
||||
|
||||
bool exposure_is_manual;
|
||||
int exposure;
|
||||
};
|
||||
|
||||
void mp_io_pipeline_start();
|
||||
void mp_io_pipeline_stop();
|
||||
|
||||
void mp_io_pipeline_focus();
|
||||
void mp_io_pipeline_capture();
|
||||
|
||||
void mp_io_pipeline_release_buffer(uint32_t buffer_index);
|
||||
|
||||
void mp_io_pipeline_update_state(const struct mp_io_pipeline_state *state);
|
Reference in New Issue
Block a user