On Tue, 4 Jun 2024, Zhao Zhili wrote:

From: Zhao Zhili <[email protected]>

The inline asm doesn't work on Android.

Using pmccntr_el0 doen't work, no, but instead of falling back to clock_gettime, you may want to use cntvct_el0 instead of pmccntr_el0. IIRC that works on Android, at least it worked a number of years ago. It has less precision than pmccntr_el0, but maybe is better than clock_gettime?

I.e., use similar inline assembly as before, but with cntvct_el0 instead of pmccntr_el0.

// Martin

_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to