On Mon, Sep 9, 2024 at 11:34 AM Brad Smith <b...@comstyle.com> wrote:
> 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....@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.

Perhaps add this to the commit message as well?

Either way the patch looks good to me too. Thanks!

> It would probably make sense
> to move the /proc/self/auxv fallback path for Linux there too.

Yes, that makes sense to me.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to