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

Unified Diff: third_party/openmax_dl/dl/sp/src/test/gensig.h

Issue 12317152: Add openmax dl routines for review. MUST NOT BE LANDED (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 9 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
Index: third_party/openmax_dl/dl/sp/src/test/gensig.h
diff --git a/third_party/openmax_dl/dl/sp/src/test/gensig.h b/third_party/openmax_dl/dl/sp/src/test/gensig.h
new file mode 100644
index 0000000000000000000000000000000000000000..f650f415f14077a3412ef8c609e53ebb0d7be05e
--- /dev/null
+++ b/third_party/openmax_dl/dl/sp/src/test/gensig.h
@@ -0,0 +1,35 @@
+/*
+ * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
+
+#ifndef WEBRTC_ARM_FFT_TEST_GENSIG_H_
+#define WEBRTC_ARM_FFT_TEST_GENSIG_H_
+
+struct ComplexFloat {
+ float Re;
+ float Im;
+};
+
+/*
+ * Returns the max allowed signal type, depending on whether the test
+ * signal is real or not
+ */
+int MaxSignalType(int real_only);
+
+/*
+ * Generate a test signal and corresponding FFT.
+ */
+void GenerateTestSignalAndFFT(struct ComplexFloat* x,
+ struct ComplexFloat* fft,
+ int size,
+ int signal_type,
+ float signal_value,
+ int real_only);
+
+#endif

Powered by Google App Engine
This is Rietveld 408576698