Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/celt
diff options
context:
space:
mode:
authorTim Gates <tim.gates@iress.com>2020-12-07 13:33:32 +0300
committerRalph Giles <giles@thaumas.net>2020-12-09 01:27:55 +0300
commita923218e9ba59231fe898f305b91076c32209667 (patch)
tree337c7ac8feb6ee5875e60d9fce75b3f4851ee1c1 /celt
parentd2f6805c3f36718a742c33c56eb945c2e10646ef (diff)
docs: fix simple typo, neareast -> nearest
There is a small typo in celt/fixed_generic.h. Should read `nearest` rather than `neareast`. Signed-off-by: Ralph Giles <giles@thaumas.net>
Diffstat (limited to 'celt')
-rw-r--r--celt/fixed_generic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/celt/fixed_generic.h b/celt/fixed_generic.h
index 5f4abda7..0ecbb899 100644
--- a/celt/fixed_generic.h
+++ b/celt/fixed_generic.h
@@ -102,9 +102,9 @@
#define SATURATE16(x) (EXTRACT16((x)>32767 ? 32767 : (x)<-32768 ? -32768 : (x)))
-/** Shift by a and round-to-neareast 32-bit value. Result is a 16-bit value */
+/** Shift by a and round-to-nearest 32-bit value. Result is a 16-bit value */
#define ROUND16(x,a) (EXTRACT16(PSHR32((x),(a))))
-/** Shift by a and round-to-neareast 32-bit value. Result is a saturated 16-bit value */
+/** Shift by a and round-to-nearest 32-bit value. Result is a saturated 16-bit value */
#define SROUND16(x,a) EXTRACT16(SATURATE(PSHR32(x,a), 32767));
/** Divide by two */