diff options
| author | Stefan Weil <sw@weilnetz.de> | 2015-09-29 05:55:43 +0200 |
|---|---|---|
| committer | Stefan Weil <sw@weilnetz.de> | 2015-09-29 05:55:43 +0200 |
| commit | 99fc1ab306f9db0085adf648369404ce8aae22a9 (patch) | |
| tree | e578bd00dd5fe582d12ecf14d35f09f0d937f3b2 /src/lib/openjpwl | |
| parent | 838dfb8058df62af44905e1fa3936d989844effc (diff) | |
Fix typos in comments and string
Most typos were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Diffstat (limited to 'src/lib/openjpwl')
| -rw-r--r-- | src/lib/openjpwl/jpwl.h | 2 | ||||
| -rw-r--r-- | src/lib/openjpwl/rs.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjpwl/jpwl.h b/src/lib/openjpwl/jpwl.h index 748a6b38..ca0ee0a1 100644 --- a/src/lib/openjpwl/jpwl.h +++ b/src/lib/openjpwl/jpwl.h @@ -357,7 +357,7 @@ opj_bool jpwl_correct(opj_j2k_t *j2k); @param post_len length of post_data @param conn is a pointer to the length of all connected (packed) EPBs @param L4_bufp is a pointer to the buffer pointer of redundancy data -@return returns true if correction could be succesfully performed +@return returns true if correction could be successfully performed */ opj_bool jpwl_epb_correct(opj_j2k_t *j2k, unsigned char *buffer, int type, int pre_len, int post_len, int *conn, unsigned char **L4_bufp); diff --git a/src/lib/openjpwl/rs.c b/src/lib/openjpwl/rs.c index e35781f6..a0bd7c71 100644 --- a/src/lib/openjpwl/rs.c +++ b/src/lib/openjpwl/rs.c @@ -225,7 +225,7 @@ void init_rs(int k) of the integer "alpha_to[i]" with a(0) being the LSB and a(m-1) the MSB. Thus for example the polynomial representation of @^5 would be given by the binary representation of the integer "alpha_to[5]". - Similarily, index_of[] can be used as follows: + Similarly, index_of[] can be used as follows: As above, let @ represent the primitive element of GF(2^m) that is the root of the primitive polynomial p(x). In order to find the power of @ (alpha) that has the polynomial representation @@ -237,7 +237,7 @@ void init_rs(int k) NOTE: The element alpha_to[2^m-1] = 0 always signifying that the representation of "@^infinity" = 0 is (0,0,0,...,0). - Similarily, the element index_of[0] = A0 always signifying + Similarly, the element index_of[0] = A0 always signifying that the power of alpha which has the polynomial representation (0,0,...,0) is "infinity". |
