Skip to contentSkip to conversation

IMG_jpeg_vlc-- How to use?

DISCUSSION prakhar vig 1 participant 1 message Apr 10, 2006

lore
Share & tools
lore
#0 lore raw

Hi All,

I am trying to use a variable length coding library present in IMGLIB, for my huffman encoding of a JPEG file. I am facing certain problems i.e:

void IMG_jpeg_vlc(int *input_data, int *output_stream, int type);

a)In this function length of output is data-dependent. I am confused, what should be the size of an output_stream array for 8x8 input data, and how many bits of output_stream I have to write to a final JPEG file.

If someone know something in this regard, please help me.

Thanks And Regards
Prakhar

__________________________________________________________
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com