Hello,

I'm trying to develop a program (for WinCE) that can give me decoded data by accepting
input (that is, encoded data - JPEG for example) in chunks. This need arose
because in the case that I'm working on, the whole encoded file is not
available at one go. The stream of encoded data keeps on coming.

I'm using ImgSimple sample code as reference which is available. (available
in %_PUBLICROOT%\GDIEX\SDK\SAMPLES\ImgSinple)

Just to clear upon what exactly I'm trying to get, example given below will
help:
Suppose we have a 320x240 image. and the whole encoded data is not with us
for use. What I need is, that what ever data we have, we pass it to the
decoder and it gives the corresponding decoded data and we start rendering it.

So, the output to user will look something like this:
Step 1: no image can be viewed
Step 2: 320x60 image can be viewed
Step 3: 320x120 image can be viewed
Step 4: 320x180 image can be viewed
Step 5: Full image can be viewed

Now, my query is that is this possible first of all in WinMo? And if it is
possible, am I using the right reference?

In what chunks the input data should be given? Like raw by raw or macro block
by macro block or any other way? Any pointers on how it can be done will be
appreciated.

Thanks in advance.

Tanmay