more stub code
[swftools.git] / lib / bladeenc / reservoir.h
1 /*
2                         (c) Copyright 1998-2000 - 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  * ISO MPEG Audio Subgroup Software Simulation Group (1996)
30  * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
31  *
32  * $Id: reservoir.h,v 1.1 2002/01/10 17:30:01 kramm Exp $
33  *
34  * $Log: reservoir.h,v $
35  * Revision 1.1  2002/01/10 17:30:01  kramm
36  * Version 0.94.1 of the bladeenc mp3 encoder
37  *
38  * Revision 1.1  1996/02/14 04:04:23  rowlands
39  * Initial revision
40  *
41  * Received from Mike Coleman
42  **********************************************************************/
43 /*
44   Revision History:
45
46   Date        Programmer                Comment
47   ==========  ========================= ===============================
48   1995/09/06  mc@fivebats.com           created
49
50 */
51
52 #ifndef         __RESERVOIR__
53 #define         __RESERVOIR__
54
55
56
57
58
59 void                                    ResvFrameBegin
60 (
61         frame_params                    *fr_ps,
62         III_side_info_t                 *l3_side,
63         int                                             mean_bits,
64         int                                             frameLength
65 );
66
67 int                                             ResvMaxBits
68 (
69         frame_params                    *fr_ps,
70         III_side_info_t                 *l3_side,
71         double                                  *pe,
72         int                                             mean_bits
73 );
74
75 void                                    ResvAdjust
76 (
77         frame_params                    *fr_ps,
78         gr_info                                 *cod_info,
79         III_side_info_t                 *l3_side,
80         int                                             mean_bits
81 );
82
83 void                                    ResvFrameEnd
84 (
85         frame_params                    *fr_ps,
86         III_side_info_t                 *l3_side,
87         int                                             mean_bits
88 );
89
90 void                                    fixStatic_reservoir (void);
91
92
93
94
95
96 #endif          /* __RESERVOIR__ */