-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes: https://chromium.googlesource.com/webm/libvpx/+log/v1.13.1..v1.14.0 Reported by: portscout
- Loading branch information
Showing
50 changed files
with
141 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
PORTNAME= NBlood | ||
DISTVERSION= r13934 | ||
PORTREVISION= 1 | ||
CATEGORIES= games | ||
|
||
MAINTAINER= pkubaj@FreeBSD.org | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PORTREVISION= 0 | ||
PORTREVISION= 1 | ||
CATEGORIES= multimedia | ||
|
||
COMMENT= GStreamer vp8 codec plugin | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1696025174 | ||
SHA256 (webmproject-libvpx-v1.13.1_GH0.tar.gz) = 00dae80465567272abd077f59355f95ac91d7809a2d3006f9ace2637dd429d14 | ||
SIZE (webmproject-libvpx-v1.13.1_GH0.tar.gz) = 5515662 | ||
TIMESTAMP = 1704834742 | ||
SHA256 (webmproject-libvpx-v1.14.0_GH0.tar.gz) = 5f21d2db27071c8a46f1725928a10227ae45c5cd1cad3727e4aafbe476e321fa | ||
SIZE (webmproject-libvpx-v1.14.0_GH0.tar.gz) = 5606471 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
multimedia/libvpx/files/patch-vpx__ports_aarch32__cpudetect.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
- Assume NEON is enabled on armv7 | ||
- Implement runtime detection on FreeBSD | ||
|
||
--- vpx_ports/aarch32_cpudetect.c.orig 2024-01-09 21:12:22 UTC | ||
+++ vpx_ports/aarch32_cpudetect.c | ||
@@ -12,7 +12,7 @@ | ||
#include "./vpx_config.h" | ||
#include "arm_cpudetect.h" | ||
|
||
-#if !CONFIG_RUNTIME_CPU_DETECT | ||
+#if !CONFIG_RUNTIME_CPU_DETECT || defined(__ARM_NEON) | ||
|
||
static int arm_get_cpu_caps(void) { | ||
// This function should actually be a no-op. There is no way to adjust any of | ||
@@ -57,9 +57,23 @@ static int arm_get_cpu_caps(void) { | ||
return flags; | ||
} | ||
|
||
-#elif defined(__linux__) // end defined(AOM_USE_ANDROID_CPU_FEATURES) | ||
+#elif defined(__linux__) || defined(__FreeBSD__) // end defined(AOM_USE_ANDROID_CPU_FEATURES) | ||
|
||
#include <sys/auxv.h> | ||
+ | ||
+#if defined(__FreeBSD__) | ||
+static unsigned long getauxval(unsigned long type) | ||
+{ | ||
+ /* Only AT_HWCAP* return unsigned long */ | ||
+ if (type != AT_HWCAP && type != AT_HWCAP2) { | ||
+ return 0; | ||
+ } | ||
+ | ||
+ unsigned long ret = 0; | ||
+ elf_aux_info(type, &ret, sizeof(ret)); | ||
+ return ret; | ||
+} | ||
+#endif | ||
|
||
// Define hwcap values ourselves: building with an old auxv header where these | ||
// hwcap values are not defined should not prevent features from being enabled. |
29 changes: 29 additions & 0 deletions
29
multimedia/libvpx/files/patch-vpx__ports_aarch64__cpudetect.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
- Implement runtime detection on FreeBSD | ||
|
||
--- vpx_ports/aarch64_cpudetect.c.orig 2024-01-09 21:12:22 UTC | ||
+++ vpx_ports/aarch64_cpudetect.c | ||
@@ -91,9 +91,23 @@ static int arm_get_cpu_caps(void) { | ||
return flags; | ||
} | ||
|
||
-#elif defined(__linux__) // end defined(VPX_USE_ANDROID_CPU_FEATURES) | ||
+#elif defined(__linux__) || defined(__FreeBSD__) // end defined(VPX_USE_ANDROID_CPU_FEATURES) | ||
|
||
#include <sys/auxv.h> | ||
+ | ||
+#if defined(__FreeBSD__) | ||
+static unsigned long getauxval(unsigned long type) | ||
+{ | ||
+ /* Only AT_HWCAP* return unsigned long */ | ||
+ if (type != AT_HWCAP && type != AT_HWCAP2) { | ||
+ return 0; | ||
+ } | ||
+ | ||
+ unsigned long ret = 0; | ||
+ elf_aux_info(type, &ret, sizeof(ret)); | ||
+ return ret; | ||
+} | ||
+#endif | ||
|
||
// Define hwcap values ourselves: building with an old auxv header where these | ||
// hwcap values are not defined should not prevent features from being enabled. |
Oops, something went wrong.