[theora-dev] DCT in Theora

Timothy B. Terriberry tterribe at xiph.org
Mon Mar 28 08:52:45 PDT 2011

> I put debug code in a function in C,
> but the function oc_enc_fdct8x8() not called.
> Why?

There is no function oc_enc_fdct8x8. It's a macro, which usually calls a 
platform-specific version via _enc->opt_vtable.fdct8x8, though on some 
platforms, it will call a specific version directly (e.g., 
oc_enc_fdct8x8_x86_64sse2 on x86-64). All of the functions with 
platform-specific accelerated versions work like this. If you want to 
force oc_enc_fdct8x8_c (the unaccelerated version) to be called, then 
build without assembly optimizations enabled (e.g., pass --disable-asm 
to configure).

More information about the theora-dev mailing list