2 (c) Copyright 1998-2000 - Tord Jansson
3 ======================================
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.
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.
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.
21 ------------ Changes ------------
23 2000-12-04 Andre Piotrowski
25 - redesigned, reformatted
28 #ifndef __L3BITSTREAM_PVT__
29 #define __L3BITSTREAM_PVT__
35 static void encodeMainData
37 int l3_enc[2][2][576],
38 III_side_info_t *side_info,
39 III_scalefac_t *scalefac
42 static int encodeSideInfo (III_side_info_t *side_info);
44 static void write_ancillary_data
50 static void drain_into_ancillary_data (int lengthInBits);
52 static void Huffmancodebits
59 static int writeHuffmanCode
71 #endif /* __L3BITSTREAM_PVT__ */