Overview

Request 2870 (accepted)

Update to version 2.0

Submit package home:enzokiel:branches:Essentials / x265 to package Essentials / x265

x265.changes Changed
x
 
1
@@ -1,40 +1,4 @@
2
 -------------------------------------------------------------------
3
-Fri Aug 26 16:16:31 UTC 2016 - joerg.lorenzen@ki.tng.de
4
-
5
-- Update to version 2.0
6
-  API and Key Behavior Changes
7
-  * x265_rc_stats added to x265_picture, containing all RC decision
8
-    points for that frame.
9
-  * PTL: high tier is now allowed by default, chosen only if
10
-    necessary.
11
-  * multi-pass: First pass now uses slow-firstpass by default,
12
-    enabling better RC decisions in future passes.
13
-  * pools: fix behaviour on multi-socketed Windows systems, provide
14
-    more flexibility in determining thread and pool counts.
15
-  * ABR: improve bits allocation in the first few frames, abr reset,
16
-    vbv and cutree improved.
17
-  New Features
18
-  * uhd-bd: Enforce Ultra-HD Blu-ray Disc parameters
19
-    (overrides any other settings).
20
-  * rskip: Enables skipping recursion to analyze lower CU sizes
21
-    using heuristics at different rd-levels. Provides good visual
22
-    quality gains at the highest quality presets.
23
-  * rc-grain: Enables a new rate control mode specifically for
24
-    grainy content. Strictly prevents QP oscillations within and
25
-    between frames to avoid grain fluctuations.
26
-  * tune grain: A fully refactored and improved option to encode
27
-    film grain content including QP control as well as analysis
28
-    options.
29
-  * asm: ARM assembly is now enabled by default, native or cross
30
-    compiled builds supported on armv6 and later systems.
31
-  Misc
32
-  * An SSIM calculation bug was corrected
33
-- soname bump to 87.
34
-- Fixed arm.patch.
35
-- Added libnuma-devel as buildrequires for arch x86_64 (except
36
-  for openSUSE 13.1, build fails).
37
-
38
--------------------------------------------------------------------
39
 Wed Feb  3 13:22:42 UTC 2016 - idonmez@suse.com
40
 
41
 - Update to version 1.9
42
x265.spec Changed
26
 
1
@@ -1,10 +1,10 @@
2
 # based on the spec file from https://build.opensuse.org/package/view_file/home:Simmphonie/libx265/
3
 
4
 Name:           x265
5
-%define soname  87
6
+%define soname  79
7
 %define libname lib%{name}
8
 %define libsoname %{libname}-%{soname}
9
-Version:        2.0
10
+Version:        1.9
11
 Release:        0
12
 License:        GPL-2.0+
13
 Summary:        A free h265/HEVC encoder - encoder binary
14
@@ -14,11 +14,6 @@
15
 Patch0:         arm.patch
16
 BuildRequires:  gcc gcc-c++
17
 BuildRequires:  cmake >= 2.8.8
18
-%if ! ( 0%{?suse_version} == 1310 )
19
-%ifarch x86_64
20
-BuildRequires:  libnuma-devel
21
-%endif
22
-%endif
23
 BuildRequires:  pkg-config
24
 BuildRequires:  yasm >= 1.2.0
25
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
26
arm.patch Changed
98
 
1
@@ -1,25 +1,19 @@
2
-Index: x265_2.0/source/CMakeLists.txt
3
+Index: x265_11047/source/CMakeLists.txt
4
 ===================================================================
5
---- x265_2.0.orig/source/CMakeLists.txt
6
-+++ x265_2.0/source/CMakeLists.txt
7
-@@ -60,15 +60,22 @@
8
+--- x265_11047.orig/source/CMakeLists.txt
9
++++ x265_11047/source/CMakeLists.txt
10
+@@ -56,10 +56,22 @@ elseif(POWERMATCH GREATER "-1")
11
      message(STATUS "Detected POWER target processor")
12
      set(POWER 1)
13
      add_definitions(-DX265_ARCH_POWER=1)
14
--elseif(ARMMATCH GREATER "-1")
15
--    if(CROSS_COMPILE_ARM)
16
--        message(STATUS "Cross compiling for ARM arch")
17
--    else()
18
--        set(CROSS_COMPILE_ARM 0)
19
--    endif()
20
--    message(STATUS "Detected ARM target processor")
21
--    set(ARM 1)
22
--    add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1)
23
 +elseif(${SYSPROC} MATCHES "armv5.*")
24
 +    message(STATUS "Detected ARMV5 system processor")
25
 +    set(ARMV5 1)
26
 +    add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=0 -DHAVE_NEON=0)
27
-+elseif(${SYSPROC} STREQUAL "armv6l")
28
+ elseif(${SYSPROC} STREQUAL "armv6l")
29
+-    message(STATUS "Detected ARM target processor")
30
+-    set(ARM 1)
31
+-    add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1)
32
 +    message(STATUS "Detected ARMV6 system processor")
33
 +    set(ARMV6 1)
34
 +    add_definitions(-DX265_ARCH_ARM=1 -DHAVE_ARMV6=1 -DHAVE_NEON=0)
35
@@ -34,32 +28,21 @@
36
  else()
37
      message(STATUS "CMAKE_SYSTEM_PROCESSOR value `${CMAKE_SYSTEM_PROCESSOR}` is unknown")
38
      message(STATUS "Please add this value near ${CMAKE_CURRENT_LIST_FILE}:${CMAKE_CURRENT_LIST_LINE}")
39
-@@ -186,18 +193,9 @@
40
-             add_definitions(-march=i686)
41
-         endif()
42
+@@ -169,8 +181,8 @@ if(GCC)
43
+     elseif(X86 AND NOT X64)
44
+         add_definitions(-march=i686)
45
      endif()
46
--    if(ARM AND CROSS_COMPILE_ARM)
47
--        set(ARM_ARGS -march=armv6 -mfloat-abi=soft -mfpu=vfp -marm -fPIC)
48
--    elseif(ARM)
49
--        find_package(Neon)
50
--        if(CPU_HAS_NEON)
51
--            set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=neon -marm -fPIC)
52
--            add_definitions(-DHAVE_NEON)
53
--        else()
54
--            set(ARM_ARGS -mcpu=native -mfloat-abi=hard -mfpu=vfp -marm)
55
--        endif()
56
--    endif()
57
--    add_definitions(${ARM_ARGS})
58
+-    if(ARM)
59
+-        add_definitions(-march=armv6 -mfloat-abi=hard -mfpu=vfp)
60
 +    if(ARMV7)
61
 +        add_definitions(-fPIC)
62
-+    endif()
63
+     endif()
64
      if(FPROFILE_GENERATE)
65
          if(INTEL_CXX)
66
-             add_definitions(-prof-gen -prof-dir="${CMAKE_CURRENT_BINARY_DIR}")
67
-Index: x265_2.0/source/common/cpu.cpp
68
+Index: x265_11047/source/common/cpu.cpp
69
 ===================================================================
70
---- x265_2.0.orig/source/common/cpu.cpp
71
-+++ x265_2.0/source/common/cpu.cpp
72
+--- x265_11047.orig/source/common/cpu.cpp
73
++++ x265_11047/source/common/cpu.cpp
74
 @@ -37,7 +37,7 @@
75
  #include <machine/cpu.h>
76
  #endif
77
@@ -69,20 +52,3 @@
78
  #include <signal.h>
79
  #include <setjmp.h>
80
  static sigjmp_buf jmpbuf;
81
-@@ -340,7 +340,6 @@
82
-     }
83
- 
84
-     canjump = 1;
85
--    PFX(cpu_neon_test)();
86
-     canjump = 0;
87
-     signal(SIGILL, oldsig);
88
- #endif // if !HAVE_NEON
89
-@@ -356,7 +355,7 @@
90
-     // which may result in incorrect detection and the counters stuck enabled.
91
-     // right now Apple does not seem to support performance counters for this test
92
- #ifndef __MACH__
93
--    flags |= PFX(cpu_fast_neon_mrc_test)() ? X265_CPU_FAST_NEON_MRC : 0;
94
-+    //flags |= PFX(cpu_fast_neon_mrc_test)() ? X265_CPU_FAST_NEON_MRC : 0;
95
- #endif
96
-     // TODO: write dual issue test? currently it's A8 (dual issue) vs. A9 (fast mrc)
97
- #endif // if HAVE_ARMV6
98
x265_2.0.tar.gz -> x265_1.9.tar.gz Changed
Refresh
Refresh

Olaf Hering

olh wrote over 8 years ago

Why the new condition for 13.1, whats different in that libnuma variant?

Request History
enzokiel's avatar

enzokiel created request over 8 years ago

Update to version 2.0


Olaf Hering's avatar

olh accepted request over 8 years ago