Moved in some functions from dmtxdecode.c and added averaged sampling.
Moved in some functions from dmtxdecode.c and added averaged sampling.


dmtx/dmtx-wrappers,dmtx/dmtx-utils,dmtx/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-wrappers,dmtx/dmtx-wrappers,dmtx/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-utils,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-utils,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers,dmtx/dmtx-wrappers,NaturalHistoryMuseum/dmtx-wrappers