Files
EF3-Interface/PcDmis/Base/Interfac/Msi/Hsi/Tools/UsbUtility/UsbUtil/VideoCardDefine.h
T
2014-08-12 13:56:06 +08:00

38 lines
603 B
C

#pragma once
//ת»»ÀàÐÍ
typedef enum{
RGB24TORGB = 0,
YUY2TORGB,
RGB24TOGRAY,
YUY2TOGRAY
}ConvertColorType;
typedef struct Image_Buffer
{
unsigned char ScanLine[480][640*3];
Image_Buffer()
{
for (int i=0;i<480;i++)
{
for (int j=0;j<640*3;j++)
{
ScanLine[i][j]=0;
}
}
};
}Image_Buffer;
typedef struct Image_Buffer2
{
unsigned char ScanLine[576][768*3];
Image_Buffer2()
{
for (int i=0;i<576;i++)
{
for (int j=0;j<768*3;j++)
{
ScanLine[i][j]=0;
}
}
};
}Image_Buffer2;