| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Signed-off-by: Ruiling Song <[email protected]>
|
| |
|
|
|
|
|
| |
Fixes the following warning:
tests/checkasm/checkasm.c:615:12: warning: 'bench_init_ffmpeg' defined but not used
|
|
|
|
|
| |
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
| |
|
|
|
|
|
|
|
|
| |
float_near_abs_eps() failures
This will make understanding failures and adjusting EPS easier
Signed-off-by: Michael Niedermayer <[email protected]>
|
| |
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This reverts commit adff97be5e2ff51c0bb66080c2f904ed40b6c571.
It currently fails on Windows targets.
Signed-off-by: James Almer <[email protected]>
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
On ARM platforms, accessing the PMU registers requires special user
access permissions. Since there is no other way to get accurate timers,
the current implementation of timers in FFmpeg rely on these registers.
Unfortunately, enabling user access to these registers on Linux is not
trivial, and generally involve compiling a random and unreliable github
kernel module, or patching somehow your kernel.
Such module is very unlikely to reach the upstream anytime soon. Quoting
Robin Murphin from ARM:
> Say you do give userspace direct access to the PMU; now run two or more
> programs at once that believe they can use the counters for their own
> "minimal-overhead" profiling. Have fun interpreting those results...
>
> And that's not even getting into the implications of scheduling across
> different CPUs, CPUidle, etc. where the PMU state is completely beyond
> userspace's control. In general, the plan to provide userspace with
> something which might happen to just about work in a few corner cases,
> but is meaningless, misleading or downright broken in all others, is to
> never do so.
As a result, the alternative is to use the Performance Monitoring Linux
API which makes use of these registers internally (assuming the PMU of
your ARM board is supported in the kernel, which is definitely not a
given...).
While the Linux API is obviously cross platform, it does have a
significant overhead which needs to be taken into account. As a result,
that mode is only weakly enabled on ARM platforms exclusively.
Note on the non flexibility of the implementation: the timers (native
FFmpeg vs Linux API) are selected at compilation time to prevent the
need of function calls, which would result in a negative impact on the
cycle counters.
|
|
|
|
| |
Signed-off-by: James Almer <[email protected]>
|
| |
|
|
|
|
|
|
| |
This includes various fixes and improvements from James Almer.
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
|
| |
Ported from libavutil/tests/float_dsp.c
Signed-off-by: James Almer <[email protected]>
|
|
|
|
|
| |
Tested-by: Michael Niedermayer <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
|\
| |
| |
| |
| |
| |
| | |
* commit '9498237049d15812cecb79df47b196c73013908b':
checkasm: Add --test parameter to check only specific components
Merged-by: Clément Bœsch <[email protected]>
|
| |
| |
| |
| | |
Inspired by a patch from Martin Storsjö <[email protected]>.
|
|\|
| |
| |
| |
| |
| |
| | |
* commit 'ed48a9d8143d2575a4458589cebde69ec326afd8':
checkasm: Add a test for HEVC add_residual
Merged-by: Clément Bœsch <[email protected]>
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* commit '22c3ab18646924ce24dc6017a9e882ff69689e40':
checkasm: Add test for huffyuvdsp add_bytes
huffyuvdsp is renamed to llviddsp to be consistent with our codebase.
Note: af607b7e07 wasn't actually required for this test since this
commit is not actually testing huffyuvdsp.
Merged-by: Clément Bœsch <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Luca Barbato <[email protected]>
|
|\|
| |
| |
| |
| |
| |
| | |
* commit 'e9ef6171396dc4106526aaa86b620c61ca3d1017':
checkasm: add tests for audiodsp
Merged-by: Clément Bœsch <[email protected]>
|
| | |
|
|\|
| |
| |
| |
| |
| |
| | |
* commit '2eb97af66af90ca3978229da151f0b8b3a5d9370':
checkasm: add a test for blockdsp
Merged-by: Clément Bœsch <[email protected]>
|
| | |
|
|\|
| |
| |
| |
| |
| |
| | |
* commit 'e89cef40506d990a982aefedfde7d3ca4f88c524':
checkasm: Read the unsigned value as it should
Merged-by: Clément Bœsch <[email protected]>
|
| |
| |
| |
| | |
Reading a value larger than int using atoi() may give the wrong result.
|
| |
| |
| |
| | |
Signed-off-by: Anton Khirnov <[email protected]>
|
|\|
| |
| |
| |
| |
| |
| | |
* commit '40ad05bab206c932a32171d45581080c914b06ec':
checkasm: Cast unsigned to signed
Merged-by: Clément Bœsch <[email protected]>
|
| |
| |
| |
| |
| | |
Avoid a warning for passing an unsigned value to abs(), some compilers
might optimize away abs().
|
|\|
| |
| |
| |
| |
| |
| | |
* commit '9064777dbb335ab4809ae09e3fdcc0245f925cdc':
checkasm: add HEVC test for testing IDCT DC
Merged-by: Clément Bœsch <[email protected]>
|
| |
| |
| |
| | |
Signed-off-by: Anton Khirnov <[email protected]>
|
|\|
| |
| |
| |
| |
| |
| | |
* commit 'f8d17d53957056c053a46f9320fa7ae6fe1479a5':
checkasm: Add tests for vp8dsp
Merged-by: Hendrik Leppkes <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
The tests are inspired by similar tests for vp9 by
Ronald Bultje.
Signed-off-by: Martin Storsjö <[email protected]>
|
|\|
| |
| |
| |
| |
| |
| | |
* commit '105998fb5ca3c343f5c8cb39ce3197f87a5e4d36':
checkasm: Add tests for h264 idct
Merged-by: Matthieu Bouron <[email protected]>
|
| |
| |
| |
| |
| |
| |
| | |
The tests are inspired by similar tests for vp9 by
Ronald Bultje.
Signed-off-by: Martin Storsjö <[email protected]>
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
They will now compile if avcodec is disabled
Reviewed-by: Paul B Mahol <[email protected]>
Signed-off-by: James Almer <[email protected]>
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Remove all files and functions which are not going to be reused,
and disable all functions and FATE tests temporarily which will be.
|
| | |
|