|
1 /* |
|
2 * Copyright (c) 2010 Ixonos Plc. |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of the "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - Initial contribution |
|
11 * |
|
12 * Contributors: |
|
13 * Ixonos Plc |
|
14 * |
|
15 * Description: |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 /************************************************************************** |
|
21 mp3tool.h - Interface to MP3 core structures. |
|
22 |
|
23 Author(s): Juha Ojanpera |
|
24 Copyright (c) 2004 by Nokia Research Center, Audio-Visual Systems. |
|
25 *************************************************************************/ |
|
26 |
|
27 #ifndef MP3TOOL_H_ |
|
28 #define MP3TOOL_H_ |
|
29 |
|
30 /*-- Project Headers. --*/ |
|
31 #include "nok_bits.h" |
|
32 #include "mpaud.h" |
|
33 |
|
34 /* |
|
35 * Low level implementations for the mp3 engine. |
|
36 */ |
|
37 |
|
38 /*-- Implementations defined in module 'layer3.cpp'. --*/ |
|
39 BOOL III_get_side_info(CMPAudDec *mp, TBitStream *bs); |
|
40 void III_get_scale_factors(CMP_Stream *mp, int16 gr, int16 ch); |
|
41 void L3WriteSideInfo(TBitStream *bs, CIII_Side_Info *sideInfo, TMPEG_Header *header); |
|
42 |
|
43 /*-- Implementations defined in module 'l3huffman.cpp'. */ |
|
44 void InitL3Huffman(CHuffman *huf); |
|
45 int16 III_huffman_decode(CMPAudDec *mp, int16 gr, int16 ch, int32 part2); |
|
46 |
|
47 /*-- Implementations defined in module 'l3sfb.cpp'. */ |
|
48 void III_SfbDataInit(CIII_SfbData *sfbData, TMPEG_Header *header); |
|
49 |
|
50 #endif /*-- MP3TOOL_H_ --*/ |