decolor.h

来自「JPEG解压软件,包含PC端的测试程序,程序结构比较清晰」· C头文件 代码 · 共 42 行

H
42
字号


#ifndef _JPEG_DECOLOR_H
#define _JPEG_DECOLOR_H

#include "AMPlat.h"
#include "AMComDef.h"


#define OUTPUT_ORDER_BGR


typedef struct tagDecolorParam
{		

	MByte	*pY; 
	MByte	*pCb; 
	MByte	*pCr; 	
	MByte	*outRGB;
	
	int		*COE_Cr;
	int		*COE_Cb;

#ifdef __WIN32__
	int		OutWidth;
	int		OutLineCount;
	int		BackBytes;
#endif

} DECOLOR_PARAM, * LPDECOLOR_PARAM;



MVoid JPG_YCMK_DeColor( int size, LPDECOLOR_PARAM pDecolorParam, int offset) ;

MVoid JPG_TrueColor_DeColor( register MByte *ColorLimitTable, int size, LPDECOLOR_PARAM pDecolorParam, int offset) ;
 
MVoid JPG_GrayScale_DeColor (int size, LPDECOLOR_PARAM pDecolorParam, int offset);


#endif /* _JPEG_DECOLOR_H */

⌨️ 快捷键说明

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