[FFmpeg-devel] [PATCH] lavu/riscv: Fallback to getauxval() for cpu flags

2024-07-30 Thread Nathan E. Egge
Signed-off-by: Nathan E. Egge --- libavutil/riscv/cpu.c | 11 +++ 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/libavutil/riscv/cpu.c b/libavutil/riscv/cpu.c index e035f4b024..13b939b9d9 100644 --- a/libavutil/riscv/cpu.c +++ b/libavutil/riscv/cpu.c @@ -90,7 +90,8 @@ int

[FFmpeg-devel] [PATCH] lauv: Set default FF_TIMER_UNITS to "ns"

2024-07-29 Thread Nathan E. Egge
Signed-off-by: Nathan E. Egge --- libavutil/timer.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libavutil/timer.h b/libavutil/timer.h index 663daf81c6..03706b0d10 100644 --- a/libavutil/timer.h +++ b/libavutil/timer.h @@ -80,6 +80,7 @@ return ts.tv_sec * INT64_C(10

[FFmpeg-devel] [PATCH] lavu/riscv: Revert d808070, removing AV_READ_TIME

2024-07-28 Thread Nathan E. Egge
The implementation of ff_read_time() for RISC-V uses rdtime which has precision on existing hardware too low (!) for benchmarking purposes. Deleting this implementation falls back on clock_gettime() which was added as the default ff_read_time() implementation in 33e4cc9. Below are metrics gathere