Changeset ac40c3bb in ffmpeg
- Timestamp:
-
Jan 15, 2024, 9:29:12 PM
(11 months ago)
- Author:
- Martin Storsjö <martin@martin.st>
- Branches:
- master
- Children:
- e664f446
- Parents:
- d8f3cc90
- git-author:
- Martin Storsjö <martin@martin.st> (12/14/23 14:04:36)
- git-committer:
- Martin Storsjö <martin@martin.st> (01/15/24 21:29:12)
- Message:
-
checkasm: Test whether the native FFmpeg timers work
On some platforms (in particular, ARM/AArch64), the implementation
of AV_READ_TIME() may use a privileged instruction - in such
cases, benchmarking just fails with a SIGILL.
Instead of crashing, try executing AV_READ_TIME() once within
a region with the signal handler active, to allow gracefully
informing the user about the issue.
This matches the dav1d checkasm commit
95a192549a448b70d9542e840c4e34b60d09b093.
Signed-off-by: Martin Storsjö <martin@martin.st>
-
(No files)
-