src/main/java/net/sourceforge/jaad/aac/ps/PS.java
private void huff_data(IBitStream ld, boolean dt, int nr_par,
		int[][] t_huff, int[][] f_huff, int[] par) throws AACException {
		int n;

		if(dt) {
			/* coded in time direction */
			for(n = 0; n<nr_par; n++) {
				par[n] = ps_huff_dec(ld, t_huff);
			}
		}
		else {
			/* coded in frequency direction */
			par[0] = ps_huff_dec(ld, f_huff);

			for(n = 1; n<nr_par; n++) {
				par[n] = ps_huff_dec(ld, f_huff);
			}
		}
	}
private void huff_data(IBitStream ld, boolean dt, int nr_par,
		int[][] t_huff, int[][] f_huff, int[] par) throws AACException {
		int n;

		if(dt) {
			/* coded in time direction */
			for(n = 0; n<nr_par; n++) {
				par[n] = ps_huff_dec(ld, t_huff);
			}
		}
		else {
			/* coded in frequency direction */
			par[0] = ps_huff_dec(ld, f_huff);

			for(n = 1; n<nr_par; n++) {
				par[n] = ps_huff_dec(ld, f_huff);
			}
		}
	}
private void huff_data ( IBitStream ld , boolean dt , int nr_par , int [ ] [ ] t_huff , int [ ] [ ] f_huff , int [ ] par ) throws AACException { int n ; if ( dt ) { /* coded in time direction */ for ( n = 0 ; n < nr_par ; n ++ ) { par [ n ] = ps_huff_dec ( ld , t_huff ) ; } } else { /* coded in frequency direction */ par [ 0 ] = ps_huff_dec ( ld , f_huff ) ; for ( n = 1 ; n < nr_par ; n ++ ) { par [ n ] = ps_huff_dec ( ld , f_huff ) ; } } }
/* read huffman data coded in either the frequency or the time direction
/ * read huffman data coded in either the frequency or the time direction