aboutsummaryrefslogtreecommitdiffstats
path: root/color_pipe.h
diff options
context:
space:
mode:
authorPatrick Roth <roth@stettbacher.ch>2019-10-22 12:56:59 +0200
committerPatrick Roth <roth@stettbacher.ch>2019-10-22 12:56:59 +0200
commit744732fb4ff701ca6da9fcde60a7da6d9e0dbb11 (patch)
tree8384383ee118b4fcb35e5b5a19a717746c3515e6 /color_pipe.h
parentVersion upgrade to 1.0.1 (diff)
downloado3000-color-pipe-744732fb4ff701ca6da9fcde60a7da6d9e0dbb11.tar.gz
o3000-color-pipe-744732fb4ff701ca6da9fcde60a7da6d9e0dbb11.zip
Library version defined in CMakeLists.txt
Current library version can be requested with function color_pipe_get_version().
Diffstat (limited to 'color_pipe.h')
-rw-r--r--color_pipe.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/color_pipe.h b/color_pipe.h
index 42af584..2833d0f 100644
--- a/color_pipe.h
+++ b/color_pipe.h
@@ -36,14 +36,6 @@
/**
- * library version
- */
-#define COLOR_PIPE_VERSION "1.0.1"
-
-
-
-
-/**
* demosaicing algorithm definition
*/
enum bayer_alg_t {
@@ -312,6 +304,7 @@ extern "C" {
void __stdcall color_pipe_process(struct color_pipe_t *color_pipe, void *img_buf, struct img_header_t *img_header);
int __stdcall color_pipe_open(struct color_pipe_t **color_pipe, const int max_img_height, const int max_img_width, const int bits_per_channel);
int __stdcall color_pipe_close(struct color_pipe_t *data);
+void __stdcall color_pipe_get_version(int *major, int *minor, int *release);
void __stdcall color_pipe_stageconf_debayer(struct color_pipe_t *color_pipe, enum bayer_alg_t alg);
void __stdcall color_pipe_stageconf_awb(struct color_pipe_t *color_pipe, int enable, float gray_threshold, float ctrl_gain);