mirror of
https://github.com/genodelabs/genode.git
synced 2025-02-20 17:52:52 +00:00
parent
bf3ad3baff
commit
7b90f8f857
1
repos/libports/lib/import/import-libyuv.mk
Normal file
1
repos/libports/lib/import/import-libyuv.mk
Normal file
@ -0,0 +1 @@
|
||||
INC_DIR += $(call select_from_ports,libyuv)/libyuv/include
|
12
repos/libports/lib/mk/libyuv.inc
Normal file
12
repos/libports/lib/mk/libyuv.inc
Normal file
@ -0,0 +1,12 @@
|
||||
YUV_DIR = $(call select_from_ports,libyuv)/libyuv
|
||||
|
||||
LIBS = libc
|
||||
|
||||
INC_DIR += $(YUV_DIR)/include
|
||||
|
||||
SRC_CC = $(notdir $(wildcard $(YUV_DIR)/source/*.cc))
|
||||
|
||||
CC_CXX_WARN_STRICT = -Wextra -Werror
|
||||
CC_OPT += -Wno-unused-parameter
|
||||
|
||||
vpath %.cc $(YUV_DIR)/source
|
1
repos/libports/lib/mk/spec/x86_32/libyuv.mk
Normal file
1
repos/libports/lib/mk/spec/x86_32/libyuv.mk
Normal file
@ -0,0 +1 @@
|
||||
include $(REP_DIR)/lib/mk/libyuv.inc
|
1
repos/libports/lib/mk/spec/x86_64/libyuv.mk
Normal file
1
repos/libports/lib/mk/spec/x86_64/libyuv.mk
Normal file
@ -0,0 +1 @@
|
||||
include $(REP_DIR)/lib/mk/libyuv.inc
|
1
repos/libports/ports/libyuv.hash
Normal file
1
repos/libports/ports/libyuv.hash
Normal file
@ -0,0 +1 @@
|
||||
55b2eba298081feccdcc7400c309842be9c24f93
|
10
repos/libports/ports/libyuv.port
Normal file
10
repos/libports/ports/libyuv.port
Normal file
@ -0,0 +1,10 @@
|
||||
LICENSE := BSD-3-Clause
|
||||
VERSION := git
|
||||
DOWNLOADS := libyuv.git
|
||||
|
||||
URL(libyuv) := https://chromium.googlesource.com/libyuv/libyuv
|
||||
DIR(libyuv) := libyuv
|
||||
REV(libyuv) := 8c8d907d29255ae0630f414e0e09ee9cca8f4bfc
|
||||
|
||||
PATCHES := src/lib/libyuv/constraints.patch
|
||||
|
22
repos/libports/src/lib/libyuv/constraints.patch
Normal file
22
repos/libports/src/lib/libyuv/constraints.patch
Normal file
@ -0,0 +1,22 @@
|
||||
Fixes "-O0" or "-O2 -fno-omit-frame-pointer" compiles because of
|
||||
insufficient number of freely available registers.
|
||||
|
||||
+++ libyuv/source/row_gcc.cc
|
||||
@@ -5116,7 +5116,7 @@ void SplitRGBRow_SSSE3(const uint8_t* src_rgb,
|
||||
"+r"(dst_r), // %1
|
||||
"+r"(dst_g), // %2
|
||||
"+r"(dst_b), // %3
|
||||
- "+r"(width) // %4
|
||||
+ "+rm"(width) // %4
|
||||
: "m"(kShuffleMaskRGBToR0), // %5
|
||||
"m"(kShuffleMaskRGBToR1), // %6
|
||||
"m"(kShuffleMaskRGBToR2), // %7
|
||||
@@ -5212,7 +5212,7 @@ void MergeRGBRow_SSSE3(const uint8_t* src_r,
|
||||
"+r"(src_g), // %1
|
||||
"+r"(src_b), // %2
|
||||
"+r"(dst_rgb), // %3
|
||||
- "+r"(width) // %4
|
||||
+ "+rm"(width) // %4
|
||||
: "m"(kShuffleMaskRToRGB0), // %5
|
||||
"m"(kShuffleMaskGToRGB0), // %6
|
||||
"m"(kShuffleMaskBToRGB0), // %7
|
Loading…
x
Reference in New Issue
Block a user