flat assembler
Message board for the users of flat assembler.
Index
> Main > Reed-Solomon simple encoder in Assembly language? Goto page Previous 1, 2 |
Author |
|
FlierMate 04 Feb 2022, 15:39
al_Fazline wrote: DataMatrix is indeed kinda easier to understand, then QR, I think. Thanks for giving hope that it is easier to understand than QR. In QR, according to specification, the Code: rs_init_gf(&rs, 0x11d); In data matrix, however, Code: rs_init_gf(&rs, 0x12d); where rs_init_gf is: Quote: rs_init_gf(&rs, prime_poly) initialises the parameters for the Galois Field. Reference to Zint API: - https://github.com/woo-j/zint/blob/master/backend/qr.c (QR) - https://github.com/woo-j/zint/blob/master/backend/dmatrix.c (Data matrix) So perhaps you can make use of the simple Reed-Solomon encoder in this thread (converted by Hrstka) for use in Data matrix encoding as well, just change the prime_poly (gf) from 285 (0x11d) to 301 (ox12d). I don't understand the math, don't ask me why. Please share your work with us once you have implemented it in FASM. All the best! |
|||
04 Feb 2022, 15:39 |
|
Goto page Previous 1, 2 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.