[FFmpeg-devel] fate/hap : add test for hap encoding

Martin Vignali martin.vignali at gmail.com
Tue Apr 24 20:06:22 EEST 2018


> >
> > These tests are also broken, please fix or
> > remove them:
> > https://buildd.debian.org/status/fetch.php?pkg=ffmpeg&
> arch=i386&ver=7%3A4.0-1&stamp=1524444218&raw=0
> > ("Error 1")
>
> I've had a brief look at this error (and a similar error on s390x) and
> it looks like a float rounding issue in some of the functions in
> libavc/texturedspenc.c. The output from the hap encoder is only
> different by a few bits.
>
> i386 fails because it promotes floats to long double when evaluating (at
> least on Debian which has SSE disabled), and s390x fails because it
> promotes floats to doubles. I think they're the only architectures which
> promote floats (although some have not built yet).
>
> I'll probably just ignore these tests for now since I'm not sure what
> the best solution is.
>

Hello,

Sorry, i missread the code before writing the test, and didn't see it use
float for one step.
I will send a patch to remove these tests.

Martin


More information about the ffmpeg-devel mailing list