[Ffmpeg-devel] [PATCH] 24-bits flac support (with 16-bits output)

Dave Chapman dave
Fri May 26 16:23:45 CEST 2006


Thibaut Mattern wrote:
> 64-bit mult are not needed, we just need 32x32->64 bit mult. But i
> don't know how to force the compiler to generate the 32*32->64 bits
> instruction.

32x32->64 was what I meant by "64-bit mult".  Sorry for not being more
precise.

I'm not querying the code you've written for the 32x32->64 multiply and
accumulate loop, I was just suggesting that we don't need that level of
precision when decoding 16-bit audio - the old code worked fine.

i.e. it might be more efficient to have an if statement to choose
between two loops - one performing 32x32->32 and one performing
32x32->64, depending on the precision required.

Dave.




More information about the ffmpeg-devel mailing list