chromium/third_party/webrtc/modules/audio_processing/aecm/aecm_defines.h

/*
 *  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.
 */

#ifndef MODULES_AUDIO_PROCESSING_AECM_AECM_DEFINES_H_
#define MODULES_AUDIO_PROCESSING_AECM_AECM_DEFINES_H_

#define AECM_DYNAMIC_Q

/* Algorithm parameters */
#define FRAME_LEN

#define PART_LEN
#define PART_LEN_SHIFT

#define PART_LEN1
#define PART_LEN2
#define PART_LEN4
#define FAR_BUF_LEN
#define MAX_DELAY

/* Counter parameters */
#define CONV_LEN
#define CONV_LEN2

/* Energy parameters */
#define MAX_BUF_LEN
#define FAR_ENERGY_MIN
                                  /* in energy. */
#define FAR_ENERGY_DIFF
                                  /* and min. */
#define ENERGY_DEV_OFFSET
#define ENERGY_DEV_TOL
#define FAR_ENERGY_VAD_REGION

/* Stepsize parameters */
#define MU_MIN
                  /* dependent). */
#define MU_MAX
                  /* dependent). */
#define MU_DIFF

/* Channel parameters */
#define MIN_MSE_COUNT
                         /* far end energy to compare channel estimates. */
#define MIN_MSE_DIFF
                         /* accept a new storage (0.8 in Q-MSE_RESOLUTION). */
#define MSE_RESOLUTION
#define RESOLUTION_CHANNEL16
#define RESOLUTION_CHANNEL32
#define CHANNEL_VAD
                                /* to update channel. */

/* Suppression gain parameters: SUPGAIN parameters in Q-(RESOLUTION_SUPGAIN). */
#define RESOLUTION_SUPGAIN
#define SUPGAIN_DEFAULT
#define SUPGAIN_ERROR_PARAM_A
                                              /* (Maximum gain) (8 in Q8). */
#define SUPGAIN_ERROR_PARAM_B
                                              /* (Gain before going down). */
#define SUPGAIN_ERROR_PARAM_D
/* (Should be the same as Default) (1 in Q8). */
#define SUPGAIN_EPC_DT

/* Defines for "check delay estimation" */
#define CORR_WIDTH
#define CORR_MAX
#define CORR_MAX_BUF
#define CORR_DEV
#define CORR_MAX_LEVEL
#define CORR_MAX_LOW
#define CORR_BUF_LEN
/* Note that CORR_WIDTH + 2*CORR_MAX <= MAX_BUF_LEN. */

#define ONE_Q14

/* NLP defines */
#define NLP_COMP_LOW
#define NLP_COMP_HIGH

#endif