[xiph-cvs] cvs commit: speex/libspeex lsp.c ltp.c ltp.h nb_celp.c nb_celp.h sb_celp.c speex.h speex_bits.h speex_callbacks.c speex_header.h
Jean-Marc Valin
jm at xiph.org
Wed Jan 22 23:29:40 PST 2003
jm 03/01/23 02:29:39
Modified: libspeex lsp.c ltp.c ltp.h nb_celp.c nb_celp.h sb_celp.c
speex.h speex_bits.h speex_callbacks.c
speex_header.h
Log:
Fixed a bunch of typos pointed to by: larry at doolittle.boa.org
Revision Changes Path
1.23 +5 -5 speex/libspeex/lsp.c
Index: lsp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/lsp.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- lsp.c 6 Jan 2003 05:56:56 -0000 1.22
+++ lsp.c 23 Jan 2003 07:29:39 -0000 1.23
@@ -63,7 +63,7 @@
AUTHOR......: David Rowe
DATE CREATED: 24/2/93
- This function evalutes a series of chebyshev polynomials
+ This function evaluates a series of Chebyshev polynomials
\*---------------------------------------------------------------------------*/
@@ -78,14 +78,14 @@
float *T,sum;
int m2=m>>1;
- /* Allocate memory for chebyshev series formulation */
+ /* Allocate memory for Chebyshev series formulation */
T=PUSH(stack, m2+1, float);
/* Initialise values */
T[0]=1;
T[1]=x;
- /* Evaluate chebyshev series formulation using iterative approach */
+ /* Evaluate Chebyshev series formulation using iterative approach */
/* Evaluate polynomial and return value also free memory space */
sum = coef[m2] + coef[m2-1]*x;
x *= 2;
@@ -136,7 +136,7 @@
int roots=0; /* DR 8/2/94: number of roots found */
flag = 1; /* program is searching for a root when,
1 else has found one */
- m = lpcrdr/2; /* order of P'(z) & Q'(z) polynimials */
+ m = lpcrdr/2; /* order of P'(z) & Q'(z) polynomials */
/* Allocate memory space for polynomials */
@@ -146,7 +146,7 @@
/* determine P'(z)'s and Q'(z)'s coefficients where
P'(z) = P(z)/(1 + z^(-1)) and Q'(z) = Q(z)/(1-z^(-1)) */
- px = P; /* initilaise ptrs */
+ px = P; /* initialise ptrs */
qx = Q;
p = px;
q = qx;
<p><p>1.71 +1 -1 speex/libspeex/ltp.c
Index: ltp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/ltp.c,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- ltp.c 15 Jan 2003 06:47:42 -0000 1.70
+++ ltp.c 23 Jan 2003 07:29:39 -0000 1.71
@@ -1,6 +1,6 @@
/* Copyright (C) 2002 Jean-Marc Valin
File: ltp.c
- Lont-Term Prediction functions
+ Long-Term Prediction functions
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
<p><p>1.32 +1 -1 speex/libspeex/ltp.h
Index: ltp.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/ltp.h,v
retrieving revision 1.31
retrieving revision 1.32
diff -u -r1.31 -r1.32
--- ltp.h 6 Jan 2003 05:56:56 -0000 1.31
+++ ltp.h 23 Jan 2003 07:29:39 -0000 1.32
@@ -1,6 +1,6 @@
/* Copyright (C) 2002 Jean-Marc Valin
File: ltp.h
- Lont-Term Prediction functions
+ Long-Term Prediction functions
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
<p><p>1.112 +2 -2 speex/libspeex/nb_celp.c
Index: nb_celp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/nb_celp.c,v
retrieving revision 1.111
retrieving revision 1.112
diff -u -r1.111 -r1.112
--- nb_celp.c 15 Jan 2003 07:20:39 -0000 1.111
+++ nb_celp.c 23 Jan 2003 07:29:39 -0000 1.112
@@ -114,7 +114,7 @@
st->innov = PUSH(st->stack, st->frameSize, float);
- /* Asymetric "pseudo-Hamming" window */
+ /* Asymmetric "pseudo-Hamming" window */
{
int part1, part2;
part1 = st->subframeSize*7/2;
@@ -1036,7 +1036,7 @@
return 0;
}
- /* Search for next narrwoband block (handle requests, skip wideband blocks) */
+ /* Search for next narrowband block (handle requests, skip wideband blocks) */
do {
wideband = speex_bits_unpack_unsigned(bits, 1);
if (wideband) /* Skip wideband block (for compatibility) */
<p><p>1.48 +3 -3 speex/libspeex/nb_celp.h
Index: nb_celp.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/nb_celp.h,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -r1.47 -r1.48
--- nb_celp.h 8 Jan 2003 21:58:59 -0000 1.47
+++ nb_celp.h 23 Jan 2003 07:29:39 -0000 1.48
@@ -44,7 +44,7 @@
/**Structure representing the full state of the narrowband encoder*/
typedef struct EncState {
- SpeexMode *mode; /**< Mode curresponding to the state */
+ SpeexMode *mode; /**< Mode corresponding to the state */
int first; /**< Is this the first frame? */
int frameSize; /**< Size of frames */
int subframeSize; /**< Size of sub-frames */
@@ -62,7 +62,7 @@
int *pitch;
float gamma1; /**< Perceptual filter: A(z/gamma1) */
float gamma2; /**< Perceptual filter: A(z/gamma2) */
- float lag_factor; /**< Lag windowing gaussian width */
+ float lag_factor; /**< Lag windowing Gaussian width */
float lpc_floor; /**< Noise floor multiplier for A[0] in LPC analysis*/
float preemph; /**< Pre-emphasis: P(z) = 1 - a*z^-1*/
float pre_mem; /**< 1-element memory for pre-emphasis */
@@ -120,7 +120,7 @@
/**Structure representing the full state of the narrowband decoder*/
typedef struct DecState {
- SpeexMode *mode; /**< Mode curresponding to the state */
+ SpeexMode *mode; /**< Mode corresponding to the state */
int first; /**< Is this the first frame? */
int count_lost; /**< Was the last frame lost? */
int frameSize; /**< Size of frames */
<p><p>1.117 +1 -1 speex/libspeex/sb_celp.c
Index: sb_celp.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/sb_celp.c,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- sb_celp.c 10 Jan 2003 07:27:54 -0000 1.116
+++ sb_celp.c 23 Jan 2003 07:29:39 -0000 1.117
@@ -173,7 +173,7 @@
st->res=PUSH(st->stack, st->frame_size, float);
st->sw=PUSH(st->stack, st->frame_size, float);
st->target=PUSH(st->stack, st->frame_size, float);
- /*Asymetric "pseudo-Hamming" window*/
+ /*Asymmetric "pseudo-Hamming" window*/
{
int part1, part2;
part1 = st->subframeSize*7/2;
<p><p>1.75 +3 -3 speex/libspeex/speex.h
Index: speex.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/speex.h,v
retrieving revision 1.74
retrieving revision 1.75
diff -u -r1.74 -r1.75
--- speex.h 8 Jan 2003 21:58:59 -0000 1.74
+++ speex.h 23 Jan 2003 07:29:39 -0000 1.75
@@ -235,7 +235,7 @@
/**
* Returns a handle to a newly created Speex encoder state structure. For now,
- * the "mode" arguent can be &nb_mode or &wb_mode . In the future, more modes
+ * the "mode" argument can be &nb_mode or &wb_mode . In the future, more modes
* may be added. Note that for now if you have more than one channels to
* encode, you need one state per channel.
*
@@ -267,7 +267,7 @@
/** Returns a handle to a newly created decoder state structure. For now,
- * the mode arguent can be &nb_mode or &wb_mode . In the future, more modes
+ * the mode argument can be &nb_mode or &wb_mode . In the future, more modes
* may be added. Note that for now if you have more than one channels to
* decode, you need one state per channel.
*
@@ -320,7 +320,7 @@
/** Default "ultra-wideband" mode */
extern SpeexMode speex_uwb_mode;
-/** List of all modes availavle */
+/** List of all modes available */
extern SpeexMode *speex_mode_list[SPEEX_NB_MODES];
#ifdef __cplusplus
<p><p>1.19 +1 -1 speex/libspeex/speex_bits.h
Index: speex_bits.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/speex_bits.h,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- speex_bits.h 8 Jan 2003 21:58:59 -0000 1.18
+++ speex_bits.h 23 Jan 2003 07:29:39 -0000 1.19
@@ -60,7 +60,7 @@
/** Initializes SpeexBits struct using a pre-allocated buffer*/
void speex_bits_init_buffer(SpeexBits *bits, void *buff, int buf_size);
-/** Frees all resources assiociated to a SpeexBits struct. Right now this does nothing since no resources are allocated, but this could change in the future.*/
+/** Frees all resources associated to a SpeexBits struct. Right now this does nothing since no resources are allocated, but this could change in the future.*/
void speex_bits_destroy(SpeexBits *bits);
/** Resets bits to initial value (just after initialization, erasing content)*/
<p><p>1.7 +1 -1 speex/libspeex/speex_callbacks.c
Index: speex_callbacks.c
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/speex_callbacks.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- speex_callbacks.c 6 Jan 2003 04:18:12 -0000 1.6
+++ speex_callbacks.c 23 Jan 2003 07:29:39 -0000 1.7
@@ -47,7 +47,7 @@
{
return callback->func(bits, state, callback->data);
} else
- /*If callback is not registered, skip the right numbr of bits*/
+ /*If callback is not registered, skip the right number of bits*/
{
int adv;
if (id<2)
<p><p>1.15 +1 -1 speex/libspeex/speex_header.h
Index: speex_header.h
===================================================================
RCS file: /usr/local/cvsroot/speex/libspeex/speex_header.h,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- speex_header.h 13 Jan 2003 22:29:41 -0000 1.14
+++ speex_header.h 23 Jan 2003 07:29:39 -0000 1.15
@@ -60,7 +60,7 @@
int frame_size; /**< Size of frames */
int vbr; /**< 1 for a VBR encoding, 0 otherwise */
int frames_per_packet; /**< Number of frames stored per Ogg packet */
- int extra_headers; /**< Number of additionnal headers after the comments */
+ int extra_headers; /**< Number of additional headers after the comments */
int reserved1; /**< Reserved for future use, must be zero */
int reserved2; /**< Reserved for future use, must be zero */
} SpeexHeader;
<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
More information about the commits
mailing list