[FFmpeg-devel] [PATCH] avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
Brad Smith
brad at comstyle.com
Mon Sep 9 12:34:12 EEST 2024
On 2024-09-09 5:23 a.m., Ramiro Polla wrote:
> On Sat, Aug 24, 2024 at 3:30 PM Brad Smith
> <brad-at-comstyle.com at ffmpeg.org> wrote:
>> avutil/cpu_internal: Provide ff_getauxval() wrapper for getauxvaul()
>>
>> Initially used for getauxval() but will be used to add support for
>> other API.
> I'm curious, what other API do you have in mind? Is ff_getauxval()
> going to simulate getauxval() on other platforms? If that's the case,
> wouldn't it be better to create a function to get hardware
> capabilities instead (which may use getauxval or other API under the
> hood)?
elf_aux_info() for FreeBSD / OpenBSD. It would probably make sense
to move the /proc/self/auxv fallback path for Linux there too.
No, it will not.
More information about the ffmpeg-devel
mailing list