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

📄 mvimage.h

📁 优化过的xvid1.1.2源代码
💻 H
字号:
#ifndef __MVIMAGE_H__#define __MVIMAGE_H__
/* these functions are extracted from image.h file
*  their work is picture operation 
* 20070122 wuhaibin
*/
void image_null(IMAGE * image);

void init_image(uint32_t cpu_flags);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);
/*the function parameter had been modified by wuhaibin,
*out_len is the length of decoded frame, it should be a 
*constant width * height * 3/2
*wuhaibin 20070122*/ 
int image_output(IMAGE * image, uint32_t width, int height,				 uint32_t edged_width, uint8_t * dst, int dst_stride,
				 uint32_t *out_len, uint32_t type);void image_clear(IMAGE * img, int width, int height, int edged_width,					       int y, int u, int v);void image_setedges(IMAGE * image, uint32_t edged_width,
			              uint32_t edged_height, uint32_t width,
			              uint32_t height, int bs_version);
void  image_swap(IMAGE * image1,IMAGE * image2);void  image_copy(IMAGE * image1,
				   IMAGE * image2,
				   uint32_t edged_width,
				   uint32_t height);

#endif							/* _IMAGE_H_ */

⌨️ 快捷键说明

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