blob: 552ad4d8b9d03f788be5059b1026db26cd192bc5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _DECODER_QR_FINDER_H_
#define _DECODER_QR_FINDER_H_
#include "qrcode.h"
/* QR Code symbol finder state */
typedef struct qr_finder_s {
unsigned s5; /* finder pattern width */
qr_finder_line line; /* position info needed by decoder */
unsigned config;
} qr_finder_t;
/* reset QR finder specific state */
static inline void qr_finder_reset(qr_finder_t *qrf)
{
qrf->s5 = 0;
}
/* find QR Code symbols */
zbar_symbol_type_t _zbar_find_qr(zbar_decoder_t *dcode);
#endif
|