Get zbar working again
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
#include "camera_config.h"
|
||||
|
||||
typedef struct _cairo_surface cairo_surface_t;
|
||||
typedef struct _MPZBarImage MPZBarImage;
|
||||
|
||||
typedef struct {
|
||||
int bounds_x[4];
|
||||
@@ -19,4 +19,13 @@ typedef struct {
|
||||
void mp_zbar_pipeline_start();
|
||||
void mp_zbar_pipeline_stop();
|
||||
|
||||
void mp_zbar_pipeline_process_image(cairo_surface_t *surface);
|
||||
void mp_zbar_pipeline_process_image(MPZBarImage *image);
|
||||
|
||||
MPZBarImage *mp_zbar_image_new(uint8_t *data,
|
||||
MPPixelFormat pixel_format,
|
||||
int width,
|
||||
int height,
|
||||
int rotation,
|
||||
bool mirrored);
|
||||
MPZBarImage *mp_zbar_image_ref(MPZBarImage *image);
|
||||
void mp_zbar_image_unref(MPZBarImage *image);
|
||||
|
Reference in New Issue
Block a user