Re: DCT in Theora

"Timothy B. Terriberry" <[email protected]> Mon, 28 Mar 2011 08:52:45 -0700
Newsgroups gmane.comp.multimedia.ogg.theora.devel
Message-ID <[email protected]>
> 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).