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

MEX wrapper for qmf (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   ( 7 )
 
#define NUM_INPUT_ARGS_FWD   ( 1 )
 
#define NUM_OUTPUT_ARGS_FWD   ( 1 )
 
#define NUM_INPUT_ARGS_BKWD   ( 1 )
 
#define NUM_OUTPUT_ARGS_BKWD   ( 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_fwd [NUM_INPUT_ARGS_FWD]
 
const MEX_DATA_TYPES inputDataTypes_bkwd [NUM_INPUT_ARGS_BKWD]
 
const MEX_DATA_TYPES outputDataTypes_fwd [NUM_OUTPUT_ARGS_FWD]
 
const MEX_DATA_TYPES outputDataTypes_bkwd [NUM_OUTPUT_ARGS_BKWD]
 
int nCHin
 
int nCHout
 
int hopsize
 
int blocksize
 
int hybridmode
 
int formatFlag
 
float fs
 
void * hQMF = NULL
 
QMF_FDDATA_FORMAT format
 
float * freqVector = NULL
 
int nBands
 
int procDelay
 
int timeSlots
 
float ** dataTD_in = NULL
 
float ** dataTD_out = NULL
 
float_complex *** dataFD_in = NULL
 
float_complex *** dataFD_out = NULL
 

Detailed Description

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

Author
Leo McCormack
Date
28.08.2020

Definition in file safmex_qmf.c.

Macro Definition Documentation

◆ NUM_INPUT_ARGS_BKWD

#define NUM_INPUT_ARGS_BKWD   ( 1 )

Definition at line 43 of file safmex_qmf.c.

◆ NUM_INPUT_ARGS_CREATE

#define NUM_INPUT_ARGS_CREATE   ( 7 )

Definition at line 31 of file safmex_qmf.c.

◆ NUM_INPUT_ARGS_FWD

#define NUM_INPUT_ARGS_FWD   ( 1 )

Definition at line 41 of file safmex_qmf.c.

◆ NUM_OUTPUT_ARGS_BKWD

#define NUM_OUTPUT_ARGS_BKWD   ( 1 )

Definition at line 44 of file safmex_qmf.c.

◆ NUM_OUTPUT_ARGS_FWD

#define NUM_OUTPUT_ARGS_FWD   ( 1 )

Definition at line 42 of file safmex_qmf.c.

Function Documentation

◆ mexFunction()

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

Definition at line 89 of file safmex_qmf.c.

Variable Documentation

◆ blocksize

int blocksize

Definition at line 67 of file safmex_qmf.c.

◆ dataFD_in

float_complex*** dataFD_in = NULL

Definition at line 81 of file safmex_qmf.c.

◆ dataFD_out

float_complex*** dataFD_out = NULL

Definition at line 82 of file safmex_qmf.c.

◆ dataTD_in

float** dataTD_in = NULL

Definition at line 79 of file safmex_qmf.c.

◆ dataTD_out

float** dataTD_out = NULL

Definition at line 80 of file safmex_qmf.c.

◆ format

Definition at line 74 of file safmex_qmf.c.

◆ formatFlag

int formatFlag

Definition at line 69 of file safmex_qmf.c.

◆ freqVector

float* freqVector = NULL

Definition at line 75 of file safmex_qmf.c.

◆ fs

float fs

Definition at line 70 of file safmex_qmf.c.

◆ hopsize

int hopsize

Definition at line 66 of file safmex_qmf.c.

◆ hQMF

void* hQMF = NULL

Definition at line 73 of file safmex_qmf.c.

◆ hybridmode

int hybridmode

Definition at line 68 of file safmex_qmf.c.

◆ inputDataTypes_bkwd

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

Definition at line 48 of file safmex_qmf.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

Definition at line 32 of file safmex_qmf.c.

◆ inputDataTypes_fwd

const MEX_DATA_TYPES inputDataTypes_fwd[NUM_INPUT_ARGS_FWD]
Initial value:
= {
}
@ SM_DOUBLE_REAL_1D_OR_2D
Real 2-D matrix or 1-D vector; N x M | N x 1.
Definition safmex.h:41

Definition at line 45 of file safmex_qmf.c.

◆ nBands

int nBands

Definition at line 76 of file safmex_qmf.c.

◆ nCHin

int nCHin

Definition at line 64 of file safmex_qmf.c.

◆ nCHout

int nCHout

Definition at line 65 of file safmex_qmf.c.

◆ outputDataTypes_bkwd

const MEX_DATA_TYPES outputDataTypes_bkwd[NUM_OUTPUT_ARGS_BKWD]
Initial value:

Definition at line 54 of file safmex_qmf.c.

◆ outputDataTypes_fwd

const MEX_DATA_TYPES outputDataTypes_fwd[NUM_OUTPUT_ARGS_FWD]
Initial value:

Definition at line 51 of file safmex_qmf.c.

◆ procDelay

int procDelay

Definition at line 77 of file safmex_qmf.c.

◆ timeSlots

int timeSlots

Definition at line 78 of file safmex_qmf.c.