Accepting request 673363 from multimedia:libs

- disable vsx on ppc64le to fix build failure

- update to version 1.8.0
  This release focused on encoding performance for realtime and VOD use cases.
  - Upgrading:
    This adds and improves several vp9 controls. Most are related to SVC:
      VP9E_SET_SVC_FRAME_DROP_LAYER:
        - Frame dropping in SVC.
      VP9E_SET_SVC_INTER_LAYER_PRED:
        - Inter-layer prediction in SVC.
      VP9E_SET_SVC_GF_TEMPORAL_REF:
        - Enable long term temporal reference in SVC.
      VP9E_SET_SVC_REF_FRAME_CONFIG/VP9E_GET_SVC_REF_FRAME_CONFIG:
        - Extend and improve this control for better flexibility in setting SVC
          pattern dynamically.
      VP9E_SET_POSTENCODE_DROP:
        - Allow for post-encode frame dropping (applies to non-SVC too).
      VP9E_SET_SVC_SPATIAL_LAYER_SYNC:
        - Enable spatial layer sync frames.
      VP9E_SET_SVC_LAYER_ID:
        - Extend api to specify temporal id for each spatial layers.
      VP9E_SET_ROI_MAP:
        - Extend Region of Interest functionality to VP9.
  - Enhancements:
    2 pass vp9 encoding has improved substantially. When using --auto-alt-ref=6,
    we see approximately 8% for VBR and 10% for CQ. When using --auto-alt-ref=1,
    the gains are approximately 4% for VBR and 5% for CQ.
    For real-time encoding, speed 7 has improved by ~5-10%. Encodes targeted at
    screen sharing have improved when the content changes significantly (slide
    sharing) or scrolls. There is a new speed 9 setting for mobile devices which

OBS-URL: https://build.opensuse.org/request/show/673363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libvpx?expand=0&rev=38
This commit is contained in:
Stephan Kulow 2019-02-24 15:58:51 +00:00 committed by Git OBS Bridge
commit 76bbdeef12
8 changed files with 80 additions and 26 deletions

View File

@ -2,8 +2,8 @@
<service name="obs_scm" mode="disabled">
<param name="url">https://github.com/webmproject/libvpx.git</param>
<param name="scm">git</param>
<param name="version">1.7.0</param>
<param name="revision">v1.7.0</param>
<param name="version">1.8.0</param>
<param name="revision">v1.8.0</param>
</service>
<service mode="disabled" name="set_version" />

View File

@ -1 +1 @@
libvpx5
libvpx6

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7ceb50bbaefd2423fcd3d05bb4dda153ca67e14008bc3d753ae1ea68b9038a85
size 16864782

3
libvpx-1.8.0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cbe7b31d12c8905578e2a49e07585a57a6e8cbe7d7776d2c2ac77dde2ca3d587
size 18273294

View File

@ -1,8 +1,8 @@
diff --git a/build/make/configure.sh b/build/make/configure.sh
index d7e40b83f..55e3281a1 100644
index 00214c9d2..4001d6497 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -710,6 +710,12 @@ process_common_toolchain() {
@@ -754,6 +754,12 @@ process_common_toolchain() {
*i[3456]86*)
tgt_isa=x86
;;
@ -16,15 +16,15 @@ index d7e40b83f..55e3281a1 100644
tgt_isa=sparc
;;
diff --git a/configure b/configure
index e5a74c6f2..55c7ba979 100755
index 6204f10b6..54ff8862b 100755
--- a/configure
+++ b/configure
@@ -114,6 +114,8 @@ all_platforms="${all_platforms} armv7s-darwin-gcc"
all_platforms="${all_platforms} armv8-linux-gcc"
@@ -116,6 +116,8 @@ all_platforms="${all_platforms} armv8-linux-gcc"
all_platforms="${all_platforms} mips32-linux-gcc"
all_platforms="${all_platforms} mips64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
+all_platforms="${all_platforms} s390-linux-gcc"
+all_platforms="${all_platforms} s390x-linux-gcc"
all_platforms="${all_platforms} ppc64-linux-gcc"
all_platforms="${all_platforms} ppc64le-linux-gcc"
all_platforms="${all_platforms} sparc-solaris-gcc"
all_platforms="${all_platforms} x86-android-gcc"
all_platforms="${all_platforms} x86-darwin8-gcc"

View File

@ -1,3 +1,56 @@
-------------------------------------------------------------------
Mon Feb 11 13:49:33 UTC 2019 - Adrian Schröter <adrian@suse.de>
- disable vsx on ppc64le to fix build failure
-------------------------------------------------------------------
Tue Feb 5 07:37:48 UTC 2019 - Adrian Schröter <adrian@suse.de>
- update to version 1.8.0
This release focused on encoding performance for realtime and VOD use cases.
- Upgrading:
This adds and improves several vp9 controls. Most are related to SVC:
VP9E_SET_SVC_FRAME_DROP_LAYER:
- Frame dropping in SVC.
VP9E_SET_SVC_INTER_LAYER_PRED:
- Inter-layer prediction in SVC.
VP9E_SET_SVC_GF_TEMPORAL_REF:
- Enable long term temporal reference in SVC.
VP9E_SET_SVC_REF_FRAME_CONFIG/VP9E_GET_SVC_REF_FRAME_CONFIG:
- Extend and improve this control for better flexibility in setting SVC
pattern dynamically.
VP9E_SET_POSTENCODE_DROP:
- Allow for post-encode frame dropping (applies to non-SVC too).
VP9E_SET_SVC_SPATIAL_LAYER_SYNC:
- Enable spatial layer sync frames.
VP9E_SET_SVC_LAYER_ID:
- Extend api to specify temporal id for each spatial layers.
VP9E_SET_ROI_MAP:
- Extend Region of Interest functionality to VP9.
- Enhancements:
2 pass vp9 encoding has improved substantially. When using --auto-alt-ref=6,
we see approximately 8% for VBR and 10% for CQ. When using --auto-alt-ref=1,
the gains are approximately 4% for VBR and 5% for CQ.
For real-time encoding, speed 7 has improved by ~5-10%. Encodes targeted at
screen sharing have improved when the content changes significantly (slide
sharing) or scrolls. There is a new speed 9 setting for mobile devices which
is about 10-20% faster than speed 8.
- Bug fixes:
VP9 denoiser issue.
VP9 partition issue for 1080p.
VP9 rate control improvments.
Postprocessing Multi Frame Quality Enhancement (MFQE) issue.
VP8 multithread decoder issues.
A variety of fuzzing issues.
- so name is changing to 6
- use optflags for building
-------------------------------------------------------------------
Tue Mar 6 16:30:12 UTC 2018 - adrian@suse.de

View File

@ -1,5 +1,5 @@
name: libvpx
version: 1.7.0
mtime: 1516832744
commit: f80be22a1099b2a431c2796f529bb261064ec6b4
version: 1.8.0
mtime: 1549299753
commit: b85ac11737430a7f600ac4efb643d4833afd7428

View File

@ -1,7 +1,7 @@
#
# spec file for package libvpx
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 5
%define sover 6
Name: libvpx
Version: 1.7.0
Version: 1.8.0
Release: 0
Summary: VP8/VP9 codec library
License: BSD-3-Clause AND GPL-2.0-or-later
@ -108,11 +108,12 @@ cd build
# CPU doesn't have NEON, e.g. NVIDIA Tegra 2.
# So, we still set -mfpu=neon when build libvpx rpm, but also enable
# runtime-cpu-detect for runtime detect NEON.
export CFLAGS="%optflags -O3"
export CXXFLAGS="%optflags -O3"
../configure \
--prefix=%{_prefix} \
--libdir=%{_libdir} \
--enable-unit-tests \
--enable-debug \
--enable-shared \
--disable-static \
--enable-vp8 \
@ -120,7 +121,9 @@ cd build
--enable-vp9-highbitdepth \
--enable-postproc \
--enable-multithread \
--enable-experimental --enable-spatial-svc \
%ifarch ppc64le
--disable-vsx \
%endif
%ifarch armv5tel armv5el
--target=armv5te-linux-gcc \
%endif
@ -130,7 +133,6 @@ cd build
%endif
--extra-cflags="-std=gnu99 -U_FORTIFY_SOURCE %{optflags}" \
--extra-cxxflags="-U_FORTIFY_SOURCE %{optflags}" \
--enable-pic
# size-limit to avoid CVE-2017-0641 DoS attacks. The limit is the
# 8K Fulldome resolution and should be enough for all current use cases
# bso#1056539
@ -156,12 +158,11 @@ make %{?_smp_mflags} verbose=yes GEN_EXAMPLES= DESTDIR=%{buildroot} install
%{_bindir}/*
%files -n %{name}%{sover}
%defattr(-, root, root)
%doc LICENSE AUTHORS README CHANGELOG
%license LICENSE
%doc AUTHORS README CHANGELOG
%{_libdir}/libvpx.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/vpx/
%{_libdir}/pkgconfig/vpx.pc
%{_libdir}/libvpx.so