Changes of Revision 19
0001-Fix-arm-flags.patch
Deleted
x
1
2
-From: Sebastian Ramacher <sramacher@debian.org>
3
-Date: Sun, 21 Jun 2020 17:54:56 +0200
4
-Subject: Fix arm* flags
5
-
6
----
7
- source/CMakeLists.txt | 7 ++-----
8
- 1 file changed, 2 insertions(+), 5 deletions(-)
9
-
10
-diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
11
-index ab5ddfe..eb9b19b 100755
12
---- a/source/CMakeLists.txt
13
-+++ b/source/CMakeLists.txt
14
-@@ -253,10 +253,7 @@ if(GCC)
15
- elseif(ARM)
16
- find_package(Neon)
17
- if(CPU_HAS_NEON)
18
-- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC)
19
- add_definitions(-DHAVE_NEON)
20
-- else()
21
-- set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm)
22
- endif()
23
- endif()
24
- if(ARM64 OR CROSS_COMPILE_ARM64)
25
-@@ -265,13 +262,13 @@ if(GCC)
26
- find_package(SVE2)
27
- if(CPU_HAS_SVE2 OR CROSS_COMPILE_SVE2)
28
- message(STATUS "Found SVE2")
29
-- set(ARM_ARGS -O3 -march=armv8-a+sve2 -fPIC -flax-vector-conversions)
30
-+ set(ARM_ARGS -fPIC -flax-vector-conversions)
31
- add_definitions(-DHAVE_SVE2)
32
- add_definitions(-DHAVE_SVE)
33
- add_definitions(-DHAVE_NEON) # for NEON c/c++ primitives, as currently there is no implementation that use SVE2
34
- elseif(CPU_HAS_SVE OR CROSS_COMPILE_SVE)
35
- message(STATUS "Found SVE")
36
-- set(ARM_ARGS -O3 -march=armv8-a+sve -fPIC -flax-vector-conversions)
37
-+ set(ARM_ARGS -fPIC -flax-vector-conversions)
38
- add_definitions(-DHAVE_SVE)
39
- add_definitions(-DHAVE_NEON) # for NEON c/c++ primitives, as currently there is no implementation that use SVE
40
- elseif(CPU_HAS_NEON)
41
0004-Do-not-build-with-assembly-support-on-arm.patch
Deleted
30
1
2
-From: Sebastian Ramacher <sramacher@debian.org>
3
-Date: Fri, 31 May 2024 23:38:23 +0200
4
-Subject: Do not build with assembly support on arm*
5
-
6
----
7
- source/CMakeLists.txt | 9 ---------
8
- 1 file changed, 9 deletions(-)
9
-
10
-diff --git a/source/CMakeLists.txt b/source/CMakeLists.txt
11
-index 672cc2d..f112330 100755
12
---- a/source/CMakeLists.txt
13
-+++ b/source/CMakeLists.txt
14
-@@ -73,15 +73,6 @@ elseif(POWERMATCH GREATER "-1")
15
- add_definitions(-DPPC64=1)
16
- message(STATUS "Detected POWER PPC64 target processor")
17
- endif()
18
--elseif(ARMMATCH GREATER "-1")
19
-- if(CROSS_COMPILE_ARM)
20
-- message(STATUS "Cross compiling for ARM arch")
21
-- else()
22
-- set(CROSS_COMPILE_ARM 0)
23
-- endif()
24
-- message(STATUS "Detected ARM target processor")
25
-- set(ARM 1)
26
-- add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1)
27
- elseif(ARM64MATCH GREATER "-1")
28
- #if(CROSS_COMPILE_ARM64)
29
- #message(STATUS "Cross compiling for ARM64 arch")
30
project.diff
Deleted
110
1
2
---- baselibs.conf.orig
3
-+++ baselibs.conf
4
-@@ -1 +1 @@
5
--libx265-199
6
-+libx265-209
7
---- x265.changes.orig
8
-+++ x265.changes
9
-@@ -1,4 +1,53 @@
10
- -------------------------------------------------------------------
11
-+Thu Jun 13 05:58:19 UTC 2024 - Luigi Baldoni <aloisio@gmx.com>
12
-+
13
-+- Update to version 3.6
14
-+ New features:
15
-+ * Segment based Ratecontrol (SBRC) feature
16
-+ * Motion-Compensated Spatio-Temporal Filtering
17
-+ * Scene-cut aware qp - BBAQ (Bidirectional Boundary Aware
18
-+ Quantization)
19
-+ * Histogram-Based Scene Change Detection
20
-+ * Film-Grain characteristics as a SEI message to support Film
21
-+ Grain Synthesis(FGS)
22
-+ * Add temporal layer implementation(Hierarchical B-frame
23
-+ implementation)
24
-+ Enhancements to existing features:
25
-+ * Added Dolby Vision 8.4 Profile Support
26
-+ API changes:
27
-+ * Add Segment based Ratecontrol(SBRC) feature: "--no-sbrc".
28
-+ * Add command line parameter for mcstf feature: "--no-mctf".
29
-+ * Add command line parameters for the scene cut aware qp
30
-+ feature: "--scenecut-aware-qp" and "--masking-strength".
31
-+ * Add command line parameters for Histogram-Based Scene Change
32
-+ Detection: "--hist-scenecut".
33
-+ * Add film grain characteristics as a SEI message to the
34
-+ bitstream: "--film-grain <filename>"
35
-+ * cli: add new option --cra-nal (Force nal type to CRA to all
36
-+ frames expect for the first frame, works only with keyint 1)
37
-+ Optimizations:
38
-+ * ARM64 NEON optimizations:- Several time-consuming C
39
-+ functions have been optimized for the targeted platform -
40
-+ aarch64. The overall performance increased by around 20%.
41
-+ * SVE/SVE2 optimizations
42
-+ Bug fixes:
43
-+ * Linux bug to utilize all the cores
44
-+ * Crash with hist-scenecut build when source resolution is not
45
-+ multiple of minCuSize
46
-+ * 32bit and 64bit builds generation for ARM
47
-+ * bugs in zonefile feature (Reflect Zonefile Parameters inside
48
-+ Lookahead, extra IDR issue, Avg I Slice QP value issue etc..)
49
-+ * Add x86 ASM implementation for subsampling luma
50
-+ * Fix for abrladder segfault with load reuse level 1
51
-+ * Reorder miniGOP based on temporal layer hierarchy and add
52
-+ support for more B frame
53
-+ * Add MacOS aarch64 build support
54
-+ * Fix boundary condition issue for Gaussian filter
55
-+- Drop arm.patch and replace it with 0001-Fix-arm-flags.patch
56
-+ and 0004-Do-not-build-with-assembly-support-on-arm.patch
57
-+ (courtesy of Debian)
58
-+
59
-+-------------------------------------------------------------------
60
- Wed May 19 13:21:09 UTC 2021 - Luigi Baldoni <aloisio@gmx.com>
61
-
62
- - Build libx265_main10 and libx265_main12 unconditionally and
63
---- x265.spec.orig
64
-+++ x265.spec
65
-@@ -1,7 +1,7 @@
66
- #
67
- # spec file for package x265
68
- #
69
--# Copyright (c) 2021 Packman Team <packman@links2linux.de>
70
-+# Copyright (c) 2024 Packman Team <packman@links2linux.de>
71
- # Copyright (c) 2014 Torsten Gruner <t.gruner@katodev.de>
72
- #
73
- # All modifications and additions to the file contributed by third parties
74
-@@ -17,21 +17,22 @@
75
- #
76
-
77
-
78
--%define sover 199
79
-+%define sover 209
80
- %define libname lib%{name}
81
- %define libsoname %{libname}-%{sover}
82
--%define uver 3_5
83
-+%define uver 3_6
84
- Name: x265
85
--Version: 3.5
86
-+Version: 3.6
87
- Release: 0
88
- Summary: A free h265/HEVC encoder - encoder binary
89
- License: GPL-2.0-or-later
90
- Group: Productivity/Multimedia/Video/Editors and Convertors
91
- URL: https://bitbucket.org/multicoreware/x265_git
92
- Source0: https://bitbucket.org/multicoreware/x265_git/downloads/%{name}_%{version}.tar.gz
93
--Patch0: arm.patch
94
- Patch1: x265.pkgconfig.patch
95
- Patch2: x265-fix_enable512.patch
96
-+Patch3: 0001-Fix-arm-flags.patch
97
-+Patch4: 0004-Do-not-build-with-assembly-support-on-arm.patch
98
- BuildRequires: cmake >= 2.8.8
99
- BuildRequires: gcc-c++
100
- BuildRequires: nasm >= 2.13
101
-@@ -130,6 +131,8 @@ cd ../../
102
- %cmake_install
103
- find %{buildroot} -type f -name "*.a" -delete -print0
104
-
105
-+%check
106
-+
107
- %post -n %{libsoname} -p /sbin/ldconfig
108
- %postun -n %{libsoname} -p /sbin/ldconfig
109
-
110
_link
Changed
10
1
2
-<link project="Essentials" cicount="add" baserev="bef7fdd1dabaf9541fe640f6b0b2bd25">
3
- <patches>
4
- <delete name="arm.patch"/>
5
- <delete name="x265_3.5.tar.gz"/>
6
- <apply name="project.diff"/>
7
- </patches>
8
-</link>
9
+<link project="Essentials" cicount="add"/>
10
x265_3.6.tar.gz
Deleted