[XviD-devel] Regarding the BitstreamPutBits function in the bitstream.h file

pross@xvid.org pross at xvid.org
Tue Mar 11 09:41:55 CET 2008


On Fri, Mar 07, 2008 at 12:57:51AM -0800, Naveen Kumar wrote:
> I am trying to understand the xvid code downloaded from the xvid.org site.CAn amy one help me in explaining the BitstreamPutBits function as given below:,means what the function is exactly doing.
> static void __inline
> siso_mpeg4enc_BitstreamPutBits(siso_mpeg4enc_Bitstream * const bs,
>      const uint32_t value,
>      const uint32_t size)

Naveen, while this function resembles our BitstreamPutBits()
function, it was most certainly NOT downloaded from the Xvid.org
website or source code repository.

> Can anyone provide me the link to the documentation for the xvid encoder ,I mean what the function exactly does. and even the explanation for the structure members

There is no documention for the PutBits function. The porpose
of the PutBits function is to append bits to buffer IAW with the
multi-byte ordering rules defined in ISO/IEC 14496-2. To find
out "how it works" you need to read and workthrough code.

If you have specific questions, I am more than willing to answer
them.

-- pete (the best software debugger is known as /dev/brain)


More information about the XviD-devel mailing list