⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mp4au.h

📁 MPEG2/MPEG4编解码参考程序(实现了MPEG4的部分功能)
💻 H
字号:
/**********************************************************************MPEG-4 Audio VMFrame workThis software module was originally developed byHeiko Purnhagen (University of Hannover / ACTS-MoMuSys)and edited byRalph Sperschneider (Fraunhofer Gesellschaft IIS)in the course of development of the MPEG-2 NBC/MPEG-4 Audio standardISO/IEC 13818-7, 14496-1,2 and 3. This software module is animplementation of a part of one or more MPEG-2 NBC/MPEG-4 Audio toolsas specified by the MPEG-2 NBC/MPEG-4 Audio standard. ISO/IEC givesusers of the MPEG-2 NBC/MPEG-4 Audio standards free license to thissoftware module or modifications thereof for use in hardware orsoftware products claiming conformance to the MPEG-2 NBC/ MPEG-4 Audiostandards. Those intending to use this software module in hardware orsoftware products are advised that this use may infringe existingpatents. The original developer of this software module and his/hercompany, the subsequent editors and their companies, and ISO/IEC haveno liability for use of this software module or modifications thereofin an implementation. Copyright is not released for non MPEG-2NBC/MPEG-4 Audio conforming products. The original developer retainsfull right to use the code for his/her own purpose, assign or donatethe code to a third party and to inhibit third party from using thecode for non MPEG-2 NBC/MPEG-4 Audio conforming products. Thiscopyright notice must be included in all copies or derivative works.Copyright (c) 1996.Header file: mp4.h$Id: mp4au.h,v 1.2 1999/05/20 17:10:28 purnhage Exp $Authors:HP    Heiko Purnhagen, Uni Hannover <purnhage@tnt.uni-hannover.de>BT    Bodo Teichmann, FhG/IIS <tmn@iis.fhg.de>Changes:14-aug-96   HP    first version21-aug-96   HP    adjusted MAXREADAHEAD, BITHEADERBUFSIZE to BG's code26-aug-96   HP    CVS30-oct-96   HP    additional frame work options18-nov-96   HP    added bit stream version10-dec-96   HP    incremented MP4_BS_VERSION17-jan-97   HP    reduced MAXREADAHEAD, BITHEADERBUFSIZE after                  bug fix in bitstream.c14-mar-97   HP    merged FhG AAC code21-mar-97   BT    made strings static15-may-97   HP    clean up22-jan-99   HP    fixed MAXREADAHEAD, BITHEADERBUFSIZE**********************************************************************/#ifndef _mp4_h_#define _mp4_h_/* ---------- declarations ---------- */#define def2str(a) def2str_(a)#define def2str_(a) #a#define STRLEN 255#define MP4_ORI_PATH_ENV "MP4_ORI_PATH"#define MP4_BIT_PATH_ENV "MP4_BIT_PATH"#define MP4_DEC_PATH_ENV "MP4_DEC_PATH"#define MP4_ORI_FMT_ENV "MP4_ORI_FORMAT"#define MP4_DEC_FMT_ENV "MP4_DEC_FORMAT"#define MP4_ORI_EXT ".au"#define MP4_BIT_EXT ".mp4"#define MP4_DEC_EXT ".au"#define MP4_ORI_RAW_ENV "MP4_RAWAUDIOFILE"#define MP4_MAGIC ".mp4"#define MP4_BS_VERSION 0x4003#define MAXREADAHEAD 65536#define BITHEADERBUFSIZE 65536/* codec mode */enum MP4Mode {MODE_UNDEF, MODE_PAR, MODE_LPC, MODE_TF, MODE_G729,	      MODE_G723, MODE_HVXC, MODE_NUM};#define MODENAME_UNDEF "undefined"#define MODENAME_PAR "par"#define MODENAME_LPC "lpc"#define MODENAME_TF "tf"#define MODENAME_G729 "g729"#define MODENAME_G723 "g723"#define MODENAME_HVXC "hvxc"static char *MP4ModeName[] = {MODENAME_UNDEF,                               MODENAME_PAR,                               MODENAME_LPC,			      MODENAME_TF,                               MODENAME_G729,                               MODENAME_G723,                              MODENAME_HVXC};#define MODENAME_LIST MODENAME_PAR ", " MODENAME_LPC \		      ", " MODENAME_TF ", " MODENAME_G729 ", " \		      MODENAME_G723 ", " MODENAME_HVXC/* error resilience */#define MAX_CLASSES  8#endif	/* #ifndef _mp4_h_ *//* end of mp4.h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -