[FFmpeg-devel] [PATCH] avcodec/wmalosslessdec: real 24bit support

Hendrik Leppkes h.leppkes at gmail.com
Tue Apr 12 23:47:03 CEST 2016


On Tue, Apr 12, 2016 at 11:29 PM, Paul B Mahol <onemda at gmail.com> wrote:
> On 4/12/16, Paul B Mahol <onemda at gmail.com> wrote:
>> On 4/12/16, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:
>>> Paul B Mahol <onemda <at> gmail.com> writes:
>>>
>>>>
>>>> Hi,
>>>>
>>>> patch attached.
>>>
>>> Very cool!
>>>
>>>> -        pred += s->dsp.scalarproduct_and_madd_int16(s->cdlms[ch]
>>>> +        pred += scalarproduct_and_madd_int(s->cdlms[ch][ilms].coefs,
>>>
>>> Doesn't this lead to a speedloss for 16 bit decoding?
>>
>> It does, havent checked how much.
>
> 40x vs 72x realtime.

Maybe you should add this new function to lossless_audiodsp, so it can
be SIMD'ed later?

- Hendrik


More information about the ffmpeg-devel mailing list