jpeg huffman table decoding
Posted: Wed Jan 28, 2004 5:01 am
hi all, Im trying to write a simple jpeg decoder, Im stuck at the stage of huffman table format in jpegs, some encoders use standard huffman codewords some create their own huffman tables (and codewords), my problem is that codewords are not directly given in huffman table of jpeg so my question is: do we have to create huffman tree -from huffman table given in jpeg file- in order to get codewords or is there a simpler method to get codewords from a jpeg file's huffman table? I dont want to get into tree creation, im looking for a more easier way. Thanx.