34 lines
623 B
C
34 lines
623 B
C
#ifndef __CONVERT_H__
|
|
#define __CONVERT_H__
|
|
#include "windows.h"
|
|
|
|
#ifdef __cplusplus
|
|
#define CONVERT extern "C" __declspec (dllexport)
|
|
#else
|
|
#define CONVERT __declspec (dllexport)
|
|
#endif
|
|
|
|
#ifndef UINT32
|
|
#define UINT32 unsigned long
|
|
#endif
|
|
|
|
#ifndef SINT32
|
|
#define SINT32 long
|
|
#endif
|
|
|
|
#ifndef UINT16
|
|
#define UINT16 unsigned short
|
|
#endif
|
|
|
|
#ifndef SINT16
|
|
#define SINT16 short
|
|
#endif
|
|
|
|
#ifndef UINT8
|
|
#define UINT8 unsigned char
|
|
#endif
|
|
|
|
CONVERT VOID WINAPI InitTables(); //³õʼ»¯YUV422ת»»±í
|
|
//YUV422תRGB24
|
|
CONVERT VOID WINAPI Convert422(UINT32 XSize,UINT32 YSize,UINT8 *pBuf,UINT8 *pBGR);
|
|
#endif |