We truncated the diff of some files because they were too big.
If you want to see the full diff for every file, click here.
Changes of Revision 13
project.diff
Deleted
x
1
2
---- arm.patch.orig
3
-+++ arm.patch
4
-@@ -1,8 +1,8 @@
5
--Index: x265_2.2/source/CMakeLists.txt
6
-+Index: x265_3.4/source/CMakeLists.txt
7
- ===================================================================
8
----- x265_2.2.orig/source/CMakeLists.txt
9
--+++ x265_2.2/source/CMakeLists.txt
10
--@@ -65,15 +65,22 @@ elseif(POWERMATCH GREATER "-1")
11
-+--- x265_3.4.orig/source/CMakeLists.txt
12
-++++ x265_3.4/source/CMakeLists.txt
13
-+@@ -64,26 +64,26 @@ elseif(POWERMATCH GREATER "-1")
14
- add_definitions(-DPPC64=1)
15
- message(STATUS "Detected POWER PPC64 target processor")
16
- endif()
17
-@@ -12,41 +12,62 @@ Index: x265_2.2/source/CMakeLists.txt
18
- - else()
19
- - set(CROSS_COMPILE_ARM 0)
20
- - endif()
21
--- message(STATUS "Detected ARM target processor")
22
- - set(ARM 1)
23
--- add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1)
24
-+- if("${CMAKE_SIZEOF_VOID_P}" MATCHES 8)
25
-+- message(STATUS "Detected ARM64 target processor")
26
-+- set(ARM64 1)
27
-+- add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=1 -DHAVE_ARMV6=0)
28
-+- else()
29
-+- message(STATUS "Detected ARM target processor")
30
-+- add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=0 -DHAVE_ARMV6=1)
31
-+- endif()
32
- +elseif(${SYSPROC} MATCHES "armv5.*")
33
- + message(STATUS "Detected ARMV5 system processor")
34
- + set(ARMV5 1)
35
--+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
36
-++ add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=0 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
37
- +elseif(${SYSPROC} STREQUAL "armv6l")
38
- + message(STATUS "Detected ARMV6 system processor")
39
- + set(ARMV6 1)
40
--+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
41
-++ add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=0 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
42
- +elseif(${SYSPROC} STREQUAL "armv7l")
43
- + message(STATUS "Detected ARMV7 system processor")
44
- + set(ARMV7 1)
45
--+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
46
-++ add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=0 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
47
- +elseif(${SYSPROC} STREQUAL "aarch64")
48
- + message(STATUS "Detected AArch64 system processor")
49
- + set(ARMV7 1)
50
--+ add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
51
-++ add_definitions(-DX265_ARCH_ARM=1 -DX265_ARCH_ARM64=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
52
- else()
53
- message(STATUS "CMAKE_SYSTEM_PROCESSOR value `${CMAKE_SYSTEM_PROCESSOR}` is unknown")
54
- message(STATUS "Please add this value near ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE}")
55
--@@ -208,18 +215,9 @@ if(GCC)
56
-+ endif()
57
-+-
58
-+ if(UNIX)
59
-+ list(APPEND PLATFORM_LIBS pthread)
60
-+ find_library(LIBRT rt)
61
-+@@ -238,28 +238,9 @@ if(GCC)
62
- endif()
63
- endif()
64
- endif()
65
- - if(ARM AND CROSS_COMPILE_ARM)
66
--- set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC)
67
-+- if(ARM64)
68
-+- set(ARM_ARGS -fPIC)
69
-+- else()
70
-+- set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC)
71
-+- endif()
72
-+- message(STATUS "cross compile arm")
73
- - elseif(ARM)
74
--- find_package(Neon)
75
--- if(CPU_HAS_NEON)
76
--- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC)
77
-+- if(ARM64)
78
-+- set(ARM_ARGS -fPIC)
79
- - add_definitions(-DHAVE_NEON)
80
- - else()
81
--- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm)
82
-+- find_package(Neon)
83
-+- if(CPU_HAS_NEON)
84
-+- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC)
85
-+- add_definitions(-DHAVE_NEON)
86
-+- else()
87
-+- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm)
88
-+- endif()
89
- - endif()
90
- + if(ARMV7)
91
- + add_definitions(-fPIC)
92
-@@ -55,11 +76,11 @@ Index: x265_2.2/source/CMakeLists.txt
93
- if(FPROFILE_GENERATE)
94
- if(INTEL_CXX)
95
- add_definitions(-prof-gen -prof-dir="${CMAKE_CURRENT_BINARY_DIR}")
96
--Index: x265_2.2/source/common/cpu.cpp
97
-+Index: x265_3.4/source/common/cpu.cpp
98
- ===================================================================
99
----- x265_2.2.orig/source/common/cpu.cpp
100
--+++ x265_2.2/source/common/cpu.cpp
101
--@@ -37,7 +37,7 @@
102
-+--- x265_3.4.orig/source/common/cpu.cpp
103
-++++ x265_3.4/source/common/cpu.cpp
104
-+@@ -39,7 +39,7 @@
105
- #include <machine/cpu.h>
106
- #endif
107
-
108
-@@ -68,7 +89,7 @@ Index: x265_2.2/source/common/cpu.cpp
109
- #include <signal.h>
110
- #include <setjmp.h>
111
- static sigjmp_buf jmpbuf;
112
--@@ -344,7 +344,6 @@ uint32_t cpu_detect(void)
113
-+@@ -350,7 +350,6 @@ uint32_t cpu_detect(bool benableavx512)
114
- }
115
-
116
- canjump = 1;
117
-@@ -76,7 +97,7 @@ Index: x265_2.2/source/common/cpu.cpp
118
- canjump = 0;
119
- signal(SIGILL, oldsig);
120
- #endif // if !HAVE_NEON
121
--@@ -360,7 +359,7 @@ uint32_t cpu_detect(void)
122
-+@@ -366,7 +365,7 @@ uint32_t cpu_detect(bool benableavx512)
123
- // which may result in incorrect detection and the counters stuck enabled.
124
- // right now Apple does not seem to support performance counters for this test
125
- #ifndef __MACH__
126
-@@ -84,4 +105,4 @@ Index: x265_2.2/source/common/cpu.cpp
127
- + //flags |= PFX(cpu_fast_neon_mrc_test)() ? X265_CPU_FAST_NEON_MRC : 0;
128
- #endif
129
- // TODO: write dual issue test? currently it's A8 (dual issue) vs. A9 (fast mrc)
130
-- #endif // if HAVE_ARMV6
131
-+ #elif X265_ARCH_ARM64
132
---- baselibs.conf.orig
133
-+++ baselibs.conf
134
-@@ -1 +1 @@
135
--libx265-179
136
-+libx265-192
137
---- x265.changes.orig
138
-+++ x265.changes
139
-@@ -1,4 +1,40 @@
140
- -------------------------------------------------------------------
141
-+Mon Jun 1 17:51:22 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
142
-+
143
-+- Update to version 3.4
144
-+ New features:
145
-+ * Edge-aware quadtree partitioning to terminate CU depth
146
-+ recursion based on edge information. --rskip level 2 enables
147
-+ the feature and --rskip-edge-threshold denotes the minimum
148
-+ expected edge-density percentage within the CU, below which
149
-+ the recursion is skipped. Experimental feature.
150
-+ * Application-level feature --abr-ladder for automating
151
-+ efficient ABR ladder generation. Shows ~65% savings in the
152
-+ over-all turn-around time required for the generation of a
153
-+ typical Apple HLS ladder in Intel(R) Xeon(R) Platinum 8280
154
-+ CPU @ 2.70GHz over a sequential ABR-ladder generation
155
-+ approach that leverages save-load architecture.
156
-+ Enhancements to existing features:
157
-+ * Improved efficiency in 2-pass rate-control algorithm. The
158
-+ savings in the bitrate is ~1.72% with visual improvement in
159
-+ quality in the initial 1-2 secs.
160
-+ Encoder enhancements:
161
-+ * Faster ARM64 encodes enabled by ASM contributions from
162
-+ Huawei. The speed-up over no-asm version for 1080p encodes @
163
-+ medium preset is ~15% in a 16 core H/W.
164
-+ * Strict VBV conformance in zone encoding.
165
-+ Bug fixes:
166
-+ * Multi-pass encode failures with --frame-dup.
167
-+ * Corrupted bitstreams with --hist-scenecut when input depth
168
-+ and internal bit-depth differ.
169
-+ * Incorrect analysis propagation in multi-level save-load
170
-+ architecture.
171
-+ * Failure in detecting NUMA packages installed in non-standard
172
-+ directories.
173
-+
174
-+- Refreshed arm.patch
175
-+
176
-+-------------------------------------------------------------------
177
- Sat Mar 28 14:28:56 UTC 2020 - Luigi Baldoni <aloisio@gmx.com>
178
-
179
- - Update to version 3.3
180
---- x265.spec.orig
181
-+++ x265.spec
182
-@@ -17,11 +17,11 @@
183
- #
184
-
185
-
186
--%define sover 188
187
-+%define sover 192
188
- %define libname lib%{name}
189
- %define libsoname %{libname}-%{sover}
190
- Name: x265
191
--Version: 3.3
192
-+Version: 3.4
193
- Release: 0
194
- Summary: A free h265/HEVC encoder - encoder binary
195
- License: GPL-2.0-or-later
196
-@@ -67,7 +67,6 @@ streams.
197
- %patch0 -p1
198
- %patch1 -p1
199
- %patch2 -p1
200
--
201
_link
Changed
9
1
2
-<link project="Essentials" cicount="add" baserev="ecf93b56f7e5ab9ed6e5becd21b75723">
3
- <patches>
4
- <delete name="x265_3.3.tar.gz" />
5
- <apply name="project.diff" />
6
- </patches>
7
-</link>
8
+<link project="Essentials" cicount="add" />
9
x265_3.4.tar.gz
Deleted