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

📄 image.h

📁 xvid解码的精简版本.非常好的版本,节省了分离xvid源代码的过程
💻 H
字号:
/***************************************************************************** * *  XVID MPEG-4 VIDEO CODEC *  - Image related header  - * *  Copyright(C) 2001-2004 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: image.h,v 1.15 2005/09/09 12:18:10 suxen_drol Exp $ * ****************************************************************************/#ifndef _IMAGE_H_#define _IMAGE_H_#include <stdlib.h>#include "portab.h"#include "global.h"#include "colorspace.h"#include "xvid.h"#define EDGE_SIZE  64static void __inlineimage_null(IMAGE * image){	image->y = image->u = image->v = NULL;}int32_t image_create(IMAGE * image,					 uint32_t edged_width,					 uint32_t edged_height);void image_destroy(IMAGE * image,				   uint32_t edged_width,				   uint32_t edged_height);void image_swap(IMAGE * image1,				IMAGE * image2);void image_copy(IMAGE * image1,				IMAGE * image2,				uint32_t edged_width,				uint32_t height);void image_setedges(IMAGE * image,					uint32_t edged_width,					uint32_t edged_height,					uint32_t width,					uint32_t height,					int bs_version);int image_output(IMAGE * image,				 uint32_t width,				 int height,				 uint32_t edged_width,				 uint8_t * dst[4],				 int dst_stride[4],				 int csp,				 int interlaced);voidoutput_slice(IMAGE * cur, int stride, int width, xvid_image_t* out_frm, int mbx, int mby,int mbl);voidimage_clear(IMAGE * img, int width, int height, int edged_width,					int y, int u, int v);#endif							/* _IMAGE_H_ */

⌨️ 快捷键说明

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