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. thanks in advance.68 Replies
- Altera_Forum
Honored Contributor
hi akira, thanks a lot.
use jtag? how? how use printf in nios2-terminal? i remined you, i want to write a data and send it(.jpeg). thanks in advance. - Altera_Forum
Honored Contributor
have you done "helloworld" on NiosII?
just printf("hello from NiosII"); I meant that. for( loop = 0; loop < imagesize; loop++) { printf("%02x ",jpegimage[loop]); } this gives your memory image as hex-text-data. - Altera_Forum
Honored Contributor
hi akira, thanks a lot, i don't inderstand nathing,
forget to all. my question is: i can use hostfilesystem(fopen("/mnt/host/img.jpg","wb"))??, i created my out put file in (/mnt/host)?? if yes ,how pleaz. thanks in advance. - Altera_Forum
Honored Contributor
You can, if you are using the host filesystem (not the rozip flash filesystem) AND are running your application with the debugger.
- Altera_Forum
Honored Contributor
hi Daixiwen,thanks a lot.
yes i try this and i run my project in debug mode but i don't have a output(the debug is very heavy)? are there stepes to use host file system before debug or no? thanks in advance. - Altera_Forum
Honored Contributor
--- Quote Start --- hi Daixiwen,thanks a lot. yes i try this and i run my project in debug mode but i don't have a output(the debug is very heavy)? are there stepes to use host file system before debug or no? thanks in advance. --- Quote End --- http://www.alteraforum.com/forum/showthread.php?t=37661 - Altera_Forum
Honored Contributor
right.
thank you ted. hey sinem. I apologize, whole thing I told you. the video ted gave you is your answer. sorry. - Altera_Forum
Honored Contributor
hi
I want to cross compile OpenCV library for ALTERA Nios 2 processor but I have little experience in makefiles and I want to know what are the steps generally followed to create a makefiles , makefile for opencv , removing the gui components and finally building the library with my application .thaks a lot. - Altera_Forum
Honored Contributor
--- Quote Start --- 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. thanks in advance. --- Quote End --- Hello Sinam can it be possible to share your source code of h.264, As i have CCD camera and i streaming its video in a raw format (without compression) over LAN. - Altera_Forum
Honored Contributor
hi kaushal, I download the source code from net, this is a lien http://iphome.hhi.de/suehring/tml/