ZBar bar code reader . http://zbar.sourceforge.net/ ZBar is licensed under the GNU LGPL 2.1 to enable development of both open source and commercial projects.

Dependents:   GR-PEACH_Camera_in_barcode levkov_ov7670

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers qr_finder.h Source File

qr_finder.h

00001 #ifndef _DECODER_QR_FINDER_H_
00002 #define _DECODER_QR_FINDER_H_
00003 
00004 #include "qrcode.h"
00005 
00006 /* QR Code symbol finder state */
00007 typedef struct qr_finder_s {
00008     unsigned s5;                /* finder pattern width */
00009     qr_finder_line line;        /* position info needed by decoder */
00010 
00011     unsigned config;
00012 } qr_finder_t;
00013 
00014 /* reset QR finder specific state */
00015 static inline void qr_finder_reset (qr_finder_t *qrf)
00016 {
00017     qrf->s5 = 0;
00018 }
00019 
00020 /* find QR Code symbols */
00021 zbar_symbol_type_t _zbar_find_qr (zbar_decoder_t *dcode);
00022 
00023 #endif
00024