libdmtx 0.7.8.7
libdmtx is a software library that enables programs to read and write Data Matrix barcodes of the modern ECC200 variety.
|
libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton. More...
Go to the source code of this file.
Functions | |
static DmtxScanGrid | initScanGrid (DmtxDecode *dec) |
初始化扫描网格 | |
static int | popGridLocation (DmtxScanGrid *grid, DmtxPixelLoc *locPtr) |
Return the next good location (which may be the current location), and advance grid progress one position beyond that. | |
static int | getGridCoordinates (DmtxScanGrid *grid, DmtxPixelLoc *locPtr) |
Extract current grid position in pixel coordinates and return whether location is good, bad, or end. | |
static void | setDerivedFields (DmtxScanGrid *grid) |
Update derived fields based on current state. | |
libdmtx - Data Matrix Encoding/Decoding Library Copyright 2008, 2009 Mike Laughton.
All rights reserved. Copyright 2012-2016 Vadim A. Misbakh-Soloviov. All rights reserved.
See LICENSE file in the main project directory for full terms of use and distribution.
Contact: Vadim A. Misbakh-Soloviov dmtx@.nosp@m.mva..nosp@m.name Mike Laughton mike@.nosp@m.drag.nosp@m.onfly.nosp@m.logi.nosp@m.c.com
Scan grid tracking
Definition in file dmtxscangrid.c.
|
static |
Extract current grid position in pixel coordinates and return whether location is good, bad, or end.
Definition at line 95 of file dmtxscangrid.c.
|
static |
初始化扫描网格
Definition at line 26 of file dmtxscangrid.c.
|
static |
Return the next good location (which may be the current location), and advance grid progress one position beyond that.
If no good locations remain then return DmtxRangeEnd.
Definition at line 75 of file dmtxscangrid.c.
|
static |
Update derived fields based on current state.
Definition at line 167 of file dmtxscangrid.c.