Files
Megapixels/src/io_pipeline.h
Benjamin Schaaf 772db36877 Make clang-format more aggressive
clang-format always manages to mix spaces into tab-based indentation.
Since we already require an exact tab-width of 8 it makes more sense to
use spaces.
2021-11-13 00:06:11 +11:00

34 lines
647 B
C

#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;
int device_rotation;
bool gain_is_manual;
int gain;
bool exposure_is_manual;
int exposure;
bool save_dng;
bool flash_enabled;
};
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);