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);
}