summaryrefslogtreecommitdiff
path: root/riscv-dav1d.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-03-20 03:46:37 +0000
committerCoprDistGit <infra@openeuler.org>2024-03-20 03:46:37 +0000
commitfa06f8afb826bc7e16e2919c3b6feee02417ce28 (patch)
tree042a9bca624cc1e2a2c3dd7ef4943f0ac042556f /riscv-dav1d.patch
parent5e81daef691f9d194780705f7af7e5f84133315e (diff)
automatic import of chromiumopeneuler23.09
Diffstat (limited to 'riscv-dav1d.patch')
-rw-r--r--riscv-dav1d.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/riscv-dav1d.patch b/riscv-dav1d.patch
new file mode 100644
index 0000000..e20413d
--- /dev/null
+++ b/riscv-dav1d.patch
@@ -0,0 +1,53 @@
+Index: chromium-113.0.5672.92/third_party/dav1d/config/linux/riscv64/config.h
+===================================================================
+--- /dev/null
++++ chromium-113.0.5672.92/third_party/dav1d/config/linux/riscv64/config.h
+@@ -0,0 +1,48 @@
++/*
++ * Autogenerated by the Meson build system.
++ * Do not edit, your changes will be lost.
++ */
++
++#pragma once
++
++#define ARCH_AARCH64 0
++
++#define ARCH_ARM 0
++
++#define ARCH_PPC64LE 0
++
++#define ARCH_X86 0
++
++#define ARCH_X86_32 0
++
++#define ARCH_X86_64 0
++
++#define CONFIG_16BPC 1
++
++#define CONFIG_8BPC 1
++
++// #define CONFIG_LOG 1 -- Logging is controlled by Chromium
++
++#define ENDIANNESS_BIG 0
++
++#define HAVE_ASM 0
++
++#define HAVE_AS_FUNC 0
++
++#define HAVE_C11_GENERIC 1
++
++#define HAVE_CLOCK_GETTIME 1
++
++#define HAVE_DLSYM 1
++
++#define HAVE_GETAUXVAL 1
++
++#define HAVE_POSIX_MEMALIGN 1
++
++// #define HAVE_PTHREAD_GETAFFINITY_NP 1 -- Controlled by Chomium
++
++// #define HAVE_PTHREAD_SETAFFINITY_NP 1 -- Controlled by Chomium
++
++#define HAVE_UNISTD_H 1
++
++#define TRIM_DSP_FUNCTIONS 1