[FFmpeg-devel] [RFC] support encrypted asf

Reimar Döffinger Reimar.Doeffinger
Tue Oct 9 10:01:36 CEST 2007


Hello,
On Tue, Oct 09, 2007 at 01:03:57AM +0300, Uoti Urpala wrote:
[...]
> Which also gives the following tableless variant:
> 
> static uint32_t inverse3(uint32_t v) {
>     uint32_t i;
>     i =  2 - v;
>     i *= 2 - v * i;
>     i *= 2 - v * i;
>     i *= 2 - v * i;
>     i *= 2 - v * i;
>     return i;
> }

Interesting, in case you didn't notice this ended up being a
fixpoint-iteration. I wonder if there is an easy way to prove
convergence in 5 steps in that mindset...

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list