Forum Discussion
Altera_Forum
Honored Contributor
13 years agoNiosII
hi I have a source code of compression vidéo (h.264 ,jpeg) how is exécutable in visual studio c++,my problem is how to implement this code in NiosII ,how to convert this source code in niosII. th...
Altera_Forum
Honored Contributor
13 years agothis is C-source
//////////////////////// sample on PC ////////////////////////////////////// fpw = open("C:/sample.jpg","w"); write( imagedata, datasize, 1, fpw); close(fpw); ////////////////////////////////////////////////////////////////////////////// ok if you run this program on PC. this code create a file sample.jpg on C drive root. right? you can pick up the file form "C:/sample.jpg" now,this is a question. //////////////////////// sample on Nios ////////////////////////////////////// fpw = open("sample.jpg","w"); write( imagedata, datasize, 1, fpw); close(fpw); ////////////////////////////////////////////////////////////////////////////// where do you think the file is created? what do you say?