shithub: opus

Download patch

ref: 27213ebf285ecb2187a57acedbd4f5d741afd225
parent: 68943fd97ae2c79b81ab9d0e6631bd28b5f8d043
author: Tristan Matthews <tmatth@videolan.org>
date: Fri Nov 8 06:14:47 EST 2024

celt: fix spelling

Signed-off-by: Jean-Marc Valin <jeanmarcv@google.com>

--- a/celt/arm/armcpu.c
+++ b/celt/arm/armcpu.c
@@ -241,7 +241,7 @@
 
 #else
 /* The feature registers which can tell us what the processor supports are
- * accessible in priveleged modes only, so we can't have a general user-space
+ * accessible in privileged modes only, so we can't have a general user-space
  * detection method like on x86.*/
 # error "Configured to use ARM asm but no CPU detection method available for " \
    "your platform.  Reconfigure with --disable-rtcd (or send patches)."
--- a/celt/arm/celt_pitch_xcorr_arm.s
+++ b/celt/arm/celt_pitch_xcorr_arm.s
@@ -78,7 +78,7 @@
   ;
   ; Load x[0...7]
   VLD1.16      {d6, d7}, [r4]!
-  ; Unlike VMOV, VAND is a data processsing instruction (and doesn't get
+  ; Unlike VMOV, VAND is a data processing instruction (and doesn't get
   ; assembled to VMOV, like VORR would), so it dual-issues with the prior VLD1.
   VAND         d3, d5, d5
   SUBS         r12, r12, #8
--- a/celt/celt_decoder.c
+++ b/celt/celt_decoder.c
@@ -953,7 +953,7 @@
       st->prefilter_and_fold = 1;
    }
 
-   /* Saturate to soemthing large to avoid wrap-around. */
+   /* Saturate to something large to avoid wrap-around. */
    st->loss_duration = IMIN(10000, loss_duration+(1<<LM));
 
    RESTORE_STACK;
--- a/celt/entcode.h
+++ b/celt/entcode.h
@@ -82,7 +82,7 @@
      In the encoder: the low end of the current range.*/
    opus_uint32    val;
    /*In the decoder: the saved normalization factor from ec_decode().
-     In the encoder: the number of oustanding carry propagating symbols.*/
+     In the encoder: the number of outstanding carry propagating symbols.*/
    opus_uint32    ext;
    /*A buffered input/output symbol, awaiting carry propagation.*/
    int            rem;
--- a/celt/entenc.h
+++ b/celt/entenc.h
@@ -35,7 +35,7 @@
   _size: The size of the buffer, in chars.*/
 void ec_enc_init(ec_enc *_this,unsigned char *_buf,opus_uint32 _size);
 /*Encodes a symbol given its frequency information.
-  The frequency information must be discernable by the decoder, assuming it
+  The frequency information must be discernible by the decoder, assuming it
    has read only the previous symbols from the stream.
   It is allowable to change the frequency information, or even the entire
    source alphabet, so long as the decoder can tell from the context of the
@@ -112,7 +112,7 @@
 void ec_enc_shrink(ec_enc *_this,opus_uint32 _size);
 
 /*Indicates that there are no more symbols to encode.
-  All reamining output bytes are flushed to the output buffer.
+  All remaining output bytes are flushed to the output buffer.
   ec_enc_init() must be called before the encoder can be used again.*/
 void ec_enc_done(ec_enc *_this);
 
--- a/celt/kiss_fft.c
+++ b/celt/kiss_fft.c
@@ -46,7 +46,7 @@
 #endif
 
 /* The guts header contains all the multiplication and addition macros that are defined for
-   complex numbers.  It also delares the kf_ internal functions.
+   complex numbers.  It also declares the kf_ internal functions.
 */
 
 static void kf_bfly2(
--