Merge pull request #1128 from stweil/typos
[openjpeg.git] / src / lib / openmj2 / tcd.h
index f88c1ed3e2c2583c042bbe846250239eb87c91e9..4a530014cb85ea5e447342f4dbf013c786fe1fc4 100644 (file)
@@ -97,7 +97,7 @@ typedef struct opj_tcd_cblk_enc {
 
 typedef struct opj_tcd_cblk_dec {
     unsigned char* data;  /* Data */
-    opj_tcd_seg_t* segs;      /* segments informations */
+    opj_tcd_seg_t* segs;      /* segments information */
     int x0, y0, x1,
         y1;     /* dimension of the code-blocks : left upper corner (x0, y0) right low corner (x1,y1) */
     int numbps;
@@ -113,8 +113,8 @@ FIXME: documentation
 typedef struct opj_tcd_precinct {
     int x0, y0, x1,
         y1;       /* dimension of the precinct : left upper corner (x0, y0) right low corner (x1,y1) */
-    int cw, ch;           /* number of precinct in width and heigth */
-    union {       /* code-blocks informations */
+    int cw, ch;           /* number of precinct in width and height */
+    union {       /* code-blocks information */
         opj_tcd_cblk_enc_t* enc;
         opj_tcd_cblk_dec_t* dec;
     } cblks;
@@ -176,7 +176,7 @@ typedef struct opj_tcd_tile {
 FIXME: documentation
 */
 typedef struct opj_tcd_image {
-    int tw, th;           /* number of tiles in width and heigth */
+    int tw, th;           /* number of tiles in width and height */
     opj_tcd_tile_t *tiles;        /* Tiles information */
 } opj_tcd_image_t;