[Ffmpeg-devel] [PATCH] clearer cabac.c

Michael Niedermayer michaelni
Wed Oct 11 20:04:25 CEST 2006


Hi

On Wed, Oct 11, 2006 at 06:32:13PM +0200, Guillaume Poirier wrote:
> Hi,
> The attached patch adds some useful comments after some of the #else,
> #elseif, #endif preprocessor directives.
> This makes the file a tad more readable IMHO.

ok, except these:

> -#else
> +#else /* ARCH_X86_DISABLED */
>      //P3:675    athlon:476
>      int shift= (uint32_t)(c->range - (0x200 << CABAC_BITS))>>31;
>      c->range<<= shift;
>      c->low  <<= shift;
> -#endif
> +#endif /* ARCH_X86_DISABLED */
>      if(!(c->low & CABAC_MASK))
>          refill(c);
>  }

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In the past you could go to a library and read, borrow or copy any book
Today you'd get arrested for mere telling someone where the library is




More information about the ffmpeg-devel mailing list