CI130X SDK API手册  2.2.0
本手册用于描述CI130X SDK各个组件和驱动API
aacstatname.h
浏览该文件的文档.
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Source last modified: $Id: aacstatname.h,v 1.1 2005/02/26 01:47:34 jrecker Exp $
3  *
4  * Portions Copyright (c) 1995-2005 RealNetworks, Inc. All Rights Reserved.
5  *
6  * The contents of this file, and the files included with this file,
7  * are subject to the current version of the RealNetworks Public
8  * Source License (the "RPSL") available at
9  * http://www.helixcommunity.org/content/rpsl unless you have licensed
10  * the file under the current version of the RealNetworks Community
11  * Source License (the "RCSL") available at
12  * http://www.helixcommunity.org/content/rcsl, in which case the RCSL
13  * will apply. You may also obtain the license terms directly from
14  * RealNetworks. You may not use this file except in compliance with
15  * the RPSL or, if you have a valid RCSL with RealNetworks applicable
16  * to this file, the RCSL. Please see the applicable RPSL or RCSL for
17  * the rights, obligations and limitations governing use of the
18  * contents of the file.
19  *
20  * This file is part of the Helix DNA Technology. RealNetworks is the
21  * developer of the Original Code and owns the copyrights in the
22  * portions it created.
23  *
24  * This file, and the files included with this file, is distributed
25  * and made available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY
26  * KIND, EITHER EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS
27  * ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES
28  * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET
29  * ENJOYMENT OR NON-INFRINGEMENT.
30  *
31  * Technology Compatibility Kit Test Suite(s) Location:
32  * http://www.helixcommunity.org/content/tck
33  *
34  * Contributor(s):
35  *
36  * ***** END LICENSE BLOCK ***** */
37 
38 /**************************************************************************************
39  * Fixed-point HE-AAC decoder
40  * Jon Recker (jrecker@real.com)
41  * February 2005
42  *
43  * aacstatname.h - name mangling macros for static linking
44  **************************************************************************************/
45 
46 #ifndef _STATNAME_H
47 #define _STATNAME_H
48 
49 /* define STAT_PREFIX to a unique name for static linking
50  * all the C functions and global variables will be mangled by the preprocessor
51  * e.g. void DCT4(...) becomes void raac_DCT4(...)
52  */
53 #define STAT_PREFIX raac
54 
55 #define STATCC1(x,y,z) STATCC2(x,y,z)
56 #define STATCC2(x,y,z) x##y##z
57 
58 #ifdef STAT_PREFIX
59 #define STATNAME(func) STATCC1(STAT_PREFIX, _, func)
60 #else
61 #define STATNAME(func) func
62 #endif
63 
64 /* these symbols are common to all implementations */
65 #define AllocateBuffers STATNAME(AllocateBuffers)
66 #define FreeBuffers STATNAME(FreeBuffers)
67 #define ClearBuffer STATNAME(ClearBuffer)
68 #define ClearBuffers STATNAME(ClearBuffers)
69 
70 #define SetRawBlockParams STATNAME(SetRawBlockParams)
71 #define PrepareRawBlock STATNAME(PrepareRawBlock)
72 #define FlushCodec STATNAME(FlushCodec)
73 
74 #define UnpackADTSHeader STATNAME(UnpackADTSHeader)
75 #define GetADTSChannelMapping STATNAME(GetADTSChannelMapping)
76 #define UnpackADIFHeader STATNAME(UnpackADIFHeader)
77 #define DecodeNextElement STATNAME(DecodeNextElement)
78 #define DecodeNoiselessData STATNAME(DecodeNoiselessData)
79 #define Dequantize STATNAME(Dequantize)
80 #define StereoProcess STATNAME(StereoProcess)
81 #define DeinterleaveShortBlocks STATNAME(DeinterleaveShortBlocks)
82 #define PNS STATNAME(PNS)
83 #define TNSFilter STATNAME(TNSFilter)
84 #define IMDCT STATNAME(IMDCT)
85 
86 #define InitSBR STATNAME(InitSBR)
87 #define DecodeSBRBitstream STATNAME(DecodeSBRBitstream)
88 #define DecodeSBRData STATNAME(DecodeSBRData)
89 #define FreeSBR STATNAME(FreeSBR)
90 #define ClearSBR STATNAME(ClearSBR)
91 #define FlushCodecSBR STATNAME(FlushCodecSBR)
92 
93 /* global ROM tables */
94 #define sampRateTab STATNAME(sampRateTab)
95 #define predSFBMax STATNAME(predSFBMax)
96 #define channelMapTab STATNAME(channelMapTab)
97 #define elementNumChans STATNAME(elementNumChans)
98 #define sfBandTotalShort STATNAME(sfBandTotalShort)
99 #define sfBandTotalLong STATNAME(sfBandTotalLong)
100 #define sfBandTabShortOffset STATNAME(sfBandTabShortOffset)
101 #define sfBandTabShortTabSize STATNAME(sfBandTabShortTabSize)
102 #define sfBandTabShort STATNAME(sfBandTabShort)
103 #define sfBandTabLongOffset STATNAME(sfBandTabLongOffset)
104 #define sfBandTabLongTabSize STATNAME(sfBandTabLongTabSize)
105 #define sfBandTabLong STATNAME(sfBandTabLong)
106 #define tnsMaxBandsShortOffset STATNAME(tnsMaxBandsShortOffset)
107 #define tnsMaxBandsShort STATNAME(tnsMaxBandsShort)
108 #define tnsMaxOrderShort STATNAME(tnsMaxOrderShort)
109 #define tnsMaxBandsLongOffset STATNAME(tnsMaxBandsLongOffset)
110 #define tnsMaxBandsLong STATNAME(tnsMaxBandsLong)
111 #define tnsMaxOrderLong STATNAME(tnsMaxOrderLong)
112 
113 /* in your implementation's top-level include file (e.g. real\aaccoder.h) you should
114  * add new #define sym STATNAME(sym) lines for all the
115  * additional global functions or variables which your
116  * implementation uses
117  */
118 
119 #endif /* _STATNAME_H */