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

📄 encoder.h

📁 xvid解码的精简版本.非常好的版本,节省了分离xvid源代码的过程
💻 H
字号:
/***************************************************************************** * *  XVID MPEG-4 VIDEO CODEC *  - Encoder related header  - * *  Copyright(C) 2002-2003 Michael Militzer <isibaar@xvid.org> *               2002-2003 Peter Ross <pross@xvid.org> * *  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., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA * * $Id: encoder.h,v 1.28 2004/03/22 22:36:23 edgomez Exp $ * ****************************************************************************/#ifndef _ENCODER_H_#define _ENCODER_H_#include "xvid.h"#include "portab.h"#include "global.h"/***************************************************************************** * Constants ****************************************************************************//***************************************************************************** * Types ****************************************************************************/typedef int bool;/***************************************************************************** * Structures ****************************************************************************/typedef struct{	int iTextBits;	int iMvSum;	int iMvCount;	int kblks;	int mblks;	int ublks;	int gblks;} Statistics;typedef struct{    int frame_num;    int fincr;	int vol_flags;    int vop_flags;	int motion_flags;	int coding_type;	uint32_t quant;	uint32_t rounding_type;	uint32_t fcode;	uint32_t bcode;	uint32_t seconds;	uint32_t ticks;	int64_t stamp;	IMAGE image;	MACROBLOCK *mbs;	WARPPOINTS warp;		/* as in bitstream */	GMC_DATA gmc_data;		/* common data for all MBs */	NEW_GMC_DATA new_gmc_data;		/* common data for all MBs */    int length;         /* the encoded size of this frame */	Statistics sStat;	int is_edged, is_interpolated;} FRAMEINFO;#endif

⌨️ 快捷键说明

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