[FFmpeg-devel] manually hacked configure options increase h264 decoding speed significantly

madshi madshi at gmail.com
Thu Oct 20 13:27:00 CEST 2011


2011/10/20 Michael Niedermayer <michaelni at gmx.at>

> for the configure side, it just tries to compile, link and run:
>    (this needs -O3)
>
> #include <signal.h>
> static void sighandler(int sig){
>    raise(SIGTERM);
> }
> int main(void){
>    signal(SIGILL, sighandler);
>    signal(SIGFPE, sighandler);
>    signal(SIGSEGV, sighandler);
> #ifdef SIGBUS
>    signal(SIGBUS, sighandler);
> #endif
>    {
>    volatile int i=0;
>    __asm__ volatile (
>        "xorl %%ebp, %%ebp"
>    ::: "%ebp");
>    return i;
>     }
> }
>

I've simply added that code to one of the C files
and tried to compile it. I'm getting this complaint:

"error: bp cannot be used in asm here"

Best regards, Mathias.


More information about the ffmpeg-devel mailing list