编译失败
Posted: Fri Jul 02, 2021 7:22 am
我调用了这个YUV2RGB422函数就会编译失败,不知道为什么。
RgbAndYuv.c
main.c
RgbAndYuv.c
Code: Select all
void YUV2RGB422(unsigned char *pRGB, unsigned char *pYUV,int size)
{
}
main.c
Code: Select all
#include <stdio.h>
#include "RgbAndYuv.h"
#include "sd_card.h"
#include "algFile.h"
#define SIZE2 (512*512)
#define SIZE (208*32)
unsigned char rgb[SIZE2*3];//默认栈的大小为1mb
void app_main(void)
{
unsigned char buf[SIZE*2];
YUV2RGB422(rgb, buf, SIZE);
}