[FFmpeg-devel] [PATCH] IFF demuxer and 8SVX decoder
Jai Menon
realityman
Thu Mar 27 21:44:54 CET 2008
On Wednesday 26 March 2008 21:12:26 Michael Niedermayer wrote:
> uint8_t d = *buf++;
>
> > + esc->fib_acc += esc->table[d & 0x0f];
> > + *out_data++ = esc->fib_acc << 8;
> > + esc->fib_acc += esc->table[d >> 4];
> > + *out_data++ = esc->fib_acc << 8;
> > + }
>
> you can do this with one subtraction and 2 shifts less
>
I still don't know how i can eliminate the two shifts?
More information about the ffmpeg-devel
mailing list