資源簡(jiǎn)介
mpeg layer1 layer2的音頻編碼和解碼的源程序

代碼片段和文件信息
/*?Copyright?(C)?1988-1991?Apple?Computer?Inc.
?*?All?Rights?Reserved.
?*
?*?Warranty?Information
?*?Even?though?Apple?has?reviewed?this?software?Apple?makes?no?warranty
?*?or?representation?either?express?or?implied?with?respect?to?this
?*?software?its?quality?accuracy?merchantability?or?fitness?for?a?
?*?particular?purpose.??As?a?result?this?software?is?provided?“as?is“
?*?and?you?its?user?are?assuming?the?entire?risk?as?to?its?quality
?*?and?accuracy.
?*
?*?This?code?may?be?used?and?freely?distributed?as?long?as?it?includes
?*?this?copyright?notice?and?the?warranty?information.
?*
?*?Machine-independent?I/O?routines?for?IEEE?floating-point?numbers.
?*
?*?NaN‘s?and?infinities?are?converted?to?HUGE_VAL?or?HUGE?which
?*?happens?to?be?infinity?on?IEEE?machines.??Unfortunately?it?is
?*?impossible?to?preserve?NaN‘s?in?a?machine-independent?way.
?*?Infinities?are?however?preserved?on?IEEE?machines.
?*
?*?These?routines?have?been?tested?on?the?following?machines:
?* Apple?Macintosh?MPW?3.1?C?compiler
?* Apple?Macintosh?THINK?C?compiler
?* Silicon?Graphics?IRIS?MIPS?compiler
?* Cray?X/MP?and?Y/MP
?* Digital?Equipment?VAX
?* Sequent?Balance?(Multiprocesor?386)
?* NeXT
?*
?*
?*?Implemented?by?Malcolm?Slaney?and?Ken?Turkowski.
?*
?*?Malcolm?Slaney?contributions?during?1988-1990?include?big-?and?little-
?*?endian?file?I/O?conversion?to?and?from?Motorola‘s?extended?80-bit
?*?floating-point?format?and?conversions?to?and?from?IEEE?single-
?*?precision?floating-point?format.
?*
?*?In?1991?Ken?Turkowski?implemented?the?conversions?to?and?from
?*?IEEE?double-precision?format?added?more?precision?to?the?extended
?*?conversions?and?accommodated?conversions?involving?+/-?infinity
?*?NaN‘s?and?denormalized?numbers.
?*
?*?$Id:?ieeefloat.cv?1.1?1993/06/11?17:45:46?malcolm?Exp?$
?*
?*?$Log:?ieeefloat.cv?$
?*?Revision?1.1??1993/06/11??17:45:46??malcolm
?*?Initial?revision
?*
?*/
#include
#include
#include “ieeefloat.h“
/****************************************************************
?*?The?following?two?routines?make?up?for?deficiencies?in?many
?*?compilers?to?convert?properly?between?unsigned?integers?and
?*?floating-point.??Some?compilers?which?have?this?bug?are?the
?*?THINK_C?compiler?for?the?Macintosh?and?the?C?compiler?for?the
?*?Silicon?Graphics?MIPS-based?Iris.
?****************************************************************/
#ifdef?applec /*?The?Apple?C?compiler?works?*/
#?define?FloatToUnsigned(f) ((unsigned?long)(f))
#?define?UnsignedToFloat(u) ((defdouble)(u))
#else?/*?applec?*/
#?define?FloatToUnsigned(f) ((unsigned?long)(((long)((f)?-?2147483648.0))?+?2147483647L?+?1))
#?define?UnsignedToFloat(u) (((defdouble)((long)((u)?-?2147483647L?-?1)))?+?2147483648.0)
#endif?/*?applec?*/
/****************************************************************
?*?Single?precision?IEEE?floating-point?conversion?routines
?****************************
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????5313??1997-02-04?13:21??DOC\README.1ST
?????文件???????11492??1997-01-22?10:43??DOC\readme.dp.01.txt
?????文件????????8898??1997-01-22?10:43??DOC\readme.jmz.01.txt
?????文件????????1906??1997-01-22?10:43??DOC\readme.jmz.02.txt
?????文件????????4116??1997-01-22?10:43??DOC\readme.jmz.03.txt
?????文件????????1997??1997-01-22?10:43??DOC\readme.jmz.04.txt
?????文件????????1576??1997-01-22?10:43??DOC\readme.mc.01.txt
?????文件????????1311??1997-01-22?10:43??DOC\readme.rb.01.txt
?????文件????????1350??1997-01-22?10:43??DOC\readme.sn.01.txt
?????文件????????1680??1997-01-22?10:43??DOC\readme.sr.01.txt
?????文件????????1918??1997-01-22?10:43??DOC\readme.sr.02.txt
?????文件????????9052??1997-01-22?10:43??DOC\readme.ss.01.txt
?????文件???????47488??1997-01-22?10:43??LSF\DECODER\COMMON.C
?????文件???????20463??1997-01-22?10:43??LSF\DECODER\COMMON.H
?????文件???????23763??1997-01-22?10:43??LSF\DECODER\configure
?????文件???????69663??1997-01-22?10:43??LSF\DECODER\DECODE.C
?????文件????????8704??1997-01-22?10:43??LSF\DECODER\DECODER.H
?????文件???????11040??1997-01-22?10:43??LSF\DECODER\HUFFMAN.C
?????文件????????2214??1997-01-22?10:43??LSF\DECODER\HUFFMAN.H
?????文件???????28964??1997-01-22?10:43??LSF\DECODER\ieeefloat.c
?????文件????????2740??1997-01-22?10:43??LSF\DECODER\ieeefloat.h
?????文件????????1347??1997-01-22?10:43??LSF\DECODER\INSTALL
?????文件????????2028??1997-01-22?10:43??LSF\DECODER\Makefile
?????文件????????1997??1997-01-22?10:43??LSF\DECODER\Makefile.in
?????文件????????1041??1997-01-22?10:43??LSF\DECODER\makefile.linux
?????文件????????1394??1997-01-22?10:43??LSF\DECODER\makefile.unix
?????文件???????26945??1997-01-22?10:43??LSF\DECODER\MUSICOUT.C
?????文件????????7242??1997-01-22?10:43??LSF\DECODER\portableio.c
?????文件????????3884??1997-01-22?10:43??LSF\DECODER\portableio.h
?????文件?????????166??1997-01-22?10:43??LSF\DECODER\TABLES\1CB0
?????文件?????????172??1997-01-22?10:43??LSF\DECODER\TABLES\1CB1
............此處省略202個(gè)文件信息
- 上一篇:定位坐標(biāo)變換.txt
- 下一篇:jacob_1.11.1.zip
評(píng)論
共有 條評(píng)論