Home | History | Annotate | Download | only in ns
      1 /*
      2  *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 #include "webrtc/modules/audio_processing/ns/nsx_core.h"
     12 
     13 #include <stddef.h>
     14 
     15 // Define offset variables that will be compiled and abstracted to constant
     16 // defines, which will then only be used in ARM assembly code.
     17 int offset_nsx_anaLen = offsetof(NsxInst_t, anaLen);
     18 int offset_nsx_anaLen2 = offsetof(NsxInst_t, anaLen2);
     19 int offset_nsx_normData = offsetof(NsxInst_t, normData);
     20 int offset_nsx_analysisBuffer = offsetof(NsxInst_t, analysisBuffer);
     21 int offset_nsx_synthesisBuffer = offsetof(NsxInst_t, synthesisBuffer);
     22 int offset_nsx_blockLen10ms = offsetof(NsxInst_t, blockLen10ms);
     23 int offset_nsx_window = offsetof(NsxInst_t, window);
     24 int offset_nsx_real = offsetof(NsxInst_t, real);
     25 int offset_nsx_imag = offsetof(NsxInst_t, imag);
     26 int offset_nsx_noiseSupFilter = offsetof(NsxInst_t, noiseSupFilter);
     27 int offset_nsx_magnLen = offsetof(NsxInst_t, magnLen);
     28 int offset_nsx_noiseEstLogQuantile = offsetof(NsxInst_t, noiseEstLogQuantile);
     29 int offset_nsx_noiseEstQuantile = offsetof(NsxInst_t, noiseEstQuantile);
     30 int offset_nsx_qNoise = offsetof(NsxInst_t, qNoise);
     31 int offset_nsx_stages = offsetof(NsxInst_t, stages);
     32 int offset_nsx_blockIndex = offsetof(NsxInst_t, blockIndex);
     33 int offset_nsx_noiseEstCounter = offsetof(NsxInst_t, noiseEstCounter);
     34 int offset_nsx_noiseEstDensity = offsetof(NsxInst_t, noiseEstDensity);
     35