File: io_pipeline.h

package info (click to toggle)
megapixels 0.13.1-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 476 kB
  • sloc: ansic: 4,031; xml: 133; sh: 45; makefile: 3
file content (26 lines) | stat: -rw-r--r-- 449 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#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_update_state(const struct mp_io_pipeline_state *state);