资源简介
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
****************************
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 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个文件信息
- 上一篇:定位坐标变换.txt
- 下一篇:jacob_1.11.1.zip
相关资源
- nginx-rtmp-win32-master.rar
- FFMEPG实现h264解码
- ffmpegh265rtmp.zip
- ffserver(windows下编译32位)
- qt_ffmpeg_mp4_export_and_import.zip
- 最简单的基于FFmpeg的推流器 1.2
- 简单的ffmpeg推流demo
- FFmpeg和SDL,读内存中的视频流,进行
- ffmpeg之pcm转AAC
- ffmpeg-2.8.14.tar.gz
- 利用ffmpeg的filter混音
- vs2010 ffmpeg实时解码h264码流
- ffmpeg 音视频转码代码
- windows上自己编译的最新的ffmpeg库
- Qt基于FFmpeg播放本地 H.264H264文件
- 从ffmpeg中抽取的h264解码器,可用于
- ffplay源代码
- 最简单的基于FFmpeg的推流器以推送R
- DVD文件VOB的生成代码
- FFmpeg 采集摄像头输出rtmp直播流媒体,
- 基于ffmpeg将avi视频转换为mp4视频
- (补充)修改output-example,将H.264AAC帧
- ffmpeg-win64位库
- X264实时编码,FFmpeg实时解码
- FFmpeg API读取视音频文件信息的一个工
- 使用FFmpeg采集摄像头图像和麦克风音
- opencv_ffmpeg249.dll
- FFmpeg-3.1 windows vs2013编译动态库静态库
- 基于FFmpeg4.0.2的AAC编码器
- FFmpeg获取网络摄像头数据解码
评论
共有 条评论