DSPRelated.com
Forums

Synthesis Filter in libmad

Started by Karthika January 24, 2007
HI all,
I am studying the libmad code for mp3 decoder and I
have a doubt in the file synth.h. I could not
understand the filter element of the structure
mad_synth.

It says...

struct mad_synth {
mad_fixed_t filter[2][2][2][16][8]; /* polyphase
filterbank outputs */
/*
[ch][eo][peo][s][v] */

unsigned int phase; /* current
processing phase */

struct mad_pcm pcm; /* PCM output
*/
};

I don't understand the meaning of the array indices
[ch][eo][peo][s][v]. I will be thankful if anybody can
help me with this.

Thanks and regards,
Karthika.