[FFmpeg-devel] [PATCH] dsp optimized float 2 int conversion for wma decoder

Benjamin Larsson banan
Tue Sep 4 18:59:02 CEST 2007


Guillaume POIRIER wrote:
> Hi,
> 
> On 9/3/07, Benjamin Larsson <banan at ludd.ltu.se> wrote:
> 
> [..]
> 
>> Benchmarked from wma_decode_frame start to end.
>>
>> Didn't test/benchmark in float mode, will do that if patch is ok.
> 
> Your patch is very small and doesn't seem to add code implemented with
> an SIMD ISA that I know.... could it be that you forgot to svn add a
> file?

Nope, it's the black magic part. If you look closely you'll see that
there is a s->dsp.float_to_int16 on one line. There's the magic. Though
float only is still untested.

> 
> All this seems so much like black magic to me .... :)

I'll explain it sometime when I figured it out myself.

> 
> Guillaume

MvH
Benjamin Larsson




More information about the ffmpeg-devel mailing list