LCOV - code coverage report
Current view: top level - media/webrtc/trunk/webrtc/common_audio - real_fourier_ooura.h (source / functions) Hit Total Coverage
Test: output.info Lines: 0 3 0.0 %
Date: 2017-07-14 16:53:18 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /*
       2             :  *  Copyright (c) 2015 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             : #ifndef WEBRTC_COMMON_AUDIO_REAL_FOURIER_OOURA_H_
      12             : #define WEBRTC_COMMON_AUDIO_REAL_FOURIER_OOURA_H_
      13             : 
      14             : #include <complex>
      15             : #include <memory>
      16             : 
      17             : #include "webrtc/common_audio/real_fourier.h"
      18             : 
      19             : namespace webrtc {
      20             : 
      21           0 : class RealFourierOoura : public RealFourier {
      22             :  public:
      23             :   explicit RealFourierOoura(int fft_order);
      24             : 
      25             :   void Forward(const float* src, std::complex<float>* dest) const override;
      26             :   void Inverse(const std::complex<float>* src, float* dest) const override;
      27             : 
      28           0 :   int order() const override {
      29           0 :     return order_;
      30             :   }
      31             : 
      32             :  private:
      33             :   const int order_;
      34             :   const size_t length_;
      35             :   const size_t complex_length_;
      36             :   // These are work arrays for Ooura. The names are based on the comments in
      37             :   // fft4g.c.
      38             :   const std::unique_ptr<size_t[]> work_ip_;
      39             :   const std::unique_ptr<float[]> work_w_;
      40             : };
      41             : 
      42             : }  // namespace webrtc
      43             : 
      44             : #endif  // WEBRTC_COMMON_AUDIO_REAL_FOURIER_OOURA_H_
      45             : 

Generated by: LCOV version 1.13