codecs.org Part of GStreamer Family
home
SpeciaLib
libcodec
bitstream
Hyperopt
nopcodes
 
SourceForge Logo
 
 
 
 
 
 

What is libcodec?

libcodec is a SpeciaLib-based library containing kernels commonly used by various codecs. This includes MPEG motion compensation and motion estimation, forward and reverse DCT's in both 1 and 2 dimensions, block placement, various vector scaling, and type conversion routines.

Status

Most motion compensation routines have been brought forward from the previous attempt at libcodec, with the exception of a lot of the SSE routines, which is just a matter of doing the brute-force conversion work.

On the other hand, there's an interesting problem with the speed of the routines and the timing function. Adding a single printf() well past the end of the outer timing loop causes wildly different results. More can be found at this page.