about summary refs log tree commit diff
path: root/converter/ppm
diff options
context:
space:
mode:
Diffstat (limited to 'converter/ppm')
-rw-r--r--converter/ppm/ilbmtoppm.c2
-rw-r--r--converter/ppm/pc1toppm.c2
-rw-r--r--converter/ppm/pcxtoppm.c2
-rw-r--r--converter/ppm/picttoppm.c4
-rw-r--r--converter/ppm/ppmtoilbm.c4
-rw-r--r--converter/ppm/ppmtompeg/BUGS2
-rw-r--r--converter/ppm/ppmtompeg/CHANGES2
-rw-r--r--converter/ppm/ppmtompeg/bitio.c2
-rw-r--r--converter/ppm/ppmtompeg/bsearch.c2
-rw-r--r--converter/ppm/ppmtompeg/docs/template.param2
-rw-r--r--converter/ppm/ppmtompeg/examples/template.param2
-rw-r--r--converter/ppm/ppmtompeg/headers/all.h2
-rw-r--r--converter/ppm/ppmtompeg/headers/motion_search.h2
-rw-r--r--converter/ppm/ppmtompeg/headers/rate.h2
-rw-r--r--converter/ppm/ppmtompeg/jpeg.c4
-rw-r--r--converter/ppm/ppmtompeg/opts.c2
-rw-r--r--converter/ppm/ppmtompeg/psearch.c2
-rw-r--r--converter/ppm/ppmtompeg/rate.c2
-rw-r--r--converter/ppm/ppmtompeg/specifics.c4
-rw-r--r--converter/ppm/ppmtowinicon.c2
-rw-r--r--converter/ppm/xim.h2
-rw-r--r--converter/ppm/ximtoppm.c2
22 files changed, 26 insertions, 26 deletions
diff --git a/converter/ppm/ilbmtoppm.c b/converter/ppm/ilbmtoppm.c
index a1aae7f4..a898d705 100644
--- a/converter/ppm/ilbmtoppm.c
+++ b/converter/ppm/ilbmtoppm.c
@@ -9,7 +9,7 @@
 ** documentation.  This software is provided "as is" without express or
 ** implied warranty.
 **
-** Modified by Mark Thompson on 10/4/90 to accomodate 24-bit IFF files
+** Modified by Mark Thompson on 10/4/90 to accommodate 24-bit IFF files
 ** as used by ASDG, NewTek, etc.
 **
 ** Modified by Ingo Wilken (Ingo.Wilken@informatik.uni-oldenburg.de)
diff --git a/converter/ppm/pc1toppm.c b/converter/ppm/pc1toppm.c
index 5ba247e9..ec6678a4 100644
--- a/converter/ppm/pc1toppm.c
+++ b/converter/ppm/pc1toppm.c
@@ -170,7 +170,7 @@ writePpm(FILE *         const ofP,
            is represented by 4 shorts (16 bit integers).  The
            first is for Plane 0, the second for Plane 1, etc.  Each short
            contains the bits for that plane for each of the 16 columns,
-           arranged from most signficant bit to least in increasing column
+           arranged from most significant bit to least in increasing column
            number.
         */
         unsigned int col0ScreenIndex = cols/16*planes * row;
diff --git a/converter/ppm/pcxtoppm.c b/converter/ppm/pcxtoppm.c
index b6369806..8b8ee7d5 100644
--- a/converter/ppm/pcxtoppm.c
+++ b/converter/ppm/pcxtoppm.c
@@ -539,7 +539,7 @@ pcx_256col_to_ppm(FILE *       const ifP,
 
     /*
      * 256 color images have their color map at the end of the file
-     * preceeded by a magic byte
+     * preceded by a magic byte
      */
     colormapSignature = GetByte(ifP);
     if (colormapSignature != PCX_256_COLORS)
diff --git a/converter/ppm/picttoppm.c b/converter/ppm/picttoppm.c
index f3c9ffb0..43b8d1ef 100644
--- a/converter/ppm/picttoppm.c
+++ b/converter/ppm/picttoppm.c
@@ -2543,7 +2543,7 @@ interpretCompressedLine(unsigned char * const linebuf,
   So with 200 being the cutoff, it's actually impossible to represent some 
   16 bpp images with 200 pixels per row.
 
-  We have not been able to find an offical spec for PICT.
+  We have not been able to find an official spec for PICT.
 
   Some day, we may have to make a user option for this.
 */
@@ -3191,7 +3191,7 @@ frameSameRect(struct canvas * const canvasP,
 
 
 
-/* a stupid shell sort - I'm so embarassed  */
+/* a stupid shell sort - I'm so embarrassed  */
 
 static void 
 poly_sort(int const sort_index, struct Point points[]) {
diff --git a/converter/ppm/ppmtoilbm.c b/converter/ppm/ppmtoilbm.c
index 5de167dc..69784b37 100644
--- a/converter/ppm/ppmtoilbm.c
+++ b/converter/ppm/ppmtoilbm.c
@@ -1406,13 +1406,13 @@ void ppm_to_pchg()
 /*
     read first slice
     build a colormap from this slice
-    select upto <maxcolors> colors
+    select up to <maxcolors> colors
     build colormap from selected colors
     map slice to colormap
     write slice
     while( !finished ) {
         read next slice
-        compute distances for each pixel and select upto
+        compute distances for each pixel and select up to
             <maxchangesperslice> unused colors in this slice
         modify selected colors to the ones with maximum(?) distance
         map slice to colormap
diff --git a/converter/ppm/ppmtompeg/BUGS b/converter/ppm/ppmtompeg/BUGS
index 64269dfb..9724014e 100644
--- a/converter/ppm/ppmtompeg/BUGS
+++ b/converter/ppm/ppmtompeg/BUGS
@@ -14,7 +14,7 @@ Known BUGS:
      REFERENCE_FRAME	DECODED
    does not work
 
-5. Cannot use both STDIN and CDL_FILEs (ok, since it doesnt make sense...)
+5. Cannot use both STDIN and CDL_FILEs (ok, since it doesn't make sense...)
 
 6. <fixed>
 
diff --git a/converter/ppm/ppmtompeg/CHANGES b/converter/ppm/ppmtompeg/CHANGES
index fffa7a65..efb8fdcf 100644
--- a/converter/ppm/ppmtompeg/CHANGES
+++ b/converter/ppm/ppmtompeg/CHANGES
@@ -28,7 +28,7 @@ Changes chronology
 	- non-integer frame rates now work for all machines
 	- fixed parsing of -mv_histogram
 	- fixed numPadding bug (file name problem)
-	- fixed full pixel assertation bug
+	- fixed full pixel assertion bug
         - corrected ASPECT_RATIO bug (was forced to 1)
 	- buffer size is now set correctly
         - complains when file is too small
diff --git a/converter/ppm/ppmtompeg/bitio.c b/converter/ppm/ppmtompeg/bitio.c
index e0dc4d4e..e02fe985 100644
--- a/converter/ppm/ppmtompeg/bitio.c
+++ b/converter/ppm/ppmtompeg/bitio.c
@@ -245,7 +245,7 @@ Bitio_Write(BitBucket * const bbPtr,
 
     /*
      * Clear top bits if not part of data, necessary due to down and
-     * dirty calls of Bitio_Write with unecessary top bits set.
+     * dirty calls of Bitio_Write with unnecessary top bits set.
      */
 
     bits &= lower_mask[nbits];
diff --git a/converter/ppm/ppmtompeg/bsearch.c b/converter/ppm/ppmtompeg/bsearch.c
index 70edfef6..db34d95b 100644
--- a/converter/ppm/ppmtompeg/bsearch.c
+++ b/converter/ppm/ppmtompeg/bsearch.c
@@ -43,7 +43,7 @@
  * Changed copyrights
  *
  * Revision 1.6  1994/12/07  00:40:36  smoot
- * Added seperate P and B search ranges
+ * Added separate P and B search ranges
  *
  * Revision 1.5  1994/03/15  00:27:11  keving
  * nothing
diff --git a/converter/ppm/ppmtompeg/docs/template.param b/converter/ppm/ppmtompeg/docs/template.param
index 66b6dd98..78ad5300 100644
--- a/converter/ppm/ppmtompeg/docs/template.param
+++ b/converter/ppm/ppmtompeg/docs/template.param
@@ -18,7 +18,7 @@
 # files in the order in which they must appear, followed by 'END_INPUT'
 #
 # Also, if you use the `command` method of generating input file names,
-# the command will only be executed in the INPUT_DIR if INPUT_DIR preceeds
+# the command will only be executed in the INPUT_DIR if INPUT_DIR precedes
 # the INPUT parameter.
 #
 # <option> MUST be in UPPER CASE
diff --git a/converter/ppm/ppmtompeg/examples/template.param b/converter/ppm/ppmtompeg/examples/template.param
index 66b6dd98..78ad5300 100644
--- a/converter/ppm/ppmtompeg/examples/template.param
+++ b/converter/ppm/ppmtompeg/examples/template.param
@@ -18,7 +18,7 @@
 # files in the order in which they must appear, followed by 'END_INPUT'
 #
 # Also, if you use the `command` method of generating input file names,
-# the command will only be executed in the INPUT_DIR if INPUT_DIR preceeds
+# the command will only be executed in the INPUT_DIR if INPUT_DIR precedes
 # the INPUT parameter.
 #
 # <option> MUST be in UPPER CASE
diff --git a/converter/ppm/ppmtompeg/headers/all.h b/converter/ppm/ppmtompeg/headers/all.h
index e350aab8..5c559528 100644
--- a/converter/ppm/ppmtompeg/headers/all.h
+++ b/converter/ppm/ppmtompeg/headers/all.h
@@ -33,7 +33,7 @@
  * added little_endian force for irizx
  *
  * Revision 1.8  1995/02/02  22:02:18  smoot
- * added ifdefs for compatability on stranger and stranger architectures...
+ * added ifdefs for compatibility on stranger and stranger architectures...
  *
  * Revision 1.7  1995/02/02  07:26:45  eyhung
  * added parens to all.h to remove compiler warning
diff --git a/converter/ppm/ppmtompeg/headers/motion_search.h b/converter/ppm/ppmtompeg/headers/motion_search.h
index 62f3abab..117b914a 100644
--- a/converter/ppm/ppmtompeg/headers/motion_search.h
+++ b/converter/ppm/ppmtompeg/headers/motion_search.h
@@ -140,7 +140,7 @@ extern int psearchAlg;
  *  Changed copyrights
  *
  * Revision 1.4  1994/12/07  00:42:01  smoot
- * Added seperate P and B search ranges
+ * Added separate P and B search ranges
  *
  * Revision 1.3  1994/11/12  02:12:58  keving
  * nothing
diff --git a/converter/ppm/ppmtompeg/headers/rate.h b/converter/ppm/ppmtompeg/headers/rate.h
index df5ca1cc..8d691174 100644
--- a/converter/ppm/ppmtompeg/headers/rate.h
+++ b/converter/ppm/ppmtompeg/headers/rate.h
@@ -64,7 +64,7 @@ targetRateControl(MpegFrame * const frameP);
  * MB_RateOut
  *
  *      Prints out sampling of MB rate control data.  Every "nth" block
- *	stats are printed, with "n" controled by global RC_MB_SAMPLE_RATE
+ *	stats are printed, with "n" controlled by global RC_MB_SAMPLE_RATE
  *
  * RETURNS:     nothing
  *===========================================================================*/
diff --git a/converter/ppm/ppmtompeg/jpeg.c b/converter/ppm/ppmtompeg/jpeg.c
index 2567666d..990317a2 100644
--- a/converter/ppm/ppmtompeg/jpeg.c
+++ b/converter/ppm/ppmtompeg/jpeg.c
@@ -101,7 +101,7 @@ JMovie2JPEG(const char * const infilename,
     char ofname[256];     /* output filename string */
     int Temp = 0, temp = 0;   /* dummy variables */
     int image_offset = 0;     /* counting variable */
-    /* J_Movie header infomation */
+    /* J_Movie header information */
     int ver_no;           /* version number - expected to be 2 */
     int fps;              /* frame rate - frames per second */
     int no_frames;        /* total number of frames in jmovie */
@@ -500,7 +500,7 @@ ReadJPEG(MpegFrame * const mf,
 
         (void) jpeg_read_raw_data(&cinfo, scanarray, buffer_height);
 
-        /* alter subsample ratio's if neccessary */
+        /* alter subsample ratio's if necessary */
         if ((h_samp[0]==2) && (h_samp[1]==1) && (h_samp[2]==1) &&
             (v_samp[0]==2) && (v_samp[1]==1) && (v_samp[2]==1)) {
             /* we are 4:1:1 as expected by the encoder*/
diff --git a/converter/ppm/ppmtompeg/opts.c b/converter/ppm/ppmtompeg/opts.c
index c4d0c0b3..5b92d829 100644
--- a/converter/ppm/ppmtompeg/opts.c
+++ b/converter/ppm/ppmtompeg/opts.c
@@ -255,7 +255,7 @@ SetupLocalDCT(const char * const charPtr)
  *
  * SetupLaplace
  *
- *     Setup encoder to find distrubution for I-frames, and use for -snr
+ *     Setup encoder to find distribution for I-frames, and use for -snr
  *
  * RETURNS:	nothing
  *
diff --git a/converter/ppm/ppmtompeg/psearch.c b/converter/ppm/ppmtompeg/psearch.c
index 83c62d04..3cca1241 100644
--- a/converter/ppm/ppmtompeg/psearch.c
+++ b/converter/ppm/ppmtompeg/psearch.c
@@ -962,7 +962,7 @@ ShowBFMVHistogram(fpointer)
  * Changed copyrights
  *
  * Revision 1.8  1994/12/07  00:40:36  smoot
- * Added seperate P and B search ranges
+ * Added separate P and B search ranges
  *
  * Revision 1.7  1994/11/12  02:09:45  eyhung
  * full pixel bug
diff --git a/converter/ppm/ppmtompeg/rate.c b/converter/ppm/ppmtompeg/rate.c
index 0f1bcac1..d92afb64 100644
--- a/converter/ppm/ppmtompeg/rate.c
+++ b/converter/ppm/ppmtompeg/rate.c
@@ -595,7 +595,7 @@ updateRateControl(int const type) {
  * MB_RateOut
  *
  *      Prints out sampling of MB rate control data.  Every "nth" block
- *	stats are printed, with "n" controled by global RC_MB_SAMPLE_RATE
+ *	stats are printed, with "n" controlled by global RC_MB_SAMPLE_RATE
  *	(NB. "skipped" blocks do not go through this function and thus do not
  *		show up in the sample )
  *
diff --git a/converter/ppm/ppmtompeg/specifics.c b/converter/ppm/ppmtompeg/specifics.c
index 38e8fc43..d2093e7f 100644
--- a/converter/ppm/ppmtompeg/specifics.c
+++ b/converter/ppm/ppmtompeg/specifics.c
@@ -91,7 +91,7 @@ version N
   Specify the version of the specifics file format (this is 1)
 frame N T M
   Sets frame number N to type T and Qscale M
-  (type T is I,B,P,other, other means unspec.  I recomend - )
+  (type T is I,B,P,other, other means unspec.  I recommend - )
 slice M Q
   Sets slice M (in frame N as defined by a previous frame command)
   to qscale Q
@@ -559,7 +559,7 @@ int start_qs;
       } else {
 	/* if not next, check from the start.
 	   (this allows people to put frames out of order,even
-	   though the spec doesnt allow it.) */
+	   though the spec doesn't allow it.) */
 	tmp = fsl;
 	found_it = FALSE;
 	while (tmp != (FrameSpecList *) NULL) {
diff --git a/converter/ppm/ppmtowinicon.c b/converter/ppm/ppmtowinicon.c
index faa6a5ac..836c55d8 100644
--- a/converter/ppm/ppmtowinicon.c
+++ b/converter/ppm/ppmtowinicon.c
@@ -675,7 +675,7 @@ addEntryToIcon(MS_Ico       const MSIconData,
     * All the icons I found seemed to pad the palette to the max entries
     * for that bitdepth.
     * 
-    * The spec indicates this isn't neccessary, but I'll follow this behaviour
+    * The spec indicates this isn't necessary, but I'll follow this behaviour
     * just in case.
     */
     if (colors < 3) {
diff --git a/converter/ppm/xim.h b/converter/ppm/xim.h
index ffe60fb6..27556b30 100644
--- a/converter/ppm/xim.h
+++ b/converter/ppm/xim.h
@@ -112,7 +112,7 @@ typedef struct XimAsciiHeader {
 /* Note:
 * - All data is in char's in order to maintain easily portability
 *   across machines, and some human readibility.
-* - Images may be stored as pixmaps (8 bits/pixel) or as seperate
+* - Images may be stored as pixmaps (8 bits/pixel) or as separate
 *   red, green, blue channel data (24+ bits/pixel).
 * - An alpha channel is optional and is found after every num_channels
 *   of data.
diff --git a/converter/ppm/ximtoppm.c b/converter/ppm/ximtoppm.c
index 92827dd3..ce5e6396 100644
--- a/converter/ppm/ximtoppm.c
+++ b/converter/ppm/ximtoppm.c
@@ -208,7 +208,7 @@ ReadImageChannel(FILE *         const infp,
             }
             marker += i;
         }
-        /* return to the begining of the next image's bufffer */
+        /* return to the beginning of the next image's bufffer */
         if (fseek(infp, marker, 0) == -1) {
             pm_message("ReadImageChannel: can't fseek to location in image buffer" );
             return(0);