$Id$ changes
[swftools.git] / lib / bladeenc / l3bitstream.h
1 /*
2                         (c) Copyright 1998, 1999 - Tord Jansson
3                         =======================================
4
5                 This file is part of the BladeEnc MP3 Encoder, based on
6                 ISO's reference code for MPEG Layer 3 compression, and might
7                 contain smaller or larger sections that are directly taken
8                 from ISO's reference code.
9
10                 All changes to the ISO reference code herein are either
11                 copyrighted by Tord Jansson (tord.jansson@swipnet.se)
12                 or sublicensed to Tord Jansson by a third party.
13
14         BladeEnc is free software; you can redistribute this file
15         and/or modify it under the terms of the GNU Lesser General Public
16         License as published by the Free Software Foundation; either
17         version 2.1 of the License, or (at your option) any later version.
18
19
20
21         ------------    Changes    ------------
22
23         2000-12-11  Andre Piotrowski
24
25         -       reformatted
26 */
27
28
29 /**********************************************************************
30  * ISO MPEG Audio Subgroup Software Simulation Group (1996)
31  * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
32  *
33  * $Id: l3bitstream.h,v 1.1 2004/05/08 12:11:13 kramm Exp $
34  *
35  * $Log: l3bitstream.h,v $
36  * Revision 1.1  2004/05/08 12:11:13  kramm
37  * Version 0.94.1 of the bladeenc mp3 encoder
38  *
39  * Revision 1.1  2002/01/10 17:30:00  kramm
40  * Version 0.94.1 of the bladeenc mp3 encoder
41  *
42  * Revision 1.1  1996/02/14 04:04:23  rowlands
43  * Initial revision
44  *
45  * Received from Mike Coleman
46  **********************************************************************/
47
48 #ifndef         __L3BITSTREAM__
49 #define         __L3BITSTREAM__
50
51
52
53
54
55 #include "common.h"
56 #include "encoder.h"
57
58
59
60
61
62 void                                    III_format_bitstream
63 (
64         int                                             bitsPerFrame,
65         frame_params                    *in_fr_ps,
66         int                                             l3_enc[2][2][576],
67         III_side_info_t                 *l3_side,
68         III_scalefac_t                  *scalefac,
69         double                                  (*xr)[2][576],
70         char                                    *ancillary,
71         int                                             anc_bits
72 );
73
74 void                                    III_FlushBitstream (void);
75
76 void                                    fixStatic_l3bitstream (void);
77
78
79
80
81
82 #endif          /* __L3BITSTREAM__ */