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/openmj2 | |
| 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/openmj2')
| -rw-r--r-- | src/lib/openmj2/cio.h | 2 | ||||
| -rw-r--r-- | src/lib/openmj2/dwt.h | 4 | ||||
| -rw-r--r-- | src/lib/openmj2/jp2.h | 2 | ||||
| -rw-r--r-- | src/lib/openmj2/mct.c | 4 | ||||
| -rw-r--r-- | src/lib/openmj2/openjpeg.h | 2 | ||||
| -rw-r--r-- | src/lib/openmj2/opj_malloc.h | 2 | ||||
| -rw-r--r-- | src/lib/openmj2/pi.h | 2 |
7 files changed, 9 insertions, 9 deletions
diff --git a/src/lib/openmj2/cio.h b/src/lib/openmj2/cio.h index f389d4e2..3cae708e 100644 --- a/src/lib/openmj2/cio.h +++ b/src/lib/openmj2/cio.h @@ -74,7 +74,7 @@ Write some bytes @param cio CIO handle @param v Value to write @param n Number of bytes to write -@return Returns the number of bytes written or 0 if an error occured +@return Returns the number of bytes written or 0 if an error occurred */ OPJ_API unsigned int OPJ_CALLCONV cio_write(opj_cio_t *cio, unsigned int64 v, int n); /** diff --git a/src/lib/openmj2/dwt.h b/src/lib/openmj2/dwt.h index 3cb3b209..5b9645bf 100644 --- a/src/lib/openmj2/dwt.h +++ b/src/lib/openmj2/dwt.h @@ -54,13 +54,13 @@ DWT.C are used by some function in TCD.C. /*@{*/ /* ----------------------------------------------------------------------- */ /** -Forward 5-3 wavelet tranform in 2-D. +Forward 5-3 wavelet transform in 2-D. Apply a reversible DWT transform to a component of an image. @param tilec Tile component information (current tile) */ void dwt_encode(opj_tcd_tilecomp_t * tilec); /** -Inverse 5-3 wavelet tranform in 2-D. +Inverse 5-3 wavelet transform in 2-D. Apply a reversible inverse DWT transform to a component of an image. @param tilec Tile component information (current tile) @param numres Number of resolution levels to decode diff --git a/src/lib/openmj2/jp2.h b/src/lib/openmj2/jp2.h index f1b9c0d3..fbd17a4d 100644 --- a/src/lib/openmj2/jp2.h +++ b/src/lib/openmj2/jp2.h @@ -58,7 +58,7 @@ /* ----------------------------------------------------------------------- */ /** -Channel description: channel index, type, assocation +Channel description: channel index, type, association */ typedef struct opj_jp2_cdef_info { diff --git a/src/lib/openmj2/mct.c b/src/lib/openmj2/mct.c index e507a781..0f926194 100644 --- a/src/lib/openmj2/mct.c +++ b/src/lib/openmj2/mct.c @@ -52,7 +52,7 @@ static const double mct_norms[3] = { 1.732, .8292, .8292 }; static const double mct_norms_real[3] = { 1.732, 1.805, 1.573 }; /* <summary> */ -/* Foward reversible MCT. */ +/* Forward reversible MCT. */ /* </summary> */ void mct_encode( int* restrict c0, @@ -105,7 +105,7 @@ double mct_getnorm(int compno) { } /* <summary> */ -/* Foward irreversible MCT. */ +/* Forward irreversible MCT. */ /* </summary> */ void mct_encode_real( int* restrict c0, diff --git a/src/lib/openmj2/openjpeg.h b/src/lib/openmj2/openjpeg.h index f765fc2c..132ec2fd 100644 --- a/src/lib/openmj2/openjpeg.h +++ b/src/lib/openmj2/openjpeg.h @@ -62,7 +62,7 @@ The following ifdef block is the standard way of creating macros which make expo from a DLL simpler. All files within this DLL are compiled with the OPJ_EXPORTS symbol defined on the command line. this symbol should not be defined on any project that uses this DLL. This way any other project whose source files include this file see -OPJ_API functions as being imported from a DLL, wheras this DLL sees symbols +OPJ_API functions as being imported from a DLL, whereas this DLL sees symbols defined with this macro as being exported. */ #if defined(OPJ_EXPORTS) || defined(DLL_EXPORT) diff --git a/src/lib/openmj2/opj_malloc.h b/src/lib/openmj2/opj_malloc.h index 9e4af234..1b62ab02 100644 --- a/src/lib/openmj2/opj_malloc.h +++ b/src/lib/openmj2/opj_malloc.h @@ -64,7 +64,7 @@ void * OPJ_CALLCONV opj_calloc(size_t _NumOfElements, size_t _SizeOfElements); #endif
/**
-Allocate memory aligned to a 16 byte boundry
+Allocate memory aligned to a 16 byte boundary
@param size Bytes to allocate
@return Returns a void pointer to the allocated space, or NULL if there is insufficient memory available
*/
diff --git a/src/lib/openmj2/pi.h b/src/lib/openmj2/pi.h index fa0d08ab..7f2fe3ef 100644 --- a/src/lib/openmj2/pi.h +++ b/src/lib/openmj2/pi.h @@ -73,7 +73,7 @@ Packet iterator typedef struct opj_pi_iterator { /** Enabling Tile part generation*/ char tp_on; - /** precise if the packet has been already used (usefull for progression order change) */ + /** precise if the packet has been already used (useful for progression order change) */ short int *include; /** layer step used to localize the packet in the include vector */ int step_l; |
