OSDev.org

The Place to Start for Operating System Developers
It is currently Sat May 04, 2024 1:25 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: jpeg huffman table decoding
PostPosted: 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.


Top
  
 
 Post subject: Re:jpeg huffman table decoding
PostPosted: Wed Jan 28, 2004 1:53 pm 
hi, I have done it in the hard way and generated the codewords from jpeg's huffman table, but im open to other ideas since this thing is complex and might have bugs, I could not test it with enough encoders, but it creates 150 codewords for default ac list correctly , I hope it works ok...


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group