Source file: /~heha/hs/puh.zip/l3side.h

/*	Layer 3 side include file
 *	Copyright (c) 1999 Mark Taylor
 */

#pragma once

/* max scalefactor band, max(SBMAX_l, SBMAX_s*3, (SBMAX_s-3)*3+8) */
#define SFBMAX (SBMAX_s*3)

/* Layer III side information. */
struct scalefac_struct{
  int     l[1 + SBMAX_l];
  int     s[1 + SBMAX_s];
  int     psfb21[1 + PSFB21];
  int     psfb12[1 + PSFB12];
};


struct III_psy_xmin{
  FLOAT   l[SBMAX_l];
  FLOAT   s[SBMAX_s][3];
};

struct III_psy_ratio{
  III_psy_xmin thm;
  III_psy_xmin en;
};

struct gr_info{
  FLOAT   xr[576];
  int     l3_enc[576];
  int     scalefac[SFBMAX];
  FLOAT   xrpow_max;

  int     part2_3_length;
  int     big_values;
  int     count1;
  int     global_gain;
  int     scalefac_compress;
  int     block_type;
  int     mixed_block_flag;
  int     table_select[3];
  int     subblock_gain[3 + 1];
  int     region0_count;
  int     region1_count;
  int     preflag;
  int     scalefac_scale;
  int     count1table_select;

  int     part2_length;
  int     sfb_lmax;
  int     sfb_smin;
  int     psy_lmax;
  int     sfbmax;
  int     psymax;
  int     sfbdivide;
  int     width[SFBMAX];
  int     window[SFBMAX];
  int     count1bits;
    /* added for LSF */
  const int *sfb_partition_table;
  int     slen[4];

  int     max_nonzero_coeff;
  char    energy_above_cutoff[SFBMAX];
};

struct III_side_info_t{
  gr_info tt[2][2];
  int     main_data_begin;
  int     private_bits;
  int     resvDrain_pre;
  int     resvDrain_post;
  int     scfsi[2][4];
};
Detected encoding: ASCII (7 bit)2