Previous:
DgCorrelateFunction
Up:
PARC DataGlyph Toolkit 4.0 API
Next:
DgDecodeGlyphImage
DgDecodeBCH2014
(from DgEncodingUtils.c)
DgError DgExport DgDecodeBCH2014 (
DgUInt32 in,
DgUInt32 erasures,
DgUInt32 *out
);
Summary
Decode a word using 20/14
BCH
encoding. This encoding is for 1-bit symbols. The 20 low-order bits of the input are decoded to obtain 14 bits of data, which are placed in the low-order bits of the output.
Parameters
in
BCH
encoded input
erasures
erasure locations
Output Parameters
out
decoded output
Return Value
DG_OK
on success