Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1814)

Unified Diff: third_party/opus/src/silk/macros.h

Issue 2962373002: [Opus] Update to v1.2.1 (Closed)
Patch Set: Pre-increment instead of post-increment Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/opus/src/silk/lin2log.c ('k') | third_party/opus/src/silk/main.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/opus/src/silk/macros.h
diff --git a/third_party/opus/src/silk/macros.h b/third_party/opus/src/silk/macros.h
index d3ca34752004506b6fd6ae4bdd88b7864af68072..3c67b6e5d97c366f9841e2ba9bdeefbfbfeb20ec 100644
--- a/third_party/opus/src/silk/macros.h
+++ b/third_party/opus/src/silk/macros.h
@@ -36,14 +36,6 @@ POSSIBILITY OF SUCH DAMAGE.
#include "opus_defines.h"
#include "arch.h"
-#if OPUS_GNUC_PREREQ(3, 0)
-#define opus_likely(x) (__builtin_expect(!!(x), 1))
-#define opus_unlikely(x) (__builtin_expect(!!(x), 0))
-#else
-#define opus_likely(x) (!!(x))
-#define opus_unlikely(x) (!!(x))
-#endif
-
/* This is an OPUS_INLINE header file for general platform. */
/* (a32 * (opus_int32)((opus_int16)(b32))) >> 16 output have to be 32bit int */
« no previous file with comments | « third_party/opus/src/silk/lin2log.c ('k') | third_party/opus/src/silk/main.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698