例如:
在"/data/misc/media/out.yuv"后面添加序号操作,并输出在path
char path[128] = {0};
int Num=this->mNumPitcture;
sprintf(path,"/data/misc/media/out%d.yuv", Num);
msg.pBuffer->saveToFile(path);
例如:
在"/data/misc/media/out.yuv"后面添加序号操作,并输出在path
char path[128] = {0};
int Num=this->mNumPitcture;
sprintf(path,"/data/misc/media/out%d.yuv", Num);
msg.pBuffer->saveToFile(path);