mom_image.p

来自「本资源主要是MPEG-4压缩编码算法的C源码实现」· P 代码 · 共 138 行

P
138
字号
/*
 * This file was automatically generated by 'Makefile'.
 *
 * DO NOT EDIT BY HAND : your modifications will be lost.
 *
 */

#ifndef _mom_image_P
#define _mom_image_P

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */


/* vm_common/src/mom_image.c */
Image * 	AllocImage _P_((	UInt size_x,
			UInt size_y,
			ImageType type
	));
#if 0 /*by cnwang, 06/18/02*/
Image * 	AllocSameImage _P_((	Image *image
	));
#endif /*by cnwang, 06/18/02*/
Void  	ReallocImage _P_((	Image *image,
			UInt size_x,
			UInt size_y
	));
Void  	FreeImage _P_((	Image *image
	));
#if 0 /*by cnwang, 06/21/02*/
ImageI * 	AllocImageI _P_((	UInt size_x,
			UInt size_y
	));
ImageF * 	AllocImageF _P_((	UInt size_x,
			UInt size_y
	));
#endif /*by cnwang, 06/21/02*/
#if 0 /*by cnwang, 06/18/02*/
ImageI * 	AllocSameImageI _P_((	ImageI *image
	));
ImageF * 	AllocSameImageF _P_((	ImageF *image
	));

Void  	ReallocImageI _P_((	ImageI *image,
			UInt size_x,
			UInt size_y
	));
Void  	ReallocImageF _P_((	ImageF *image,
			UInt size_x,
			UInt size_y
	));
Void  	FreeImageI _P_((	ImageI *image
	));
Void  	FreeImageF _P_((	ImageF *image
	));
Void   CopyImage _P_((	Image *image_in,
			Image *image_out
	));
#endif /*by cnwang, 06/18/02*/
Void  	CopyImageI _P_((	ImageI *image_in,
			ImageI *image_out
	));
#if 0 /* by cnwang, 06/18/02*/ 
Void  	CopyImageF _P_((	ImageF *image_in,
			ImageF *image_out
	));

Void  	SetConstantImage _P_((	Image *image,
			Float val
	));
#endif /* by cnwang, 06/18/02*/ 
Void  	SetConstantImageI _P_((	ImageI *image,
			SInt val
	));
Void  	SetConstantImageF _P_((	ImageF *image,
			Float val
	));
#if 0  /*by cnwang, 06/18/02*/
Void  	AddImage _P_((	Image *image_in1,
			Image *image_in2,
			Image *image_out
	));
#endif /*by cnwang, 06/18/02*/
#if 0 /*by cnwang, 06/20/02*/
Void  	AddImageI _P_((	ImageI *image_in1,
			ImageI *image_in2,
			ImageI *image_out
	));
#endif /*by cnwang, 06/20/02*/
#if 0  /*by cnwang, 06/18/02*/
Void  	AddImageF _P_((	ImageF *image_in1,
			ImageF *image_in2,
			ImageF *image_out
	));

Void  	SubImage _P_((	Image *image_in1,
			Image *image_in2,
			Image *image_out
	));
#endif /*by cnwang, 06/18/02*/
Void  	SubImageI _P_((	ImageI *image_in1,
			ImageI *image_in2,
			ImageI *image_out
	));
#if 0  /*by cnwang, 06/18/02*/
Void  	SubImageF _P_((	ImageF *image_in1,
			ImageF *image_in2,
			ImageF *image_out
	));
#endif /*by cnwang, 06/18/02*/
Float  	PSNRImage _P_((	Image *image1,
			Image *image2
	));
#if 0  /*by cnwang, 06/18/02*/
Float  	MSEImage _P_((	Image *image1,
			Image *image2
	));
#endif /*by cnwang, 06/18/02*/
Float  	MSEImageI _P_((	ImageI *image1,
			ImageI *image2
	));
Char * 	emalloc _P_((	Int n
	));
Char * 	ecalloc _P_((	Int n,
			Int s
	));
Char * 	erealloc _P_((	Char *p,
			Int n
	));
Void  	runerr _P_((	Char *error_msg,
			Int exit_code
	));
#ifdef __cplusplus
}
#endif /* __cplusplus  */ 
#endif /* _mom_image_P  */ 

⌨️ 快捷键说明

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