Searched defs:pFIR (Results 1 - 2 of 2) sorted by relevance

/external/srec/audio/AudioIn/UNIX/src/
H A Dfilter.c81 FIR_struct *pFIR; local
86 pFIR = malloc(sizeof(FIR_struct));
87 if (pFIR == NULL)
92 pFIR->z = calloc(nTaps * sizeof(typeSample), 1);
93 if (pFIR->z == NULL)
95 free(pFIR);
99 pFIR->factor_up = factor_up;
100 pFIR->factor_down = factor_down;
102 pFIR->state = 0;
103 pFIR
124 FIR_deconstruct(FIR_struct *pFIR) argument
152 FIR_reset(FIR_struct *pFIR) argument
228 FIR_downsample(unsigned int nInput, typeSample *pInput, typeSample *pOutput, FIR_struct *pFIR) argument
[all...]
H A Daudioin.c159 static FIR_struct *pFIR = NULL; /* pointer to FIR structure */ variable
457 for ( x = 0, y = 0; x < iReadSamples; x += pFIR->factor_down )
459 FIR_downsample ( pFIR->factor_down, &( CodecBuffer[x] ), &( CodecBuffer[y++] ), pFIR );
654 for ( x = 0, y = 0; x < iReadSamples; x += pFIR->factor_down )
656 FIR_downsample ( pFIR->factor_down, &( CodecBuffer[x] ), &( CodecBuffer[y++] ), pFIR );
1007 pFIR = FIR_construct(filter_length, ps16FilterCoeff_up1_down4, u16ScaleFilterCoeff_up1_down4, FACTOR_UP, FACTOR_DOWN);
1008 if (pFIR == NULL)
1159 FIR_deconstruct(pFIR);
[all...]

Completed in 94 milliseconds