[x264-devel] [PATCH] Add x264_cpu_detect() for NetBSD/macppc.

Martin Husemann martin at NetBSD.org
Mon Aug 7 07:39:56 UTC 2023


On Sun, Aug 06, 2023 at 11:15:48PM +0300, BugMaster wrote:
> Hi. Shouldn't it be the same as for SYS_OPENBSD i.e. to use sysctl
> with selectors and not sysctlbyname? Does NetBSD have this constants?

NetBSD is only using fixed selectors for a few old values, e.g.
hw.machine is available, but newer values like hw.altivec are not
available as fixed constants, they have to be resolved via the string
name by the kernel.

Martin



More information about the x264-devel mailing list