[FFmpeg-devel] [PATCH] swresample/resample: use uniform normalization

Hendrik Leppkes h.leppkes at gmail.com
Wed Mar 8 14:15:47 EET 2017


On Wed, Mar 8, 2017 at 10:16 AM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
> On Tue, Mar 7, 2017 at 4:04 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>> On Mon, Mar 6, 2017 at 5:06 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>> On Fri, Mar 3, 2017 at 3:58 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>>> On Wed, Mar 1, 2017 at 10:24 PM, Muhammad Faiz <mfcc64 at gmail.com> wrote:
>>>>> this gives better frequency response
>>>>>
>>>>> update swresample fate and other fates
>>>>> that depend on resampling
>>>>>
>>>>> Signed-off-by: Muhammad Faiz <mfcc64 at gmail.com>
>>>>> ---
>>>>>  libswresample/resample.c     |  14 +--
>>>>>  tests/fate/libswresample.mak | 276 +++++++++++++++++++++----------------------
>>>>>  tests/ref/acodec/roqaudio    |   2 +-
>>>>>  tests/ref/acodec/s302m       |   6 +-
>>>>>  tests/ref/lavf/dv_fmt        |   8 +-
>>>>>  tests/ref/lavf/gxf           |   8 +-
>>>>>  tests/ref/lavf/mxf           |  12 +-
>>>>>  7 files changed, 163 insertions(+), 163 deletions(-)
>>>>>
>>>>
>>>> Test case, from 44100 to 705600 (16*44100)
>>>> ffmpeg -filter_complex "aevalsrc='if(n-300,0,1)',
>>>> aresample=osr=705600:filter_size=16" -f f32le - | ./freq-resp >
>>>> freq-resp.txt
>>>>
>>>>
>>>> gnuplot result attached
>>>
>>> ping
>>
>> I will push this tomorrow if no one object
>>
>> thanks
>
> Pushed


This seems to have tripped up fate on some boxes, ie. here:
http://fate.ffmpeg.org/report.cgi?time=20170308111534&slot=x86_64-netbsd-gcc46

- Hendrik


More information about the ffmpeg-devel mailing list