Version 0.94.1 of the bladeenc mp3 encoder
[swftools.git] / lib / bladeenc / reservoir.h
diff --git a/lib/bladeenc/reservoir.h b/lib/bladeenc/reservoir.h
new file mode 100644 (file)
index 0000000..4903e2c
--- /dev/null
@@ -0,0 +1,96 @@
+/*
+                       (c) Copyright 1998-2000 - Tord Jansson
+                       ======================================
+
+               This file is part of the BladeEnc MP3 Encoder, based on
+               ISO's reference code for MPEG Layer 3 compression, and might
+               contain smaller or larger sections that are directly taken
+               from ISO's reference code.
+
+               All changes to the ISO reference code herein are either
+               copyrighted by Tord Jansson (tord.jansson@swipnet.se)
+               or sublicensed to Tord Jansson by a third party.
+
+       BladeEnc is free software; you can redistribute this file
+       and/or modify it under the terms of the GNU Lesser General Public
+       License as published by the Free Software Foundation; either
+       version 2.1 of the License, or (at your option) any later version.
+
+
+
+       ------------    Changes    ------------
+
+       2000-12-11  Andre Piotrowski
+
+       -       reformatted
+*/
+
+/**********************************************************************
+ * ISO MPEG Audio Subgroup Software Simulation Group (1996)
+ * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
+ *
+ * $Id: reservoir.h,v 1.1 2002/01/10 17:30:01 kramm Exp $
+ *
+ * $Log: reservoir.h,v $
+ * Revision 1.1  2002/01/10 17:30:01  kramm
+ * Version 0.94.1 of the bladeenc mp3 encoder
+ *
+ * Revision 1.1  1996/02/14 04:04:23  rowlands
+ * Initial revision
+ *
+ * Received from Mike Coleman
+ **********************************************************************/
+/*
+  Revision History:
+
+  Date        Programmer                Comment
+  ==========  ========================= ===============================
+  1995/09/06  mc@fivebats.com           created
+
+*/
+
+#ifndef                __RESERVOIR__
+#define                __RESERVOIR__
+
+
+
+
+
+void                                   ResvFrameBegin
+(
+       frame_params                    *fr_ps,
+       III_side_info_t                 *l3_side,
+       int                                             mean_bits,
+       int                                             frameLength
+);
+
+int                                            ResvMaxBits
+(
+       frame_params                    *fr_ps,
+       III_side_info_t                 *l3_side,
+       double                                  *pe,
+       int                                             mean_bits
+);
+
+void                                   ResvAdjust
+(
+       frame_params                    *fr_ps,
+       gr_info                                 *cod_info,
+       III_side_info_t                 *l3_side,
+       int                                             mean_bits
+);
+
+void                                   ResvFrameEnd
+(
+       frame_params                    *fr_ps,
+       III_side_info_t                 *l3_side,
+       int                                             mean_bits
+);
+
+void                                   fixStatic_reservoir (void);
+
+
+
+
+
+#endif         /* __RESERVOIR__ */