Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of mbed-os-example-mbed5-blinky by
DuerOS-Light-SDK-v1.1.0/duer-os-light/external/mp3dec/pub/statname.h@47:9e361da97763, 2017-07-18 (annotated)
- Committer:
- TMBOY
- Date:
- Tue Jul 18 16:54:45 2017 +0800
- Revision:
- 47:9e361da97763
?
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| TMBOY | 47:9e361da97763 | 1 | /* ***** BEGIN LICENSE BLOCK ***** |
| TMBOY | 47:9e361da97763 | 2 | * Version: RCSL 1.0/RPSL 1.0 |
| TMBOY | 47:9e361da97763 | 3 | * |
| TMBOY | 47:9e361da97763 | 4 | * Portions Copyright (c) 1995-2002 RealNetworks, Inc. All Rights Reserved. |
| TMBOY | 47:9e361da97763 | 5 | * |
| TMBOY | 47:9e361da97763 | 6 | * The contents of this file, and the files included with this file, are |
| TMBOY | 47:9e361da97763 | 7 | * subject to the current version of the RealNetworks Public Source License |
| TMBOY | 47:9e361da97763 | 8 | * Version 1.0 (the "RPSL") available at |
| TMBOY | 47:9e361da97763 | 9 | * http://www.helixcommunity.org/content/rpsl unless you have licensed |
| TMBOY | 47:9e361da97763 | 10 | * the file under the RealNetworks Community Source License Version 1.0 |
| TMBOY | 47:9e361da97763 | 11 | * (the "RCSL") available at http://www.helixcommunity.org/content/rcsl, |
| TMBOY | 47:9e361da97763 | 12 | * in which case the RCSL will apply. You may also obtain the license terms |
| TMBOY | 47:9e361da97763 | 13 | * directly from RealNetworks. You may not use this file except in |
| TMBOY | 47:9e361da97763 | 14 | * compliance with the RPSL or, if you have a valid RCSL with RealNetworks |
| TMBOY | 47:9e361da97763 | 15 | * applicable to this file, the RCSL. Please see the applicable RPSL or |
| TMBOY | 47:9e361da97763 | 16 | * RCSL for the rights, obligations and limitations governing use of the |
| TMBOY | 47:9e361da97763 | 17 | * contents of the file. |
| TMBOY | 47:9e361da97763 | 18 | * |
| TMBOY | 47:9e361da97763 | 19 | * This file is part of the Helix DNA Technology. RealNetworks is the |
| TMBOY | 47:9e361da97763 | 20 | * developer of the Original Code and owns the copyrights in the portions |
| TMBOY | 47:9e361da97763 | 21 | * it created. |
| TMBOY | 47:9e361da97763 | 22 | * |
| TMBOY | 47:9e361da97763 | 23 | * This file, and the files included with this file, is distributed and made |
| TMBOY | 47:9e361da97763 | 24 | * available on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER |
| TMBOY | 47:9e361da97763 | 25 | * EXPRESS OR IMPLIED, AND REALNETWORKS HEREBY DISCLAIMS ALL SUCH WARRANTIES, |
| TMBOY | 47:9e361da97763 | 26 | * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS |
| TMBOY | 47:9e361da97763 | 27 | * FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. |
| TMBOY | 47:9e361da97763 | 28 | * |
| TMBOY | 47:9e361da97763 | 29 | * Technology Compatibility Kit Test Suite(s) Location: |
| TMBOY | 47:9e361da97763 | 30 | * http://www.helixcommunity.org/content/tck |
| TMBOY | 47:9e361da97763 | 31 | * |
| TMBOY | 47:9e361da97763 | 32 | * Contributor(s): |
| TMBOY | 47:9e361da97763 | 33 | * |
| TMBOY | 47:9e361da97763 | 34 | * ***** END LICENSE BLOCK ***** */ |
| TMBOY | 47:9e361da97763 | 35 | |
| TMBOY | 47:9e361da97763 | 36 | /************************************************************************************** |
| TMBOY | 47:9e361da97763 | 37 | * Fixed-point MP3 decoder |
| TMBOY | 47:9e361da97763 | 38 | * Jon Recker (jrecker@real.com), Ken Cooke (kenc@real.com) |
| TMBOY | 47:9e361da97763 | 39 | * June 2003 |
| TMBOY | 47:9e361da97763 | 40 | * |
| TMBOY | 47:9e361da97763 | 41 | * statname.h - name mangling macros for static linking |
| TMBOY | 47:9e361da97763 | 42 | **************************************************************************************/ |
| TMBOY | 47:9e361da97763 | 43 | |
| TMBOY | 47:9e361da97763 | 44 | #ifndef _STATNAME_H |
| TMBOY | 47:9e361da97763 | 45 | #define _STATNAME_H |
| TMBOY | 47:9e361da97763 | 46 | |
| TMBOY | 47:9e361da97763 | 47 | /* define STAT_PREFIX to a unique name for static linking |
| TMBOY | 47:9e361da97763 | 48 | * all the C functions and global variables will be mangled by the preprocessor |
| TMBOY | 47:9e361da97763 | 49 | * e.g. void FFT(int *fftbuf) becomes void cook_FFT(int *fftbuf) |
| TMBOY | 47:9e361da97763 | 50 | */ |
| TMBOY | 47:9e361da97763 | 51 | #define STAT_PREFIX xmp3 |
| TMBOY | 47:9e361da97763 | 52 | |
| TMBOY | 47:9e361da97763 | 53 | #define STATCC1(x,y,z) STATCC2(x,y,z) |
| TMBOY | 47:9e361da97763 | 54 | #define STATCC2(x,y,z) x##y##z |
| TMBOY | 47:9e361da97763 | 55 | |
| TMBOY | 47:9e361da97763 | 56 | #ifdef STAT_PREFIX |
| TMBOY | 47:9e361da97763 | 57 | #define STATNAME(func) STATCC1(STAT_PREFIX, _, func) |
| TMBOY | 47:9e361da97763 | 58 | #else |
| TMBOY | 47:9e361da97763 | 59 | #define STATNAME(func) func |
| TMBOY | 47:9e361da97763 | 60 | #endif |
| TMBOY | 47:9e361da97763 | 61 | |
| TMBOY | 47:9e361da97763 | 62 | /* these symbols are common to all implementations */ |
| TMBOY | 47:9e361da97763 | 63 | #define CheckPadBit STATNAME(CheckPadBit) |
| TMBOY | 47:9e361da97763 | 64 | #define UnpackFrameHeader STATNAME(UnpackFrameHeader) |
| TMBOY | 47:9e361da97763 | 65 | #define UnpackSideInfo STATNAME(UnpackSideInfo) |
| TMBOY | 47:9e361da97763 | 66 | #define AllocateBuffers STATNAME(AllocateBuffers) |
| TMBOY | 47:9e361da97763 | 67 | #define FreeBuffers STATNAME(FreeBuffers) |
| TMBOY | 47:9e361da97763 | 68 | #define DecodeHuffman STATNAME(DecodeHuffman) |
| TMBOY | 47:9e361da97763 | 69 | #define Dequantize STATNAME(Dequantize) |
| TMBOY | 47:9e361da97763 | 70 | #define IMDCT STATNAME(IMDCT) |
| TMBOY | 47:9e361da97763 | 71 | #define UnpackScaleFactors STATNAME(UnpackScaleFactors) |
| TMBOY | 47:9e361da97763 | 72 | #define Subband STATNAME(Subband) |
| TMBOY | 47:9e361da97763 | 73 | |
| TMBOY | 47:9e361da97763 | 74 | #define samplerateTab STATNAME(samplerateTab) |
| TMBOY | 47:9e361da97763 | 75 | #define bitrateTab STATNAME(bitrateTab) |
| TMBOY | 47:9e361da97763 | 76 | #define samplesPerFrameTab STATNAME(samplesPerFrameTab) |
| TMBOY | 47:9e361da97763 | 77 | #define bitsPerSlotTab STATNAME(bitsPerSlotTab) |
| TMBOY | 47:9e361da97763 | 78 | #define sideBytesTab STATNAME(sideBytesTab) |
| TMBOY | 47:9e361da97763 | 79 | #define slotTab STATNAME(slotTab) |
| TMBOY | 47:9e361da97763 | 80 | #define sfBandTable STATNAME(sfBandTable) |
| TMBOY | 47:9e361da97763 | 81 | |
| TMBOY | 47:9e361da97763 | 82 | /* in your implementation's top-level include file (e.g. real\coder.h) you should |
| TMBOY | 47:9e361da97763 | 83 | * add new #define sym STATNAME(sym) lines for all the |
| TMBOY | 47:9e361da97763 | 84 | * additional global functions or variables which your |
| TMBOY | 47:9e361da97763 | 85 | * implementation uses |
| TMBOY | 47:9e361da97763 | 86 | */ |
| TMBOY | 47:9e361da97763 | 87 | |
| TMBOY | 47:9e361da97763 | 88 | #endif /* _STATNAME_H */ |
