head 1.24; access; symbols pkgsrc-2018Q4:1.23.0.8 pkgsrc-2018Q4-base:1.23 pkgsrc-2018Q3:1.23.0.6 pkgsrc-2018Q3-base:1.23 pkgsrc-2018Q2:1.23.0.4 pkgsrc-2018Q2-base:1.23 pkgsrc-2018Q1:1.23.0.2 pkgsrc-2018Q1-base:1.23 pkgsrc-2017Q4:1.22.0.8 pkgsrc-2017Q4-base:1.22 pkgsrc-2017Q3:1.22.0.6 pkgsrc-2017Q3-base:1.22 pkgsrc-2017Q2:1.22.0.2 pkgsrc-2017Q2-base:1.22 pkgsrc-2017Q1:1.21.0.2 pkgsrc-2017Q1-base:1.21 pkgsrc-2016Q4:1.20.0.4 pkgsrc-2016Q4-base:1.20 pkgsrc-2016Q3:1.20.0.2 pkgsrc-2016Q3-base:1.20 pkgsrc-2016Q2:1.19.0.6 pkgsrc-2016Q2-base:1.19 pkgsrc-2016Q1:1.19.0.4 pkgsrc-2016Q1-base:1.19 pkgsrc-2015Q4:1.19.0.2 pkgsrc-2015Q4-base:1.19 pkgsrc-2015Q3:1.18.0.2 pkgsrc-2015Q3-base:1.18 pkgsrc-2015Q2:1.16.0.6 pkgsrc-2015Q2-base:1.16 pkgsrc-2015Q1:1.16.0.4 pkgsrc-2015Q1-base:1.16 pkgsrc-2014Q4:1.16.0.2 pkgsrc-2014Q4-base:1.16 pkgsrc-2014Q3:1.15.0.4 pkgsrc-2014Q3-base:1.15 pkgsrc-2014Q2:1.15.0.2 pkgsrc-2014Q2-base:1.15 pkgsrc-2014Q1:1.12.0.2 pkgsrc-2014Q1-base:1.12 pkgsrc-2013Q4:1.11.0.2 pkgsrc-2013Q4-base:1.11 pkgsrc-2013Q3:1.9.0.2 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.8.0.6 pkgsrc-2013Q2-base:1.8 pkgsrc-2013Q1:1.8.0.4 pkgsrc-2013Q1-base:1.8 pkgsrc-2012Q4:1.8.0.2 pkgsrc-2012Q4-base:1.8 pkgsrc-2012Q3:1.7.0.4 pkgsrc-2012Q3-base:1.7 pkgsrc-2012Q2:1.7.0.2 pkgsrc-2012Q2-base:1.7 pkgsrc-2012Q1:1.6.0.2 pkgsrc-2012Q1-base:1.6 pkgsrc-2011Q4:1.4.0.4 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.2 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.1.1.1.0.2 pkgsrc-2011Q1-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.24 date 2019.02.12.20.47.14; author adam; state dead; branches; next 1.23; commitid LXfiy3q1XFv9hwbB; 1.23 date 2018.01.28.16.04.11; author wiz; state Exp; branches; next 1.22; commitid vkVhsfYTIqXoVEoA; 1.22 date 2017.06.28.15.35.48; author he; state Exp; branches; next 1.21; commitid QPwAG2he2diGD9Xz; 1.21 date 2017.01.16.12.12.59; author wiz; state Exp; branches; next 1.20; commitid g5b1HgV8JVPpLbCz; 1.20 date 2016.08.16.23.53.25; author ryoon; state Exp; branches; next 1.19; commitid mNpQplwo1JbCyAiz; 1.19 date 2015.11.18.14.09.25; author ryoon; state Exp; branches; next 1.18; commitid pvejQi3BAqei4AJy; 1.18 date 2015.07.06.09.46.36; author martin; state Exp; branches; next 1.17; commitid kRmr6BuYRFr9Xcsy; 1.17 date 2015.06.30.09.53.17; author ryoon; state Exp; branches; next 1.16; commitid TtRc1QDqXLbsbrry; 1.16 date 2014.11.14.11.51.01; author jmcneill; state Exp; branches; next 1.15; commitid ZOM0usqFtmDha9Yx; 1.15 date 2014.05.15.12.00.04; author martin; state Exp; branches; next 1.14; commitid 7pMWkyZlIo9Q5DAx; 1.14 date 2014.05.15.11.15.10; author martin; state Exp; branches; next 1.13; commitid R0eejLbI1xwuQCAx; 1.13 date 2014.05.05.21.16.28; author ryoon; state Exp; branches; next 1.12; commitid 1Zjtd0toqjQRuozx; 1.12 date 2014.01.02.15.18.01; author ryoon; state Exp; branches; next 1.11; commitid aGQVdjXIu8T0tyjx; 1.11 date 2013.11.29.18.33.54; author bsiegert; state Exp; branches; next 1.10; commitid yeWJ5bB9ZSQrDcfx; 1.10 date 2013.11.09.05.28.35; author ryoon; state Exp; branches; next 1.9; commitid eAqvEcNfKbeoWycx; 1.9 date 2013.09.11.15.50.32; author ryoon; state Exp; branches; next 1.8; commitid lxeUzQLhNo1jh25x; 1.8 date 2012.12.23.10.33.34; author ryoon; state Exp; branches; next 1.7; 1.7 date 2012.05.22.20.42.58; author ryoon; state Exp; branches; next 1.6; 1.6 date 2012.03.05.21.16.09; author adam; state Exp; branches; next 1.5; 1.5 date 2012.01.31.11.53.52; author ryoon; state Exp; branches; next 1.4; 1.4 date 2011.08.07.17.20.09; author ryoon; state Exp; branches; next 1.3; 1.3 date 2011.06.16.13.22.48; author seanb; state Exp; branches; next 1.2; 1.2 date 2011.04.14.07.08.00; author adam; state Exp; branches; next 1.1; 1.1 date 2011.01.19.21.15.51; author ryoon; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2011.01.19.21.15.51; author ryoon; state Exp; branches; next ; desc @@ 1.24 log @libvpx: updated to 1.8.0 v1.8.0 "Northern Shoveler Duck" 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. @ text @$NetBSD: patch-ad,v 1.23 2018/01/28 16:04:11 wiz Exp $ *BSD and qnx are identified as linux. Add another SDK path on Mac OS X. All sparc cpus can not do unaligned access. Detect NetBSD ARMv7 hardfloat toolchain. Recognize powerpc as a target ISA, so we don't end up with generic-gnu and possibly no libm reference... --- build/make/configure.sh.orig 2018-01-24 22:25:44.000000000 +0000 +++ build/make/configure.sh @@@@ -1,4 +1,4 @@@@ -#!/bin/sh +#!/usr/pkg/bin/bash ## ## configure.sh ## @@@@ -696,7 +696,7 @@@@ process_common_toolchain() { aarch64*) tgt_isa=arm64 ;; - armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf) + armv7*-hardfloat* | armv7*-gnueabihf | arm-*-gnueabihf | armv7*-netbsd*-*hf) tgt_isa=armv7 float_abi=hard ;; @@@@ -725,6 +725,9 @@@@ process_common_toolchain() { *mips32el*) tgt_isa=mips32 ;; + *powerpc*) + tgt_isa=powerpc + ;; esac # detect tgt_os @@@@ -767,7 +770,7 @@@@ process_common_toolchain() { [ -z "$tgt_isa" ] && tgt_isa=x86 tgt_os=win32 ;; - *linux*|*bsd*) + *linux*|*bsd*|*qnx6*) tgt_os=linux ;; *solaris2.10) @@@@ -813,6 +816,9 @@@@ process_common_toolchain() { ppc*) enable_feature ppc ;; + sparc*) + disable_feature fast_unaligned + ;; esac # PIC is probably what we want when building shared libs @@@@ -1449,7 +1455,7 @@@@ EOF check_cc </dev/null 2>&1 && enable_feature big_endian # Try to find which inline keywords are supported @@@@ -1466,11 +1472,33 @@@@ EOF # bionic includes basic pthread functionality, obviating -lpthread. ;; *) - check_header pthread.h && add_extralibs -lpthread + check_header pthread.h && add_extralibs ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} ;; esac fi + case ${tgt_os} in + darwin*) + add_extralibs -lm + ;; + solaris*) + add_extralibs -lm -lrt + ;; + linux*) + case ${gcctarget} in + *qnx6*) + add_extralibs -lm + ;; + *openbsd*) + add_extralibs -lm + ;; + *) + add_extralibs -lm -lrt + ;; + esac + ;; + esac + # only for MIPS platforms case ${toolchain} in mips*) @ 1.23 log @libvpx: update to 1.7.0. 2017-01-04 v1.7.0 "Mandarin Duck" This release focused on high bit depth performance (10/12 bit) and vp9 encoding improvements. - Upgrading: This release is ABI incompatible due to new vp9 encoder features. Frame parallel decoding for vp9 has been removed. - Enhancements: vp9 encoding supports additional threads with --row-mt. This can be greater than the number of tiles. Two new vp9 encoder options have been added: --corpus-complexity --tune-content=film Additional tooling for respecting the vp9 "level" profiles has been added. - Bug fixes: A variety of fuzzing issues. vp8 threading fix for ARM. Codec control VP9_SET_SKIP_LOOP_FILTER fixed. Reject invalid multi resolution configurations. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.22 2017/06/28 15:35:48 he Exp $ @ 1.22 log @Recognize powerpc as an ISA, and add powerpc-linux-gnu, so that ... NetBSD/macppc can build this, and get a proper dependence on -lm, contrary to when configured as generic--gnu. Bump PKGREVISION, OK from jperkin@@ @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.21 2017/01/16 12:12:59 wiz Exp $ d10 1 a10 1 --- build/make/configure.sh.orig 2017-01-12 20:27:27.000000000 +0000 d18 1 a18 1 @@@@ -680,7 +680,7 @@@@ process_common_toolchain() { d27 3 a29 3 @@@@ -697,6 +697,9 @@@@ process_common_toolchain() { *sparc*) tgt_isa=sparc d37 1 a37 1 @@@@ -732,7 +735,7 @@@@ process_common_toolchain() { d46 3 a48 3 @@@@ -775,6 +778,9 @@@@ process_common_toolchain() { mips*) enable_feature mips d56 1 a56 1 @@@@ -1382,7 +1388,7 @@@@ EOF d65 1 a65 1 @@@@ -1399,11 +1405,33 @@@@ EOF @ 1.21 log @Updated libvpx to 1.6.1. 2017-01-09 v1.6.1 "Long Tailed Duck" This release improves upon the VP9 encoder and speeds up the encoding and decoding processes. - Upgrading: This release is ABI compatible with 1.6.0. - Enhancements: Faster VP9 encoding and decoding. High bit depth builds now provide similar speed for 8 bit encode and decode for x86 targets. Other platforms and higher bit depth improvements are in progress. - Bug Fixes: A variety of fuzzing issues. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.20 2016/08/16 23:53:25 ryoon Exp $ d7 2 d27 11 a37 1 @@@@ -732,7 +732,7 @@@@ process_common_toolchain() { d46 1 a46 1 @@@@ -775,6 +775,9 @@@@ process_common_toolchain() { d56 1 a56 1 @@@@ -1382,7 +1385,7 @@@@ EOF d65 1 a65 1 @@@@ -1399,11 +1402,33 @@@@ EOF @ 1.20 log @Update to 1.6.0 Changelog: 2016-07-20 v1.6.0 "Khaki Campbell Duck" This release improves upon the VP9 encoder and speeds up the encoding and decoding processes. - Upgrading: This release is ABI incompatible with 1.5.0 due to a new 'color_range' enum in vpx_image and some minor changes to the VP8_COMP structure. The default key frame interval for VP9 has changed from 128 to 9999. - Enhancement: A core focus has been performance for low end Intel processors. SSSE3 instructions such as 'pshufb' have been avoided and instructions have been reordered to better accommodate the more constrained pipelines. As a result, devices based on Celeron processors have seen substantial decoding improvements. From Indian Runner Duck to Javan Whistling Duck, decoding speed improved between 10 and 30%. Between Javan Whistling Duck and Khaki Campbell Duck, it improved another 10 to 15%. While Celeron benefited most, Core-i5 also improved 5% and 10% between the respective releases. Realtime performance for WebRTC for both speed and quality has received a lot of attention. - Bug Fixes: A number of fuzzing issues, found variously by Mozilla, Chromium and others, have been fixed and we strongly recommend updating. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.19 2015/11/18 14:09:25 ryoon Exp $ d8 1 a8 1 --- build/make/configure.sh.orig 2016-07-21 01:15:41.000000000 +0000 d16 3 a18 3 @@@@ -683,7 +683,7 @@@@ process_common_toolchain() { armv6*) tgt_isa=armv6 d25 1 a25 1 @@@@ -735,7 +735,7 @@@@ process_common_toolchain() { d34 1 a34 1 @@@@ -778,6 +778,9 @@@@ process_common_toolchain() { d44 1 a44 1 @@@@ -1415,7 +1418,7 @@@@ EOF d53 2 a54 2 @@@@ -1431,11 +1434,33 @@@@ EOF *-android-gcc) @ 1.19 log @Update to 1.5.0 * Fix HOMEPAGE Changelog: 2015-11-09 v1.5.0 "Javan Whistling Duck" This release improves upon the VP9 encoder and speeds up the encoding and decoding processes. - Upgrading: This release is ABI incompatible with 1.4.0. It drops deprecated VP8 controls and adds a variety of VP9 controls for testing. The vpxenc utility now prefers VP9 by default. - Enhancements: Faster VP9 encoding and decoding Smaller library size by combining functions used by VP8 and VP9 - Bug Fixes: A variety of fuzzing issues @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.18 2015/07/06 09:46:36 martin Exp $ d8 1 a8 1 --- build/make/configure.sh.orig 2015-11-09 22:12:38.000000000 +0000 d16 1 a16 1 @@@@ -647,7 +647,7 @@@@ process_common_toolchain() { d20 2 a21 2 - armv7*-hardfloat*) + armv7*-hardfloat*|armv7*-netbsd*-*hf) d25 1 a25 1 @@@@ -695,7 +695,7 @@@@ process_common_toolchain() { d34 1 a34 1 @@@@ -738,6 +738,9 @@@@ process_common_toolchain() { d44 1 a44 10 @@@@ -869,7 +872,7 @@@@ process_common_toolchain() { case ${tgt_cc} in gcc) - CROSS=${CROSS:-arm-none-linux-gnueabi-} +# CROSS=${CROSS:-arm-none-linux-gnueabi-} link_with_cc=gcc setup_gnu_toolchain arch_int=${tgt_isa##armv} @@@@ -1338,7 +1341,7 @@@@ EOF d53 1 a53 1 @@@@ -1354,11 +1357,33 @@@@ EOF @ 1.18 log @Fix inverted flag in sparc alignment patch @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.17 2015/06/30 09:53:17 ryoon Exp $ d8 1 a8 1 --- build/make/configure.sh.orig 2015-04-03 18:49:19.000000000 +0000 d10 7 a16 1 @@@@ -626,7 +626,7 @@@@ process_common_toolchain() { d25 1 a25 1 @@@@ -688,7 +688,7 @@@@ process_common_toolchain() { d34 1 a34 1 @@@@ -731,6 +731,9 @@@@ process_common_toolchain() { d44 1 a44 1 @@@@ -831,7 +834,7 @@@@ process_common_toolchain() { d53 1 a53 10 @@@@ -1041,8 +1044,6 @@@@ EOF check_add_cflags -mips32r2 -mdspr2 disable_feature fast_unaligned fi - check_add_cflags -march=${tgt_isa} - check_add_asflags -march=${tgt_isa} check_add_asflags -KPIC ;; ppc*) @@@@ -1280,7 +1281,7 @@@@ EOF d62 1 a62 1 @@@@ -1296,11 +1297,33 @@@@ EOF @ 1.17 log @Update to 1.4.0 Changelog: 2015-04-03 v1.4.0 "Indian Runner Duck" This release includes significant improvements to the VP9 codec. - Upgrading: This release is ABI incompatible with 1.3.0. It drops the compatibility layer, requiring VPX_IMG_FMT_* instead of IMG_FMT_*, and adds several codec controls for VP9. - Enhancements: Faster VP9 encoding and decoding Multithreaded VP9 decoding (tile and frame-based) Multithreaded VP9 encoding - on by default YUV 4:2:2 and 4:4:4 support in VP9 10 and 12bit support in VP9 64bit ARM support by replacing ARM assembly with intrinsics - Bug Fixes: Fixes a VP9 bitstream issue in Profile 1. This only affected non-YUV 4:2:0 files. - Known Issues: Frame Parallel decoding fails for segmented and non-420 files. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.16 2014/11/14 11:51:01 jmcneill Exp $ d33 1 a33 1 + enable_feature fast_unaligned @ 1.16 log @NetBSD ARMv7 hardfloat build fix @ text @d1 1 a1 1 $NetBSD$ d8 1 a8 1 --- build/make/configure.sh.orig 2013-12-17 17:05:18.000000000 +0000 d10 26 a35 24 @@@@ -604,7 +604,7 @@@@ process_common_toolchain() { armv6*) tgt_isa=armv6 ;; - armv7*-hardfloat*) + armv7*-hardfloat*|armv7*-netbsd*-*hf) tgt_isa=armv7 float_abi=hard ;; @@@@ -665,7 +665,7 @@@@ process_common_toolchain() { [ -z "$tgt_isa" ] && tgt_isa=x86 tgt_os=win32 ;; - *linux*|*bsd*) + *linux*|*bsd*|*qnx6*) tgt_os=linux ;; *solaris2.10) @@@@ -704,6 +704,7 @@@@ process_common_toolchain() { case ${tgt_isa} in arm*) enable_feature arm;; mips*) enable_feature mips;; + sparc) disable_feature fast_unaligned;; esac d37 2 a38 2 # PIC is probably what we want when building shared libs @@@@ -799,7 +800,7 @@@@ process_common_toolchain() { d40 1 a40 1 case ${tgt_cc} in d42 13 a54 13 - CROSS=${CROSS:-arm-none-linux-gnueabi-} +# CROSS=${CROSS:-arm-none-linux-gnueabi-} link_with_cc=gcc setup_gnu_toolchain arch_int=${tgt_isa##armv} @@@@ -988,8 +989,6 @@@@ EOF check_add_cflags -mips32r2 -mdspr2 disable_feature fast_unaligned fi - check_add_cflags -march=${tgt_isa} - check_add_asflags -march=${tgt_isa} check_add_asflags -KPIC ;; d56 3 a58 3 @@@@ -1219,7 +1218,7 @@@@ EOF check_cc <= 2005 configure: default configure log to config.log Add encoding option --static-thresh - Speed: Miscellaneous speed optimizations for VP8 and VP9. - Quality: In general, quality is consistent with the Eider release. - Bug Fixes: This release represents approximately a year of engineering effort, and contains multiple bug fixes. Please refer to git history for details. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.11 2013/11/29 18:33:54 bsiegert Exp $ d44 1 a44 1 @@@@ -1235,10 +1233,29 @@@@ EOF d60 1 a60 1 + linux*) d65 3 @ 1.11 log @Try to unbreak the build on MirBSD. With this, it compiles all the way through but then fails to link because the library contains unfulfilled references to sse2 functions -- even though they are disabled. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.10 2013/11/09 05:28:35 ryoon Exp $ d6 1 a6 1 --- build/make/configure.sh.orig Wed Sep 4 18:48:57 2013 d8 1 a8 1 @@@@ -645,7 +645,7 @@@@ process_common_toolchain() { d17 1 a17 1 @@@@ -775,7 +775,7 @@@@ process_common_toolchain() { d26 1 a26 1 @@@@ -960,8 +960,6 @@@@ process_common_toolchain() { d28 1 a28 1 disable fast_unaligned d35 1 a35 1 @@@@ -1152,7 +1155,7 @@@@ EOF d41 1 a41 1 grep '4f *32 *42 *45' >/dev/null 2>&1 && enable big_endian d43 2 a44 2 # Almost every platform uses pthreads. @@@@ -1160,9 +1163,28 @@@@ EOF d52 1 a52 1 + d71 1 a71 1 d74 1 @ 1.10 log @Fix build on NetBSD/arm, at least on NetBSD/evbearmv6hf-el 6.99.25 @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.9 2013/09/11 15:50:32 ryoon Exp $ d6 1 a6 1 --- build/make/configure.sh.orig 2013-09-04 18:49:22.000000000 +0000 d35 10 a44 1 @@@@ -1160,10 +1158,29 @@@@ EOF d52 1 a52 1 d71 1 a71 1 + a73 1 mips*) @ 1.9 log @Update to 1.2.0 * Buildlink to devel/googletest to test-libvpx (not installed and not tested). Changelog: 2012-12-21 v1.2.0 This release acts as a checkpoint for a large amount of internal refactoring and testing. It also contains a number of small bugfixes, so all users are encouraged to upgrade. - Upgrading: This release is ABI and API compatible with Duclair (v1.0.0). Users of older releases should refer to the Upgrading notes in this document for that release. - Enhancements: VP8 optimizations for MIPS dspr2 vpxenc: add -quiet option - Speed: Encoder and decoder speed is consistent with the Eider release. - Quality: In general, quality is consistent with the Eider release. Minor tweaks to ARNR filtering Minor improvements to real time encoding with multiple temporal layers - Bug Fixes: Fixes multithreaded encoder race condition in loopfilter Fixes multi-resolution threaded encoding Fix potential encoder dead-lock after picture resize @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.8 2012/12/23 10:33:34 ryoon Exp $ d17 9 @ 1.8 log @Bump PKGREVISION. * Fix broken library generation on NetBSD/cobalt @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.7 2012/05/22 20:42:58 ryoon Exp $ d6 1 a6 1 --- build/make/configure.sh.orig 2012-05-08 23:14:00.000000000 +0000 d8 1 a8 1 @@@@ -596,7 +596,7 @@@@ process_common_toolchain() { d17 4 a20 18 @@@@ -656,6 +656,9 @@@@ process_common_toolchain() { if [ -d "${OSX_SDK_ROOTS}/${v}" ]; then osx_sdk_dir="${OSX_SDK_ROOTS}/${v}" fi + if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" ]; then + osx_sdk_dir="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" + fi done fi ;; @@@@ -890,12 +893,9 @@@@ process_common_toolchain() { esac ;; mips*) - CROSS=${CROSS:-mipsel-linux-uclibc-} link_with_cc=gcc setup_gnu_toolchain tune_cflags="-mtune=" d22 2 a23 2 - check_add_asflags -march=${tgt_isa} check_add_asflags -KPIC d26 1 a26 1 @@@@ -1082,10 +1082,29 @@@@ EOF d28 1 a28 1 *-win*);; d37 2 a38 2 + add_extralibs -lm + ;; d40 12 a51 12 + add_extralibs -lm -lrt + ;; + linux*) + case ${gcctarget} in + *qnx6*) + add_extralibs -lm + ;; + *) + add_extralibs -lm -lrt + ;; + esac + ;; d54 3 a56 3 # for sysconf(3) and friends. check_header unistd.h @ 1.7 log @Update to 1.1.0 * Tested with devel/xulrunner and www/firefox 12.0 on NetBSD/i386 6.99.7 Changelog: 2012-05-09 v1.1.0 "Eider" This introduces a number of enhancements, mostly focused on real-time encoding. In addition, it fixes a decoder bug (first introduced in Duclair) so all users of that release are encouraged to upgrade. - Upgrading: This release is ABI and API compatible with Duclair (v1.0.0). Users of older releases should refer to the Upgrading notes in this document for that release. This release introduces a new temporal denoiser, controlled by the VP8E_SET_NOISE_SENSITIVITY control. The temporal denoiser does not currently take a strength parameter, so the control is effectively a boolean - zero (off) or non-zero (on). For compatibility with existing applications, the values accepted are the same as those for the spatial denoiser (0-6). The temporal denoiser is enabled by default, and the older spatial denoiser may be restored by configuring with --disable-temporal-denoising. The temporal denoiser is more computationally intensive than the spatial one. This release removes support for a legacy, decode only API that was supported, but deprecated, at the initial release of libvpx (v0.9.0). This is not expected to have any impact. If you are impacted, you can apply a reversion to commit 2bf8fb58 locally. Please update to the latest libvpx API if you are affected. - Enhancements: Adds a motion compensated temporal denoiser to the encoder, which gives higher quality than the older spatial denoiser. (See above for notes on upgrading). In addition, support for new compilers and platforms were added, including: improved support for XCode Android x86 NDK build OS/2 support SunCC support Changing resolution with vpx_codec_enc_config_set() is now supported. Previously, reinitializing the codec was required to change the input resolution. The vpxenc application has initial support for producing multiple encodes from the same input in one call. Resizing is not yet supported, but varying other codec parameters is. Use -- to delineate output streams. Options persist from one stream to the next. Also, the vpxenc application will now use a keyframe interval of 5 seconds by default. Use the --kf-max-dist option to override. - Speed: Decoder performance improved 2.5% versus Duclair. Encoder speed is consistent with Duclair for most material. Two pass encoding of slideshow-like material will see significant improvements. Large realtime encoding speed gains at a small quality expense are possible by configuring the on-the-fly bitpacking experiment with --enable-onthefly-bitpacking. Realtime encoder can be up to 13% faster (ARM) depending on the number of threads and bitrate settings. This technique sees constant gain over the 5-16 speed range. For VC style input the loss seen is up to 0.2dB. See commit 52cf4dca for further details. - Quality: On the whole, quality is consistent with the Duclair release. Some tweaks: Reduced blockiness in easy sections by applying a penalty to intra modes. Improved quality of static sections (like slideshows) with two pass encoding. Improved keyframe sizing with multiple temporal layers - Bug Fixes: Corrected alt-ref contribution to frame rate for visible updates to the alt-ref buffer. This affected applications making manual usage of the frame reference flags, or temporal layers. Additional constraints were added to disable multi-frame quality enhancement (MFQE) in sections of the frame where there is motion. (#392) Fixed corruption issues when vpx_codec_enc_config_set() was called with spatial resampling enabled. Fixed a decoder error introduced in Duclair where the segmentation map was not being reinitialized on keyframes (#378) @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.6 2012/03/05 21:16:09 adam Exp $ d27 14 a40 1 @@@@ -1082,10 +1085,29 @@@@ EOF @ 1.6 log @Fix building with Xcode installed in /Applications (as is the current version on Lion). @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.5 2012/01/31 11:53:52 ryoon Exp $ d6 1 a6 1 --- build/make/configure.sh.orig 2012-01-27 18:36:39.000000000 +0000 d8 1 a8 1 @@@@ -573,7 +573,7 @@@@ process_common_toolchain() { d17 11 a27 11 @@@@ -628,6 +628,9 @@@@ process_common_toolchain() { if [ -d "/Developer/SDKs/MacOSX10.7.sdk" ]; then osx_sdk_dir="/Developer/SDKs/MacOSX10.7.sdk" fi + if [ -d "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" ]; then + osx_sdk_dir="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk" + fi case ${toolchain} in *-darwin8-*) @@@@ -1019,10 +1019,29 @@@@ EOF @ 1.5 log @Update to 1.0.0 * Bump BUILDLINK_ABI_DEPENDS to 1.0.0 Changelog: 2012-01-27 v1.0.0 "Duclair" Our fourth named release, focused on performance and features related to real-time encoding. It also fixes a decoder crash bug introduced in v0.9.7, so all users of that release are encouraged to upgrade. - Upgrading: This release is ABI incompatible with prior releases of libvpx, so the "major" version number has been bumped to 1. You must recompile your applications against the latest version of the libvpx headers. The API remains compatible, and this should not require code changes in most applications. - Enhancements: This release introduces several substantial new features to the encoder, of particular interest to real time streaming applications. Temporal scalability allows the encoder to produce a stream that can be decimated to different frame rates, with independent rate targetting for each substream. Multiframe quality enhancement postprocessing can make visual quality more consistent in the presence of frames that are substantially different quality than the surrounding frames, as in the temporal scalability case and in some forced keyframe scenarios. Multiple-resolution encoding support allows the encoding of the same content at different resolutions faster than encoding them separately. - Speed: Optimization targets for this release included the decoder and the real- time modes of the encoder. Decoder speed on x86 has improved 10.5% with this release. Encoder improvements followed a curve where speeds 1-3 improved 4.0%-1.5%, speeds 4-8 improved <1%, and speeds 9-16 improved 1.5% to 10.5%, respectively. "Best" mode speed is consistent with the Cayuga release. - Quality: Encoder quality in the single stream case is consistent with the Cayuga release. - Bug Fixes: This release fixes an OOB read decoder crash bug present in v0.9.7 related to the clamping of motion vectors in SPLITMV blocks. This behavior could be triggered by corrupt input or by starting decoding from a P-frame. @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.4 2011/08/07 17:20:09 ryoon Exp $ d4 1 d17 10 @ 1.4 log @Update to 0.9.7 Changelog: * Feature enhancement and bug fix * backward compatibility with 0.9.5 and 0.9.6 @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.3 2011/06/16 13:22:48 seanb Exp $ d5 1 a5 1 --- build/make/configure.sh.orig 2011-08-04 17:30:15.000000000 +0000 d7 1 a7 1 @@@@ -562,7 +562,7 @@@@ process_common_toolchain() { d16 1 a16 2 @@@@ -970,10 +970,29 @@@@ EOF if enabled multithread; then d19 1 d27 2 a28 2 + add_extralibs -lm + ;; d30 12 a41 12 + add_extralibs -lm -lrt + ;; + linux*) + case ${gcctarget} in + *qnx6*) + add_extralibs -lm + ;; + *) + add_extralibs -lm -lrt + ;; + esac + ;; @ 1.3 log @- Use pthread.buildlink3.mk for -lpthread detection. - QNX patch. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- build/make/configure.sh.orig 2011-03-04 20:40:37.000000000 +0000 d7 1 a7 1 @@@@ -559,7 +559,7 @@@@ process_common_toolchain() { d16 1 a16 1 @@@@ -975,10 +975,29 @@@@ EOF d27 2 a28 2 + add_extralibs -lm + ;; d30 2 a31 2 + add_extralibs -lm -lrt + ;; d33 9 a41 9 + case ${gcctarget} in + *qnx6*) + add_extralibs -lm + ;; + *) + add_extralibs -lm -lrt + ;; + esac + ;; d44 3 a46 3 # glibc needs these if enabled linux; then add_cflags -D_LARGEFILE_SOURCE @ 1.2 log @Pass LDFLAGS when linking; adding then removing -lrt on Darwin didn't make much sense; clean-up @ text @d1 1 a1 1 $NetBSD: patch-ad,v 1.1.1.1 2011/01/19 21:15:51 ryoon Exp $ d3 1 a3 1 *BSD are identified as linux. d5 1 a5 1 --- build/make/configure.sh.orig 2010-10-28 13:14:14.000000000 +0000 d7 15 a21 1 @@@@ -956,6 +956,18 @@@@ EOF d33 8 a40 1 + add_extralibs -lm -lrt @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d13 1 a13 1 + add_extralibs -lm -lrt @ 1.1.1.1 log @mport libvpx 0.9.5 as multimedia/libvpx. The On2 VP8 Sodec SDK from Google. @ text @@