[x264-devel] x264 Decoder

Stephen Henry stephenry at gmail.com
Tue Jul 12 14:41:45 CEST 2005


Hi all,

I am working on the x264 decoder to see if I can get it working. I am
having trouble with the variable length coder section and was hoping
if someone out there could help me:

The decoder software contains "x264_vlc_table_loop_new" functions that
are used to derive VLC look up tables. I don't understand what these
are used for and when they are called in the program they crash. It
appears to me that similar functionality is already contained within
common/vlc.h.

Given the fact that the decoder doesn't have prior knowledge of the
length of codeword to read from the bitstream, whereas the encoder
does know the length to write, is it really necessary to have two
seperate implementations for the encoder and the decoder? If this is
so, would I be right in thinking that the decoder's code simply reads
one bit at a time and then compares it against all possible codewords
with a matching bit; continuing until a valid codeword has been found?
Or, is there a more efficient mechanism for doing this?

Thanks,

Stephen

-- 
This is the x264-devel mailing-list
To unsubscribe, go to: http://developers.videolan.org/lists.html



More information about the x264-devel mailing list