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

LICENSE

The ZBar Bar Code Reader is Copyright (C) 2007-2009 Jeff Brown <spadix@users.sourceforge.net> The QR Code reader is Copyright (C) 1999-2009 Timothy B. Terriberry <tterribe@xiph.org>

You can redistribute this library and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

ISAAC is based on the public domain implementation by Robert J. Jenkins Jr., and is itself public domain.

Portions of the bit stream reader are copyright (C) The Xiph.Org Foundation 1994-2008, and are licensed under a BSD-style license.

The Reed-Solomon decoder is derived from an implementation (C) 1991-1995 Henry Minsky (hqm@ua.com, hqm@ai.mit.edu), and is licensed under the LGPL with permission.

Committer:
RyoheiHagimoto
Date:
Tue Apr 19 02:19:39 2016 +0000
Revision:
1:500d42699c34
Parent:
0:56c5742b9e2b
Add copying.txt and license.txt

Who changed what in which revision?

UserRevisionLine numberNew contents of line
RyoheiHagimoto 0:56c5742b9e2b 1 /*Copyright (C) 2008-2009 Timothy B. Terriberry (tterribe@xiph.org)
RyoheiHagimoto 0:56c5742b9e2b 2 You can redistribute this library and/or modify it under the terms of the
RyoheiHagimoto 0:56c5742b9e2b 3 GNU Lesser General Public License as published by the Free Software
RyoheiHagimoto 0:56c5742b9e2b 4 Foundation; either version 2.1 of the License, or (at your option) any later
RyoheiHagimoto 0:56c5742b9e2b 5 version.*/
RyoheiHagimoto 0:56c5742b9e2b 6 #if !defined(_bch15_5_H)
RyoheiHagimoto 0:56c5742b9e2b 7 # define _bch15_5_H (1)
RyoheiHagimoto 0:56c5742b9e2b 8
RyoheiHagimoto 0:56c5742b9e2b 9 /*Encodes a raw 5-bit value _x into a 15-bit BCH(15,5) code.
RyoheiHagimoto 0:56c5742b9e2b 10 This is capable of correcting up to 3 bit errors, and detecting as many as
RyoheiHagimoto 0:56c5742b9e2b 11 5 bit errors in some cases.*/
RyoheiHagimoto 0:56c5742b9e2b 12 unsigned bch15_5_encode(unsigned _x);
RyoheiHagimoto 0:56c5742b9e2b 13
RyoheiHagimoto 0:56c5742b9e2b 14 /*Corrects the received code *_y, if possible.
RyoheiHagimoto 0:56c5742b9e2b 15 The original data is located in the top five bits.
RyoheiHagimoto 0:56c5742b9e2b 16 Returns the number of errors corrected, or a negative value if decoding
RyoheiHagimoto 0:56c5742b9e2b 17 failed due to too many bit errors, in which case *_y is left unchanged.*/
RyoheiHagimoto 0:56c5742b9e2b 18 int bch15_5_correct(unsigned *_y);
RyoheiHagimoto 0:56c5742b9e2b 19
RyoheiHagimoto 0:56c5742b9e2b 20 #endif
RyoheiHagimoto 0:56c5742b9e2b 21