aboutsummaryrefslogtreecommitdiff
path: root/celt
diff options
context:
space:
mode:
authorHaibo Huang <hhb@google.com>2021-01-05 21:33:48 -0800
committerHaibo Huang <hhb@google.com>2021-01-05 21:33:48 -0800
commite135dd4b8a92fa36c255e32a053492acb6583d18 (patch)
tree16d989b11e29eb0ee847d32be7fc439ee63fa435 /celt
parent219eca9037839b5ca093abe570472b5dc80d31e4 (diff)
parent794392ecd77e6fc6aafa62c3f6002780abcc2c7c (diff)
downloadlibopus-e135dd4b8a92fa36c255e32a053492acb6583d18.tar.gz
Upgrade libopus to 794392ecd77e6fc6aafa62c3f6002780abcc2c7c
Test: make Change-Id: I3e5232d6c6d250c69abfa71482ac91e30c1933b6
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 */