[Ffmpeg-devel] [PATCH] H264 cabac vlc reading code

Diego Biurrun diego
Mon Oct 16 00:41:08 CEST 2006


On Mon, Oct 16, 2006 at 01:33:31AM +0300, Uoti Urpala wrote:
> 
> Here's the patch. At the moment it never uses asm code outside
> decode_cabac_residual at all; that could be changed.
> 
> --- cabac.h	(revision 6704)
> +++ cabac.h	(working copy)
> @@ -372,12 +376,12 @@
>      asm volatile(
> -        "movzbl (%1), %%eax                     \n\t"
> -        "movl "RANGE    "(%2), %%ebx            \n\t"
> -        "movl "RANGE    "(%2), %%edx            \n\t"
> +        "movzbl (%[state]), %%eax                     \n\t"
> +        "movl %[range], %%ebx                   \n\t"
> +        "movl %[range], %%edx                   \n\t"

Note: If/when you commit this, please leave the \n\t column aligned.
Same below.

Diego




More information about the ffmpeg-devel mailing list