This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

对bmp图片进行多核处理



您好TI,

           我工程的目的:core0发送Notify通知到core1,core1接收到通知,调用bmp灰度处理函数,对bmp图片1.bmp(IPC_slave工程中)进行灰度处理。

           遇到的问题:我的灰度处理函数bmpmain()函数,在Microsoft Visual Studio 2010上运行可以生成相应处理的灰度图像,但是将程序移植到C6678板子上

                                  时,可以生成.out文件,但是调用bmpmain()中

fp = fopen("1.bmp","rb");
if(fp == NULL)
{
System_printf("打开文件 1.bmp失败!\n");
exit(0);
}

时,打不开1.bmp文件,会输出“打开文件 1.bmp失败”。希望您能给出一些指导,谢谢。工程在附件里

工程.zip