[x264-devel] Re: Extracting the CABAC coder from x264 sources ?

Loren Merritt lorenm at u.washington.edu
Thu Jul 6 00:13:34 CEST 2006


On Wed, 5 Jul 2006, Guillaume POIRIER wrote:

> Hi,
>
> On 7/5/06, Hautbois Jean-Michel <Jean-Michel.Hautbois at thomson.net> wrote:
>> Hi everybody !
>> I wondered if it is possible to extract the cabac encoder from the x264
>> sources, in order to use it in a different project ?
>> There is no commercial use in the background, but a research project.
>> If it is possible, can anyone help me extract the required files and
>> tell me what should be passed to which function, etc. ?
>> 
>> Thanks in advance for your help !
>
> I guess the most important parts are in encoder/cabac.c. You may wanna
> have a look at ffmpeg's cabac implementation which can work on its own
> if you activate the debug/self-test code. AFAIK, it only consists on a
> .c and .h and.

encoder/cabac.c is the H.264-specific part, and depends heavily on data 
structures defined elsewhere in x264.

common/cabac.c is the back-end, which could be used independently.

x264 has an optimized cabac encoder and a non-optimized decoder, ffmpeg 
has an optimized decoder and non-optimized encoder.

--Loren Merritt

-- 
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