home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Sound / LAME / Source / l3bitstream.h < prev    next >
C/C++ Source or Header  |  1997-01-22  |  1KB  |  37 lines

  1. /**********************************************************************
  2.  * ISO MPEG Audio Subgroup Software Simulation Group (1996)
  3.  * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
  4.  *
  5.  * $Id: l3bitstream.h,v 1.1 1996/02/14 04:04:23 rowlands Exp $
  6.  *
  7.  * $Log: l3bitstream.h,v $
  8.  * Revision 1.1  1996/02/14 04:04:23  rowlands
  9.  * Initial revision
  10.  *
  11.  * Received from Mike Coleman
  12.  **********************************************************************/
  13.  
  14. #ifndef L3_BITSTREAM_H
  15. #define L3_BITSTREAM_H
  16.  
  17. #include "common.h"
  18. #include "encoder.h"
  19.  
  20. void III_format_bitstream( int              bitsPerFrame,
  21.                frame_params     *in_fr_ps,
  22.                int              l3_enc[2][2][576],
  23.                            III_side_info_t  *l3_side,
  24.                III_scalefac_t   *scalefac,
  25.                Bit_stream_struc *in_bs,
  26.                double           (*xr)[2][576],
  27.                char             *ancillary,
  28.                int              anc_bits );
  29.  
  30. int HuffmanCode( int table_select, int x, int y, unsigned *code, unsigned int *extword, int *codebits, int *extbits );
  31. void III_FlushBitstream();
  32.  
  33. int abs_and_sign( int *x ); /* returns signx and changes *x to abs(*x) */
  34.  
  35.  
  36. #endif
  37.