BMP图像显示问题 提示'mixColor' undefined; assuming extern returning int错误
这个样子的话是不是mixColor没有提前申明??原函数是
T_Message RecvMsg;
INT32U color1 = 0xff00ff00, i, j;
INT32U color2 = 0x900000ff, color3=0xff001800, *pImgpixel, *pImgGhost,*pMenuP,*pMenuG;
INT32 inc=1;
float alpha;
OSD_RECT rect,rect2;
pImgpixel = (INT32U*)DTOS_DRV_AllocateMemory(160*500*sizeof(INT32U)); //定义一个160×500的内存 用于存储菜单栏的像素
pImgGhost = (INT32U*)DTOS_DRV_AllocateMemory(160*500*sizeof(INT32U));
pMenuP = (INT32U*)DTOS_DRV_AllocateMemory(200*280*sizeof(INT32U)); //用于子菜单标志的显示
pMenuG = (INT32U*)DTOS_DRV_AllocateMemory(200*280*sizeof(INT32U));
while(1)
{
memcpy(pImgGhost, pImgpixel, 160*500*sizeof(INT32U)); //将子菜单的像素数据copy到pImgGost中
index=0; //用于菜单标记的特殊色显示
for(i=0;i<45;i++)//混合标记区域 X为区域控制变量
{
for(j=0;j<160;j++)
{
pImgGhost[i*160+x+j] = mixColor(pImgpixel[i*160+x+j], color2, alpha);
index++;
...........................................以下省略
该怎么定义呢