chromium/third_party/libaom/source/libaom/aom_dsp/noise_util.c

/*
 * Copyright (c) 2017, Alliance for Open Media. All rights reserved.
 *
 * This source code is subject to the terms of the BSD 2 Clause License and
 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License
 * was not distributed with this source code in the LICENSE file, you can
 * obtain it at www.aomedia.org/license/software. If the Alliance for Open
 * Media Patent License 1.0 was not distributed with this source code in the
 * PATENTS file, you can obtain it at www.aomedia.org/license/patent.
 */

#include <math.h>

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "aom_dsp/noise_util.h"
#include "aom_dsp/fft_common.h"
#include "aom_mem/aom_mem.h"
#include "config/aom_dsp_rtcd.h"

float aom_noise_psd_get_default_value(int block_size, float factor) {}

// Internal representation of noise transform. It keeps track of the
// transformed data and a temporary working buffer to use during the
// transform.
struct aom_noise_tx_t {};

struct aom_noise_tx_t *aom_noise_tx_malloc(int block_size) {}

void aom_noise_tx_forward(struct aom_noise_tx_t *noise_tx, const float *data) {}

void aom_noise_tx_filter(struct aom_noise_tx_t *noise_tx, const float *psd) {}

void aom_noise_tx_inverse(struct aom_noise_tx_t *noise_tx, float *data) {}

void aom_noise_tx_add_energy(const struct aom_noise_tx_t *noise_tx,
                             float *psd) {}

void aom_noise_tx_free(struct aom_noise_tx_t *noise_tx) {}

double aom_normalized_cross_correlation(const double *a, const double *b,
                                        int n) {}

int aom_noise_data_validate(const double *data, int w, int h) {}