net.sourceforge.jaad.aac.gain.IPQF Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jcodec Show documentation
Show all versions of jcodec Show documentation
Pure Java implementation of video/audio codecs and formats
package net.sourceforge.jaad.aac.gain;
/**
* This class is part of JAAD ( jaadec.sourceforge.net ) that is distributed
* under the Public Domain license. Code changes provided by the JCodec project
* are distributed under FreeBSD license.
*
* @author in-somnia
*/
//inverse polyphase quadrature filter
class IPQF implements GCConstants, PQFTables {
private final float[] buf;
private final float[][] tmp1, tmp2;
IPQF() {
buf = new float[BANDS];
tmp1 = new float[BANDS/2][NPQFTAPS/BANDS];
tmp2 = new float[BANDS/2][NPQFTAPS/BANDS];
}
void process(float[][] _in, int frameLen, int maxBand, float[] out) {
int i, j;
for(i = 0; i