/* * Copyright (c) 2012 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. */ #include "common_audio/signal_processing/include/signal_processing_library.h" /* Tables for data buffer indexes that are bit reversed and thus need to be * swapped. Note that, index_7[{0, 2, 4, ...}] are for the left side of the swap * operations, while index_7[{1, 3, 5, ...}] are for the right side of the * operation. Same for index_8. */ /* Indexes for the case of stages == 7. */ static const int16_t index_7[112] = …; /* Indexes for the case of stages == 8. */ static const int16_t index_8[240] = …; void WebRtcSpl_ComplexBitReverse(int16_t* __restrict complex_data, int stages) { … }