chromium/third_party/webrtc/modules/audio_processing/utility/pffft_wrapper.cc

/*
 *  Copyright (c) 2019 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 "modules/audio_processing/utility/pffft_wrapper.h"

#include "rtc_base/checks.h"
#include "third_party/pffft/src/pffft.h"

namespace webrtc {
namespace {

size_t GetBufferSize(size_t fft_size, Pffft::FftType fft_type) {}

float* AllocatePffftBuffer(size_t size) {}

}  // namespace

Pffft::FloatBuffer::FloatBuffer(size_t fft_size, FftType fft_type)
    :{}

Pffft::FloatBuffer::~FloatBuffer() {}

rtc::ArrayView<const float> Pffft::FloatBuffer::GetConstView() const {}

rtc::ArrayView<float> Pffft::FloatBuffer::GetView() {}

Pffft::Pffft(size_t fft_size, FftType fft_type)
    :{}

Pffft::~Pffft() {}

bool Pffft::IsValidFftSize(size_t fft_size, FftType fft_type) {}

bool Pffft::IsSimdEnabled() {}

std::unique_ptr<Pffft::FloatBuffer> Pffft::CreateBuffer() const {}

void Pffft::ForwardTransform(const FloatBuffer& in,
                             FloatBuffer* out,
                             bool ordered) {}

void Pffft::BackwardTransform(const FloatBuffer& in,
                              FloatBuffer* out,
                              bool ordered) {}

void Pffft::FrequencyDomainConvolve(const FloatBuffer& fft_x,
                                    const FloatBuffer& fft_y,
                                    FloatBuffer* out,
                                    float scaling) {}

}  // namespace webrtc