Reorganization, replacing CPU debayering entirely

This commit is contained in:
Benjamin Schaaf
2021-04-18 23:13:56 +10:00
parent 337526e9b9
commit 91817b167a
48 changed files with 571 additions and 1657 deletions

22
src/zbar_pipeline.h Normal file
View File

@@ -0,0 +1,22 @@
#pragma once
#include "camera_config.h"
typedef struct _cairo_surface cairo_surface_t;
typedef struct {
int bounds_x[4];
int bounds_y[4];
char *data;
const char *type;
} MPZBarCode;
typedef struct {
MPZBarCode codes[8];
uint8_t size;
} MPZBarScanResult;
void mp_zbar_pipeline_start();
void mp_zbar_pipeline_stop();
void mp_zbar_pipeline_process_image(cairo_surface_t *surface);