summaryrefslogtreecommitdiff
path: root/src/lib/openjp2
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
committerEven Rouault <even.rouault@spatialys.com>2017-07-26 21:06:38 +0200
commit5e795d90a1e47616e0c7a2e39381c13ccf7fd6dd (patch)
treeb11a992a90fc82a23357ef9588aead07862b29a0 /src/lib/openjp2
parent2be20ce7d9996e960d79f3ad6ec439a9895849ed (diff)
Spelling fixes (patch by ka7, #890, rebased on top of master)
Diffstat (limited to 'src/lib/openjp2')
-rw-r--r--src/lib/openjp2/j2k.h6
-rw-r--r--src/lib/openjp2/jp2.c8
-rw-r--r--src/lib/openjp2/jp2.h4
-rw-r--r--src/lib/openjp2/openjpeg.h4
4 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/openjp2/j2k.h b/src/lib/openjp2/j2k.h
index 7be11249..cb708b3f 100644
--- a/src/lib/openjp2/j2k.h
+++ b/src/lib/openjp2/j2k.h
@@ -358,7 +358,7 @@ typedef struct opj_cp {
OPJ_CHAR *comment;
/** number of tiles in width */
OPJ_UINT32 tw;
- /** number of tiles in heigth */
+ /** number of tiles in height */
OPJ_UINT32 th;
/** number of ppm markers (reserved size) */
@@ -562,7 +562,7 @@ typedef struct opj_j2k {
/** helper used to write the index file */
opj_codestream_index_t *cstr_index;
- /** number of the tile curently concern by coding/decoding */
+ /** number of the tile currently concern by coding/decoding */
OPJ_UINT32 m_current_tile_number;
/** the current tile coder/decoder **/
@@ -728,7 +728,7 @@ opj_j2k_t* opj_j2k_create_decompress(void);
* Dump some elements from the J2K decompression structure .
*
*@param p_j2k the jpeg2000 codec.
- *@param flag flag to describe what elments are dump.
+ *@param flag flag to describe what elements are dump.
*@param out_stream output stream where dump the elements.
*
*/
diff --git a/src/lib/openjp2/jp2.c b/src/lib/openjp2/jp2.c
index 536cc50e..ab708758 100644
--- a/src/lib/openjp2/jp2.c
+++ b/src/lib/openjp2/jp2.c
@@ -353,7 +353,7 @@ static OPJ_BOOL opj_jp2_read_header_procedure(opj_jp2_t *jp2,
opj_event_mgr_t * p_manager);
/**
- * Excutes the given procedures on the given codec.
+ * Executes the given procedures on the given codec.
*
* @param p_procedure_list the list of procedures to execute
* @param jp2 the jpeg2000 file codec to execute the procedures on.
@@ -383,7 +383,7 @@ static OPJ_BOOL opj_jp2_read_boxhdr(opj_jp2_box_t *box,
opj_event_mgr_t * p_manager);
/**
- * Sets up the validation ,i.e. adds the procedures to lauch to make sure the codec parameters
+ * Sets up the validation ,i.e. adds the procedures to launch to make sure the codec parameters
* are valid. Developpers wanting to extend the library can add their own validation procedures.
*/
static OPJ_BOOL opj_jp2_setup_encoding_validation(opj_jp2_t *jp2,
@@ -452,7 +452,7 @@ static OPJ_BOOL opj_jp2_read_boxhdr_char(opj_jp2_box_t *box,
opj_event_mgr_t * p_manager);
/**
- * Sets up the validation ,i.e. adds the procedures to lauch to make sure the codec parameters
+ * Sets up the validation ,i.e. adds the procedures to launch to make sure the codec parameters
* are valid. Developpers wanting to extend the library can add their own validation procedures.
*/
static OPJ_BOOL opj_jp2_setup_decoding_validation(opj_jp2_t *jp2,
@@ -2355,7 +2355,7 @@ static OPJ_BOOL opj_jp2_read_header_procedure(opj_jp2_t *jp2,
}
/**
- * Excutes the given procedures on the given codec.
+ * Executes the given procedures on the given codec.
*
* @param p_procedure_list the list of procedures to execute
* @param jp2 the jpeg2000 file codec to execute the procedures on.
diff --git a/src/lib/openjp2/jp2.h b/src/lib/openjp2/jp2.h
index 7ca5b598..510a01bd 100644
--- a/src/lib/openjp2/jp2.h
+++ b/src/lib/openjp2/jp2.h
@@ -174,7 +174,7 @@ typedef struct opj_jp2 {
OPJ_UINT32 *cl;
opj_jp2_comps_t *comps;
/* FIXME: The following two variables are used to save offset
- as we write out a JP2 file to disk. This mecanism is not flexible
+ as we write out a JP2 file to disk. This mechanism is not flexible
as codec writers will need to extand those fields as new part
of the standard are implemented.
*/
@@ -442,7 +442,7 @@ OPJ_BOOL opj_jp2_set_decoded_resolution_factor(opj_jp2_t *p_jp2,
* Dump some elements from the JP2 decompression structure .
*
*@param p_jp2 the jp2 codec.
- *@param flag flag to describe what elments are dump.
+ *@param flag flag to describe what elements are dump.
*@param out_stream output stream where dump the elements.
*
*/
diff --git a/src/lib/openjp2/openjpeg.h b/src/lib/openjp2/openjpeg.h
index c7c82fcc..d57947d2 100644
--- a/src/lib/openjp2/openjpeg.h
+++ b/src/lib/openjp2/openjpeg.h
@@ -179,7 +179,7 @@ typedef size_t OPJ_SIZE_T;
/**
* JPEG 2000 Profiles, see Table A.10 from 15444-1 (updated in various AMD)
- * These values help chosing the RSIZ value for the J2K codestream.
+ * These values help choosing the RSIZ value for the J2K codestream.
* The RSIZ value triggers various encoding options, as detailed in Table A.10.
* If OPJ_PROFILE_PART2 is chosen, it has to be combined with one or more extensions
* described hereunder.
@@ -1521,7 +1521,7 @@ OPJ_API void OPJ_CALLCONV opj_destroy_cstr_info(opj_codestream_info_v2_t
*
* @param p_codec the jpeg2000 codec.
* @param info_flag type of information dump.
- * @param output_stream output stream where dump the informations get from the codec.
+ * @param output_stream output stream where dump the information gotten from the codec.
*
*/
OPJ_API void OPJ_CALLCONV opj_dump_codec(opj_codec_t *p_codec,