[FFmpeg-devel] [PATCH v2 5/5] avformat/s337m: Test wav subdemux

Tomas Härdin tjoppen at acc.umu.se
Tue Aug 6 17:48:06 EEST 2019


tis 2019-08-06 klockan 13:09 +0000 skrev Gaullier Nicolas:
> > > +FATE_SAMPLES_AUDIO-$(call DEMDEMDEC, WAV, S337M, DOLBY_E) += 
> > > +fate-dolby-e-wav
> > > +fate-dolby-e-wav: CMD = dolbye2pcm16 -i 
> > > +$(TARGET_SAMPLES)/dolby_e/512.wav
> > > +fate-dolby-e-wav: CMP = oneoff
> > > +fate-dolby-e-wav: REF = $(SAMPLES)/dolby_e/512.wav.pcm
> > 
> > This does a floaty comparison, right? Since the Dolby-E decoder is
> > float at the moment..
> The test is similar to the current "fate-dolby-e", this new one is
> only different because the input dolby E stream is 24 bits (instead
> of 16), contains 5.1+2 (instead of 5.1)... and uses wav wrapper of
> course.
> In both case, the comparison is based on the truncated 16-bit output
> of the Dolby-E decoder (but I think the inner precision of the codec
> is higher) AND a tolerance of +/-1.

There being a tolerance is what I was getting at. Some tests expect
bitexact output, which is obviously problematic with a float decoder :)

/Tomas



More information about the ffmpeg-devel mailing list