aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-common.h
blob: 52666e62c83122cfaf3dfc574566cfdba584d40f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef CODE_COMMON_H
#define CODE_COMMON_H

#include <qr/code.h>
#include "bitstream.h"

struct qr_code {
        int              format;
        unsigned char *  modules;
        size_t           line_stride;
};

int code_side_length(int format);
int code_finder_count(int format);

size_t code_total_capacity(int format);

#endif