another base code submission

"Oztan Harmanci" <[email protected]> Sun, 20 Jul 2003 11:37:33 -0400
Newsgroups gmane.comp.video.h264.devel
Message-ID <[email protected]>
A few days ago I sent a piece of code, but due to its size it has
been waiting for modertator approval since then. Apparently
the list is moderated but there is no moderator so I am sending
a smaller version now hoping that it will pass the size limit(40K?)

Here is another piece of code(VC6.0) that we may consider. Most 
of the decoder side maintenance functionality is implemented:
- bitstream management
- basic decoding needs(exp-golomb decoding)
- config file parsing
- detailed trace operations

Plus I implemented a NAL layer interface. It can easily be replaced 
by a network based NAL layer. Currently all the necessary NAL 
operations ( i.e. nalhdr parsing and start code emulation byte removal ) 
are handled. I think we can use it until an optimized version comes.

It can decode a bitstream until the first CAVLC variable which 
happens inside the macroblock_layer function. So if anyone is interested, 
you can pick it up from the exit() call in the macroblock_layer parser.

I dont know whether it is ANSI C compatible, but it is not C++. It 
is probably something in between :).

Please have a look at the code. I think it is a pretty good starting 
point. It obviously doesnt do anything about video coding
(no block operations, quantization or transformations). but since 
Lukasz is currently converting Aitor's C++ code about those stuff,
it shouldnt be a big problem to combine both codes. Then we can 
get on to some real coding.

Regards,
Oztan

PS: Long variable names are due to copying directly from the
standard doc's pseudo code. We should replace them as soon as we are
comfortable with the std.
submit.zip (application/x-zip-compressed, 33.9 KB) - not displayed