SAF
Loading...
Searching...
No Matches
safmex_latticeDecorrelator.c File Reference

MEX wrapper for latticeDecorrelator (see the .m file of the same name for documentation) More...

#include "safmex.h"

Go to the source code of this file.

Macros

#define NUM_INPUT_ARGS_CREATE   ( 8 )
 
#define NUM_INPUT_ARGS_APPLY   ( 1 )
 
#define NUM_OUTPUT_ARGS_APPLY   ( 1 )
 

Functions

void mexFunction (int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[])
 

Variables

const MEX_DATA_TYPES inputDataTypes_create [NUM_INPUT_ARGS_CREATE]
 
const MEX_DATA_TYPES inputDataTypes_apply [NUM_INPUT_ARGS_APPLY]
 
const MEX_DATA_TYPES outputDataTypes_apply [NUM_OUTPUT_ARGS_APPLY]
 
float fs
 
int hopsize
 
int nCH
 
int * orders = NULL
 
float * freqCutoffs = NULL
 
int maxDelay
 
float * freqVector = NULL
 
int nTimeSlots
 
void * hDecor = NULL
 
int nBands
 
int nCutoffs
 
float_complex *** dataFD_in = NULL
 
float_complex *** dataFD_out = NULL
 
const int nSupportedOrders = 12
 
const int supportedOrders [12] = {2,3,4,6,8,10,12,14,15,16,18,20}
 

Detailed Description

MEX wrapper for latticeDecorrelator (see the .m file of the same name for documentation)

Author
Leo McCormack
Date
06.08.2020

Definition in file safmex_latticeDecorrelator.c.

Macro Definition Documentation

◆ NUM_INPUT_ARGS_APPLY

#define NUM_INPUT_ARGS_APPLY   ( 1 )

Definition at line 42 of file safmex_latticeDecorrelator.c.

◆ NUM_INPUT_ARGS_CREATE

#define NUM_INPUT_ARGS_CREATE   ( 8 )

Definition at line 31 of file safmex_latticeDecorrelator.c.

◆ NUM_OUTPUT_ARGS_APPLY

#define NUM_OUTPUT_ARGS_APPLY   ( 1 )

Definition at line 43 of file safmex_latticeDecorrelator.c.

Function Documentation

◆ mexFunction()

void mexFunction ( int nlhs,
mxArray * plhs[],
int nrhs,
const mxArray * prhs[] )

Definition at line 83 of file safmex_latticeDecorrelator.c.

Variable Documentation

◆ dataFD_in

float_complex*** dataFD_in = NULL

Definition at line 72 of file safmex_latticeDecorrelator.c.

◆ dataFD_out

float_complex*** dataFD_out = NULL

Definition at line 73 of file safmex_latticeDecorrelator.c.

◆ freqCutoffs

float* freqCutoffs = NULL

Definition at line 62 of file safmex_latticeDecorrelator.c.

◆ freqVector

float* freqVector = NULL

Definition at line 65 of file safmex_latticeDecorrelator.c.

◆ fs

float fs

Definition at line 57 of file safmex_latticeDecorrelator.c.

◆ hDecor

void* hDecor = NULL

Definition at line 69 of file safmex_latticeDecorrelator.c.

◆ hopsize

int hopsize

Definition at line 58 of file safmex_latticeDecorrelator.c.

◆ inputDataTypes_apply

const MEX_DATA_TYPES inputDataTypes_apply[NUM_INPUT_ARGS_APPLY]
Initial value:
= {
}
@ SM_DOUBLE_COMPLEX_3D
Complex 3-D matrix; N x M x K.
Definition safmex.h:46

Definition at line 44 of file safmex_latticeDecorrelator.c.

◆ inputDataTypes_create

const MEX_DATA_TYPES inputDataTypes_create[NUM_INPUT_ARGS_CREATE]
Initial value:
= {
}
@ SM_DOUBLE_REAL
Scalar, real valued; 1 x 1.
Definition safmex.h:37
@ SM_INT32
Integer; 1 x 1.
Definition safmex.h:34
@ SM_DOUBLE_REAL_1D
Real 1-D vector; N x 1.
Definition safmex.h:39

Definition at line 32 of file safmex_latticeDecorrelator.c.

◆ maxDelay

int maxDelay

Definition at line 64 of file safmex_latticeDecorrelator.c.

◆ nBands

int nBands

Definition at line 70 of file safmex_latticeDecorrelator.c.

◆ nCH

int nCH

Definition at line 59 of file safmex_latticeDecorrelator.c.

◆ nCutoffs

int nCutoffs

Definition at line 71 of file safmex_latticeDecorrelator.c.

◆ nSupportedOrders

const int nSupportedOrders = 12

Definition at line 75 of file safmex_latticeDecorrelator.c.

◆ nTimeSlots

int nTimeSlots

Definition at line 66 of file safmex_latticeDecorrelator.c.

◆ orders

int* orders = NULL

Definition at line 60 of file safmex_latticeDecorrelator.c.

◆ outputDataTypes_apply

const MEX_DATA_TYPES outputDataTypes_apply[NUM_OUTPUT_ARGS_APPLY]
Initial value:

Definition at line 47 of file safmex_latticeDecorrelator.c.

◆ supportedOrders

const int supportedOrders[12] = {2,3,4,6,8,10,12,14,15,16,18,20}

Definition at line 76 of file safmex_latticeDecorrelator.c.