Reply by "fazal.usicmku" March 29, 20102010-03-29
Is there is any free BMP to C file converter (8 bit data) for innolux LCD?

Please post me the like to download...

faj

An Engineer's Guide to the LPC2100 Series

Reply by Nicholas Lusty March 26, 20102010-03-26
Hi Fazal,

Id have thought the frame rate depends on many things. If the LCD can
display at the same time it is being updated, and all the data is
preprepared, the maximum frame-rate should simply be a matter of
calculating the inverse of (the number of words to be transferred x the
time to transfer a word) i.e. the time to update a frame. However if you
need to do some work calculating the frame, this also needs to be added
to the denominator in the calculation.

i.e. Frame Rate = 1 / (T1 + T2 + T3 + T4...)

Where
T1 is the calculation time
T2 is the transfer time
T3, T4 is any other time that need to be considered (Maybe in the LCD
specs).

Nick

fazal.usicmku wrote:
>
> I have tried to find the LPC2478 possible frame rate through user
> manual and NXP support. Both gives nothing.
>
> Any of members already done video stream or image display system on
> LPC2478...
>
> Any references or sample codes are welcome.
>
> Faz
>
> --- In l... ,
> Gurkan Karakus wrote:
> >
> >
> >
> > I dont know your lcd controllers refresh rate but since your camera
> output is jpeg coded, you will have to decode jpeg camera outputs
> first. Decoding jpeg takes a lot of cpu time...
> >
> > Gurkan
> >
> >
> >
> >
> > To: l...
> > From: fazal.usicmku@...
> > Date: Thu, 25 Mar 2010 07:34:42 +0000
> > Subject: [lpc2000] Re: LPC2478 + Innolux LCD
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Per frame is 200 x 100 Res and 20 frames per second. Why this is not
> possible?
> >
> >
> >
> > what is the maximum frame rate for LPC2478 LCD controller?
> >
> >
> >
> > --- In l... ,
> Gurkan Karakus wrote:
> >
> > >
> >
> > >
> >
> > >
> >
> > > Hi,
> >
> > >
> >
> > > I dont think you can reach that frame rate with lpc2478.
> >
> > > You may think of lcd driver controller with jpeg decoders(like
> http://www.solomon-systech.com ).
> >
> > >
> >
> > > Gurkan
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > > To: l...
> >
> > > From: fazal.usicmku@
> >
> > > Date: Thu, 25 Mar 2010 06:20:18 +0000
> >
> > > Subject: [lpc2000] Re: LPC2478 + Innolux LCD
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > >
> >
> > > Thanks for your reply.
> >
> > >
> >
> > >
> >
> > >
> >
> > > Now i am moving next step,, :-)
> >
> > >
> >
> > >
> >
> > >
> >
> > > My next step is display the video stream (20 frames per second)
> over LPC2478 and LCD.
> >
> > >
> >
> > >
> >
> > >
> >
> > > Can you give me some points to get it work.
> >
> > >
> >
> > >
> >
> > >
> >
> > > Sorry to post such thing here. But I am new in embedded systems... :-)
> >
> > >
> >
> > >
> >
> > >
> >
> > > Faz
> >
> > >
> >
> > >
> >
> > >
> >
> > > --- In l... ,
> "rtstofer" wrote:
> >
> > >
> >
> > > >
> >
> > >
> >
> > > >
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > --- In l...
> , "fazal.usicmku"
> wrote:
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > > Thanks for your replies.
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > > Its okay about bmp images. How I can try for comprised image
> data? Actually my application camera module outputs compressed or
> uncompressed JPG format only.
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > > Any suggestions are welcome.
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > > > faz
> >
> > >
> >
> > > > >
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > Google for 'jpeg decompression algorithm c code' and you should
> find something.
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > Google for 'jpeg file format' and you might get:
> >
> > >
> >
> > > > http://www.jpeg.org/public/jfif.pdf
>
> >
> > >
> >
> > > >
> >
> > >
> >
> > > > Richard
> >
> > >
> >
> > > >
> >
> > >
> >

Reply by "fazal.usicmku" March 26, 20102010-03-26
I have tried to find the LPC2478 possible frame rate through user manual and NXP support. Both gives nothing.

Any of members already done video stream or image display system on LPC2478...

Any references or sample codes are welcome.

Faz

--- In l..., Gurkan Karakus wrote:
>
> I dont know your lcd controllers refresh rate but since your camera output is jpeg coded, you will have to decode jpeg camera outputs first. Decoding jpeg takes a lot of cpu time...
>
> Gurkan
> To: l...
> From: fazal.usicmku@...
> Date: Thu, 25 Mar 2010 07:34:42 +0000
> Subject: [lpc2000] Re: LPC2478 + Innolux LCD
>
>
>
>
>
>
> Per frame is 200 x 100 Res and 20 frames per second. Why this is not possible?
>
> what is the maximum frame rate for LPC2478 LCD controller?
>
> --- In l..., Gurkan Karakus wrote:
>
> > > > > Hi,
>
> > > I dont think you can reach that frame rate with lpc2478.
>
> > You may think of lcd driver controller with jpeg decoders(like http://www.solomon-systech.com).
>
> > > Gurkan
>
> > > > > > To: l...
>
> > From: fazal.usicmku@
>
> > Date: Thu, 25 Mar 2010 06:20:18 +0000
>
> > Subject: [lpc2000] Re: LPC2478 + Innolux LCD
>
> > > > > > > > > > > > > > > > > > > >
>
> > > > >
>
> > > >
>
> >
>
> >
>
> >
>
> > > > > Thanks for your reply.
>
> > > > > Now i am moving next step,, :-)
>
> > > > > My next step is display the video stream (20 frames per second) over LPC2478 and LCD.
>
> > > > > Can you give me some points to get it work.
>
> > > > > Sorry to post such thing here. But I am new in embedded systems... :-)
>
> > > > > Faz
>
> > > > > --- In l..., "rtstofer" wrote:
>
> > > > > > > > > > > > > --- In l..., "fazal.usicmku" wrote:
>
> > > > > > > > > > > > > > > > > Thanks for your replies.
>
> > > > > > > > > Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.
>
> > > > > > > > > Any suggestions are welcome.
>
> > > > > > > > > faz
>
> > > > > > > > > > > Google for 'jpeg decompression algorithm c code' and you should find something.
>
> > > > > > > Google for 'jpeg file format' and you might get:
>
> > > > http://www.jpeg.org/public/jfif.pdf
>
> > > > > > > Richard
>
> > > >

Reply by Gurkan Karakus March 25, 20102010-03-25
I dont know your lcd controllers refresh rate but since your camera output is jpeg coded, you will have to decode jpeg camera outputs first. Decoding jpeg takes a lot of cpu time...

Gurkan

To: l...
From: f...@yahoo.com
Date: Thu, 25 Mar 2010 07:34:42 +0000
Subject: [lpc2000] Re: LPC2478 + Innolux LCD

Per frame is 200 x 100 Res and 20 frames per second. Why this is not possible?

what is the maximum frame rate for LPC2478 LCD controller?

--- In l..., Gurkan Karakus wrote:

>

>

>

> Hi,

>

> I dont think you can reach that frame rate with lpc2478.

> You may think of lcd driver controller with jpeg decoders(like http://www.solomon-systech.com).

>

> Gurkan

>

>

>

>

> To: l...

> From: fazal.usicmku@...

> Date: Thu, 25 Mar 2010 06:20:18 +0000

> Subject: [lpc2000] Re: LPC2478 + Innolux LCD

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

>

> Thanks for your reply.

>

>

>

> Now i am moving next step,, :-)

>

>

>

> My next step is display the video stream (20 frames per second) over LPC2478 and LCD.

>

>

>

> Can you give me some points to get it work.

>

>

>

> Sorry to post such thing here. But I am new in embedded systems... :-)

>

>

>

> Faz

>

>

>

> --- In l..., "rtstofer" wrote:

>

> >

>

> >

>

> >

>

> > --- In l..., "fazal.usicmku" wrote:

>

> > >

>

> > >

>

> > >

>

> > > Thanks for your replies.

>

> > >

>

> > > Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.

>

> > >

>

> > > Any suggestions are welcome.

>

> > >

>

> > > faz

>

> > >

>

> >

>

> > Google for 'jpeg decompression algorithm c code' and you should find something.

>

> >

>

> > Google for 'jpeg file format' and you might get:

>

> > http://www.jpeg.org/public/jfif.pdf

>

> >

>

> > Richard

>

> >

>
Reply by "fazal.usicmku" March 25, 20102010-03-25
Per frame is 200 x 100 Res and 20 frames per second. Why this is not possible?

what is the maximum frame rate for LPC2478 LCD controller?

--- In l..., Gurkan Karakus wrote:
>
> Hi,
>
> I dont think you can reach that frame rate with lpc2478.
> You may think of lcd driver controller with jpeg decoders(like http://www.solomon-systech.com).
>
> Gurkan
> To: l...
> From: fazal.usicmku@...
> Date: Thu, 25 Mar 2010 06:20:18 +0000
> Subject: [lpc2000] Re: LPC2478 + Innolux LCD
>
>
>
>
>
>
>
>
> Thanks for your reply.
>
> Now i am moving next step,, :-)
>
> My next step is display the video stream (20 frames per second) over LPC2478 and LCD.
>
> Can you give me some points to get it work.
>
> Sorry to post such thing here. But I am new in embedded systems... :-)
>
> Faz
>
> --- In l..., "rtstofer" wrote:
>
> > > > > --- In l..., "fazal.usicmku" wrote:
>
> > > > > > > > > Thanks for your replies.
>
> > > > > Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.
>
> > > > > Any suggestions are welcome.
>
> > > > > faz
>
> > > > > Google for 'jpeg decompression algorithm c code' and you should find something.
>
> > > Google for 'jpeg file format' and you might get:
>
> > http://www.jpeg.org/public/jfif.pdf
>
> > > Richard
>
>

Reply by Gurkan Karakus March 25, 20102010-03-25
Hi,

I dont think you can reach that frame rate with lpc2478.
You may think of lcd driver controller with jpeg decoders(like http://www.solomon-systech.com).

Gurkan

To: l...
From: f...@yahoo.com
Date: Thu, 25 Mar 2010 06:20:18 +0000
Subject: [lpc2000] Re: LPC2478 + Innolux LCD

Thanks for your reply.

Now i am moving next step,, :-)

My next step is display the video stream (20 frames per second) over LPC2478 and LCD.

Can you give me some points to get it work.

Sorry to post such thing here. But I am new in embedded systems... :-)

Faz

--- In l..., "rtstofer" wrote:

>

>

>

> --- In l..., "fazal.usicmku" wrote:

> >

> >

> >

> > Thanks for your replies.

> >

> > Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.

> >

> > Any suggestions are welcome.

> >

> > faz

> >

>

> Google for 'jpeg decompression algorithm c code' and you should find something.

>

> Google for 'jpeg file format' and you might get:

> http://www.jpeg.org/public/jfif.pdf

>

> Richard

>
Reply by "fazal.usicmku" March 25, 20102010-03-25
Thanks for your reply.

Now i am moving next step,, :-)

My next step is display the video stream (20 frames per second) over LPC2478 and LCD.

Can you give me some points to get it work.

Sorry to post such thing here. But I am new in embedded systems... :-)

Faz

--- In l..., "rtstofer" wrote:
>
> --- In l..., "fazal.usicmku" wrote:
> >
> >
> >
> > Thanks for your replies.
> >
> > Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.
> >
> > Any suggestions are welcome.
> >
> > faz
> > Google for 'jpeg decompression algorithm c code' and you should find something.
>
> Google for 'jpeg file format' and you might get:
> http://www.jpeg.org/public/jfif.pdf
>
> Richard
>

Reply by rtstofer March 24, 20102010-03-24
--- In l..., "fazal.usicmku" wrote:
>
> Thanks for your replies.
>
> Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.
>
> Any suggestions are welcome.
>
> faz
>

Google for 'jpeg decompression algorithm c code' and you should find something.

Google for 'jpeg file format' and you might get:
http://www.jpeg.org/public/jfif.pdf

Richard

Reply by "fazal.usicmku" March 24, 20102010-03-24
Thanks for your replies.

Its okay about bmp images. How I can try for comprised image data? Actually my application camera module outputs compressed or uncompressed JPG format only.

Any suggestions are welcome.

faz

Reply by rtstofer March 23, 20102010-03-23
--- In l..., "fazal.usicmku" wrote:
>
> Hello,
>
> I bought LPC2478 Eval board with Innolux LCD from Embedded artist. The example code "Test10_LCD" for testing LCD is working fine, images are displaying correctly as they coded image data in HEX decimal format in the "logo.c" file.
>
> Well, Now I am trying to display my own images ( *.JPG or *GIF format) by using the same example code. For this i have written a simple C program to convert image ascii data into HEX decimal. And then loaded HEX data into character buffer "logo1[]" defined in "logo.c" But i could not get succeed.
>
> 1)I have doubt that, What type of image file format, being used in Embest example code? Is some specified image file format only works with..?
>
> 2) There is any rules to convert image ascii data into HEX decimal code. (Just i have read the image file in the "rb+" mode and printed to another file in HEX format).
>
> Yours suggestions are welcome about this problem...
>
> faz
>

I just finished a project using the Nokia 6610 with an LPC2148. I used the Olimex BMP to Array converter here:

http://www.olimex.com/dev/soft/BmpToArray.zip

The converter builds a standard C header file so all you need to do is #include it. If you have several images, you will have to edit the name of the array since all are bmp[] = {.....};

The array is in RGB order with 2 pixels spread over 3 bytes - 12 bit color.

You can convert JPG to BMP using Microsoft Paint. Save the result as 24-bit .bmp.

Each pixel of a 24-bit bitmap is actually stored on file as 32 bits - 4 bytes per pixel. If you look at the converter code, you will see where the array is set up for 4 bytes per pixel and the 4th byte is ignored. When the file is converted to a 12-bit per pixel header file, there is no wasted space.

Richard