Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

JPEG libraries

Altera_Forum
Honored Contributor II
1,219 Views

Hello All,  

 

I am currently working on a project where I have to read image files (JPEG) from a USB and displaying them on the screen. I installed uClinux and I was wondering if you could give me an advice on what libraries to use for the JPEG decoding. Also, could we display the pics using an X window or not? 

 

Thanks. 

 

Bouyaka
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
388 Views

Please check the wiki 

http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operatingsystems/framebuffer

If you use the DE2 board, you can read the USB disk as mass storage device, and display the JPEG file with nxview on nanoX window.
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

 

--- Quote Start ---  

originally posted by hippo@Mar 29 2007, 08:25 PM 

please check the wiki 

http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operatingsystems/framebuffer

if you use the de2 board, you can read the usb disk as mass storage device, and display the jpeg file with nxview on nanox window. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22641) 

--- quote end ---  

 

--- Quote End ---  

 

 

 

Thanks for the prompt answer!! Do you have any good links with information on nxview ? 

 

Thanks. 

 

Bouyaka.
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

 

--- Quote Start ---  

originally posted by bouyaka+mar 30 2007, 04:50 pm--><div class='quotetop'>quote (bouyaka @ mar 30 2007, 04:50 pm)</div> 

--- quote start ---  

<!--quotebegin-hippo@Mar 29 2007, 08:25 PM 

please check the wiki 

http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operatingsystems/framebuffer

if you use the de2 board, you can read the usb disk as mass storage device, and display the jpeg file with nxview on nanox window. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22641) 

--- quote end ---  

 

--- Quote End ---  

 

 

 

Thanks for the prompt answer!! Do you have any good links with information on nxview ? 

 

Thanks. 

 

Bouyaka. 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22685)</div> 

[/b] 

--- Quote End ---  

 

 

I tried following the instructions from the wiki http://nioswiki.jot.com/wikihome/operating...ems/framebuffer (http://nioswiki.jot.com/wikihome/operatingsystems/framebuffer

but I ran into this error when trying to run make in the uClinux-dist/ 

 

arch/nios2nommu/drivers/altfb.c: In function `altfb_probe&#39;: 

arch/nios2nommu/drivers/altfb.c:161: error: `na_vga_controller_0&#39; 

undeclared (first use in this function) 

arch/nios2nommu/drivers/altfb.c:161: error: (Each undeclared 

identifier is reported only once 

arch/nios2nommu/drivers/altfb.c:161: error: for each function it 

appears in.) 

make[2]: *** [arch/nios2nommu/drivers/altfb.o] Error 1 

make[1]: *** [arch/nios2nommu/drivers] Error 2
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

 

--- Quote Start ---  

originally posted by bouyaka@Mar 29 2007, 04:59 PM 

hello all,  

 

i am currently working on a project where i have to read image files (jpeg) from a usb and displaying them on the screen. i installed uclinux and i was wondering if you could give me an advice on what libraries to use for the jpeg decoding. also, could we display the pics using an x window or not? 

 

thanks. 

 

bouyaka 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22636) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi, Bouyaka 

 

I will use USB Camera to read image(JPEG) on DE2 board. 

Can you tall me ,what kind usb camera is your used? 

It&#39;s need porting usb driver? 

Can you teach me? 

thanks 

NiosQ
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

 

--- Quote Start ---  

originally posted by niosq+apr 2 2007, 03:07 am--><div class='quotetop'>quote (niosq @ apr 2 2007, 03:07 am)</div> 

--- quote start ---  

<!--quotebegin-bouyaka@Mar 29 2007, 04:59 PM 

hello all,  

 

i am currently working on a project where i have to read image files (jpeg) from a usb and displaying them on the screen. i installed uclinux and i was wondering if you could give me an advice on what libraries to use for the jpeg decoding. also, could we display the pics using an x window or not? 

 

thanks. 

 

bouyaka 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22636) 

--- quote end ---  

 

--- Quote End ---  

 

 

Hi, Bouyaka 

 

I will use USB Camera to read image(JPEG) on DE2 board. 

Can you tall me ,what kind usb camera is your used? 

It&#39;s need porting usb driver? 

Can you teach me? 

thanks 

NiosQ 

<div align='right'><{post_snapback}> (index.php?act=findpost&pid=22728)</div> 

[/b] 

--- Quote End ---  

 

I am using a normal USB storage device (flash drive) where JPEG pictures will be stored.
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

nxview is a demo program of nanoX. 

when you enable jpeg support in microwin/nanoX, the libjpeg will be selected. 

I updated the wiki.
0 Kudos
Altera_Forum
Honored Contributor II
388 Views

 

--- Quote Start ---  

Hello All,  

 

I am currently working on a project where I have to read image files (JPEG) from a USB and displaying them on the screen. I installed uClinux and I was wondering if you could give me an advice on what libraries to use for the JPEG decoding. Also, could we display the pics using an X window or not? 

 

Thanks. 

 

Bouyaka 

--- Quote End ---  

 

 

Hi,Bouyaka, are you succesfull display the JPEG picture using nxview to VGA monitor?? Currently I also work a project same with you, if u succesfull make it can share experience to me? Thanks very much for reply =)
0 Kudos
Reply