Skip to main content
PPanc.1
Associate II
September 2, 2020
Question

LibJPEG Image decompression issue by using ExtFlash stored image.

  • September 2, 2020
  • 0 replies
  • 585 views

Hello Team,

I've a 64MB flash from custom board.

I able to flash JPEG hex array to Flash section @ 0x90000000.

Flash image array verify in memory mapped mode and show data in memory section of IDE in proper manner.

Now,In TouchGFX designer ScreenView.cpp code there are I'm use LibJPEG library for decompressed image.Library code also working properly.

But here issue is when I use address then give it SOI error :

jpeg_mem_src(&cinfo,(unsigned char *)(0x90000000),2416); 
 
jpeg_read_header(&cinfo, TRUE);

So,I can't understand if data image array flash properly then why give it error ?

If I provide direct JPEG buffer array like

uint8_t buffer[2416] = {0xFF,0xD8,0xFF,0xE0 ....}
 
jpeg_mem_src(&cinfo,buffer,2416);

Kindly suggest me solution.

Thank you.

Reagrds,

Pratik

This topic has been closed for replies.