added missing {
[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 2002/01/10 17:30:00 kramm Exp $
34  *
35  * $Log: l3bitstream.h,v $
36  * Revision 1.1  2002/01/10 17:30:00  kramm
37  * Version 0.94.1 of the bladeenc mp3 encoder
38  *
39  * Revision 1.1  1996/02/14 04:04:23  rowlands
40  * Initial revision
41  *
42  * Received from Mike Coleman
43  **********************************************************************/
44
45 #ifndef         __L3BITSTREAM__
46 #define         __L3BITSTREAM__
47
48
49
50
51
52 #include "common.h"
53 #include "encoder.h"
54
55
56
57
58
59 void                                    III_format_bitstream
60 (
61         int                                             bitsPerFrame,
62         frame_params                    *in_fr_ps,
63         int                                             l3_enc[2][2][576],
64         III_side_info_t                 *l3_side,
65         III_scalefac_t                  *scalefac,
66         double                                  (*xr)[2][576],
67         char                                    *ancillary,
68         int                                             anc_bits
69 );
70
71 void                                    III_FlushBitstream (void);
72
73 void                                    fixStatic_l3bitstream (void);
74
75
76
77
78
79 #endif          /* __L3BITSTREAM__ */