mpeg3dec.h

来自「arm9开发板上的例子,可以学习一下有简单的c程序」· C头文件 代码 · 共 63 行

H
63
字号
/****************************************************************************//* *	mpeg3dec.h -- MPEG layer III decoding functions definitions * *	Author  :   St閜hane TAVENARD * *	(C) Copyright 1997-1997 St閜hane TAVENARD *	    All Rights Reserved *	 *	This program is free software; you can redistribute it and/or modify *	it under the terms of the GNU General Public License as published by *	the Free Software Foundation; either version 2 of the License, or *	(at your option) any later version. *	 *	This program is distributed in the hope that it will be useful, *	but WITHOUT ANY WARRANTY; without even the implied warranty of *	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the *	GNU General Public License for more details. *	 *	You should have received a copy of the GNU General Public License *	along with this program; if not, write to the Free Software *	Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *//****************************************************************************/#ifndef MPEG3DEC_H#define MPEG3DEC_H/****************************************************************************/#ifdef MPEGAUD_INT#define ALIAS_TYPE	INT16#define ALIAS_BITS	15#define ALIAS_MULT(bu, cx)	(((bu) * (cx))>>(ALIAS_BITS))#else#define ALIAS_TYPE	REAL#define ALIAS_MULT(bu, cx)	((bu) * (cx))#endif#ifdef MPEGAUD_INT#define POW_TYPE	INT32#define POW_2_BITS	13#define POW_4_3_BITS	MPEGTAB_POW_BITS	// 18 usually#else#define POW_TYPE REAL#endif#define MAX_POS1	7#define MAX_POS2	32#ifdef MPEGAUD_INT#define ST_TYPE		INT16#define ST_BITS		14#define ST_MULT(a, b)	(((ST_TYPE)(a) * (ST_TYPE)(b))>>ST_BITS)#endifextern int	MPEG3_reset(MPA_STREAM *mps);extern INT32	MPEG3_decode_frame(MPA_STREAM *mps);/****************************************************************************/#endif /* MPEG3DEC_H */

⌨️ 快捷键说明

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