diff options
author | maya <maya@pkgsrc.org> | 2016-10-24 10:36:12 +0000 |
---|---|---|
committer | maya <maya@pkgsrc.org> | 2016-10-24 10:36:12 +0000 |
commit | 36a764bb245b50ce1084b1263bd49a66a51f7de4 (patch) | |
tree | e9b8957f944955715d6232485d1bc85ccf0330df /multimedia/x264-devel | |
parent | 24b3ab2b0faac1aa50a416276db2f7c829169f47 (diff) | |
download | pkgsrc-36a764bb245b50ce1084b1263bd49a66a51f7de4.tar.gz |
x264-devel: update to 20161023
Approximate changelog:
Remove misaligned SSE support; could cause problems if exception masks
were messed with by libraries and is obsoleted by AVX.
Fix AVX2 detection if "limit CPUID" is enabled in the BIOS.
Fix cases where intra refresh could predict from disallowed pixels.
x86inc: support "x64"-marked Windows 64-bit machines.
Improvements:
Support cygwin 64-bit.
x86: faster SAD_X3/SAD_X4
Transparent hugepage support and optimization on Linux.
AVC-Intra encoding support.
Windows Unicode (UTF-16) support.
Fix compilation with OpenCL on OS X.
Fix a crash in the case of an OpenCL error during encoding with OpenCL.
Fix building in compilers without inline asm support.
Fix crash in high bit depth builds compiled with unaligned stack.
Fix potential misalignment crash in AVX2 denoise_dct.
Fix some builds with PIC.
Fix possible crash when writing very large filler NALUs.
Improvements:
Add --stitchable option for segmented encoding.
Add new color primaries, transfer characteristics, and matrix
coefficient options from the latest H.264 spec.
x86: optimizations to AVX2 iDCT and AVX deblock
Tweak i16x16 delta-quant-avoidance code to fix a rare flickering issue
with deblocking in static areas of the frame.
Fix an invalid memcpy in sliced-threads that sometimes used src==dst;
this probably didn't break anything, but valgrind complains and it's
technically wrong.
Fix a stack alignment bug in checkasm and use 64-bit cycle counters to
avoid overflows that could occur in some tests.
x86inc: Remove .rodata kludges; they're no longer necessary and could
cause other problems.
Improvements:
x86: add Jaguar CPU detection.
x86inc: utilize the shadow space on win64 to avoid stack pointer
manipulation in some functions.
x86: 32-byte align the stack if possible, avoiding explicit alignment
routines in ALIGNED_ARRAY for AVX2-aligned arrays.
x86: Various optimizations and a bunch of new AVX2 functions,
especially for high bit depth.
OpenCL refactoring: autoload the OpenCL library, clean up the code,
and increment X264_BUILD.
Diffstat (limited to 'multimedia/x264-devel')
-rw-r--r-- | multimedia/x264-devel/Makefile | 4 | ||||
-rw-r--r-- | multimedia/x264-devel/distinfo | 12 | ||||
-rw-r--r-- | multimedia/x264-devel/patches/patch-configure (renamed from multimedia/x264-devel/patches/patch-aa) | 38 |
3 files changed, 26 insertions, 28 deletions
diff --git a/multimedia/x264-devel/Makefile b/multimedia/x264-devel/Makefile index 9522d21fcb9..48ac903e365 100644 --- a/multimedia/x264-devel/Makefile +++ b/multimedia/x264-devel/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.59 2016/10/02 20:34:48 maya Exp $ +# $NetBSD: Makefile,v 1.60 2016/10/24 10:36:12 maya Exp $ -SNAPSHOT_DATE= 20160307 +SNAPSHOT_DATE= 20161023 DISTNAME= x264-snapshot-${SNAPSHOT_DATE}-2245 PKGNAME= x264-devel-${SNAPSHOT_DATE} diff --git a/multimedia/x264-devel/distinfo b/multimedia/x264-devel/distinfo index 6ba0665b1a6..702cdd185b2 100644 --- a/multimedia/x264-devel/distinfo +++ b/multimedia/x264-devel/distinfo @@ -1,9 +1,9 @@ -$NetBSD: distinfo,v 1.43 2016/10/02 20:34:48 maya Exp $ +$NetBSD: distinfo,v 1.44 2016/10/24 10:36:12 maya Exp $ -SHA1 (x264-snapshot-20160307-2245.tar.bz2) = 495868fbd6e99de94ee7c6823853b3fa9b3bfb7e -RMD160 (x264-snapshot-20160307-2245.tar.bz2) = 84a911b0b9925f9663ddcc27589f42c5b464f122 -SHA512 (x264-snapshot-20160307-2245.tar.bz2) = f080241aad9d83388e061bb23f177944cb0d0645b7385756a85d1fbcee77242b762de7c113b6ad7d43d565ef8100ff6ceaa1f1ed20c0ecdecfe44712a2512b08 -Size (x264-snapshot-20160307-2245.tar.bz2) = 727234 bytes -SHA1 (patch-aa) = 7e9080f9268c2e5838e7fa94e3c261822fccfe82 +SHA1 (x264-snapshot-20161023-2245.tar.bz2) = 76346384cd4480b6b7ebd30af017b031b672869a +RMD160 (x264-snapshot-20161023-2245.tar.bz2) = 52a4a734ca892523c0e696372301d01aabd7d59b +SHA512 (x264-snapshot-20161023-2245.tar.bz2) = 80a4247a548afe517b1da47434e704be4ed7f999f41a85c299c57f090128ffa8ada42114aaaac5ac668bd1b6b3cdf592c79dcaf8d56ff8cb2d174a60c34bdb7f +Size (x264-snapshot-20161023-2245.tar.bz2) = 733615 bytes SHA1 (patch-ab) = f4be6477f75b3f7a411729997712bcaf028f88b2 SHA1 (patch-ba) = b16486f28ba5c34449e015906957062186e657af +SHA1 (patch-configure) = 7bec098f853266d4156e59047128114a2d00ea4d diff --git a/multimedia/x264-devel/patches/patch-aa b/multimedia/x264-devel/patches/patch-configure index b264b037a14..8c8bb357ac7 100644 --- a/multimedia/x264-devel/patches/patch-aa +++ b/multimedia/x264-devel/patches/patch-configure @@ -1,16 +1,15 @@ -$NetBSD: patch-aa,v 1.23 2016/10/02 20:34:48 maya Exp $ +$NetBSD: patch-configure,v 1.1 2016/10/24 10:36:12 maya Exp $ Add support for DragonFly. Use 'amd64' as a synonym for 'x86_64'. Avoid endian test failure for -flto. Do not force compiler optimisations. - If we fail an assembly test, continue as if --disable-asm was passed. ---- configure.orig 2016-01-23 21:45:04.000000000 +0000 +--- configure.orig 2016-10-23 20:45:03.000000000 +0000 +++ configure -@@ -578,6 +578,10 @@ case $host_os in +@@ -597,6 +597,10 @@ case $host_os in SYS="FREEBSD" libm="-lm" ;; @@ -21,7 +20,7 @@ was passed. kfreebsd*-gnu) SYS="FREEBSD" define HAVE_MALLOC_H -@@ -678,7 +682,7 @@ case $host_cpu in +@@ -697,7 +701,7 @@ case $host_cpu in ASFLAGS="$ASFLAGS -f elf32" fi ;; @@ -30,7 +29,7 @@ was passed. ARCH="X86_64" AS="${AS-yasm}" AS_EXT=".asm" -@@ -702,14 +706,15 @@ case $host_cpu in +@@ -726,14 +730,15 @@ case $host_cpu in fi ;; powerpc*) @@ -47,7 +46,7 @@ was passed. CFLAGS="$CFLAGS -maltivec -mabi=altivec" define HAVE_ALTIVEC_H fi -@@ -844,8 +849,8 @@ if [ $asm = auto -a $ARCH = ARM ] ; then +@@ -883,8 +888,8 @@ if [ $asm = auto -a $ARCH = ARM ] ; then ASFLAGS="$ASFLAGS -c" else echo "You specified a pre-ARMv6 or Thumb-1 CPU in your CFLAGS." @@ -58,7 +57,7 @@ was passed. fi fi -@@ -854,8 +859,8 @@ if [ $asm = auto -a $ARCH = AARCH64 ] ; +@@ -893,8 +898,8 @@ if [ $asm = auto -a $ARCH = AARCH64 ] ; ASFLAGS="$ASFLAGS -c" else echo "no NEON support, try adding -mfpu=neon to CFLAGS" @@ -69,7 +68,7 @@ was passed. fi fi -@@ -873,8 +878,8 @@ if [ $asm = auto -a $ARCH = MIPS ] ; the +@@ -912,8 +917,8 @@ if [ $asm = auto -a $ARCH = MIPS ] ; the define HAVE_MSA else echo "You specified a pre-MSA CPU in your CFLAGS." @@ -80,7 +79,7 @@ was passed. fi fi -@@ -891,7 +896,7 @@ ASFLAGS="$ASFLAGS -DSTACK_ALIGNMENT=$sta +@@ -930,7 +935,7 @@ ASFLAGS="$ASFLAGS -DSTACK_ALIGNMENT=$sta CPU_ENDIAN="little-endian" if [ $compiler = GNU ]; then echo "int i[2] = {0x42494745,0}; double f[2] = {0x1.0656e6469616ep+102,0};" > conftest.c @@ -89,7 +88,7 @@ was passed. if (${cross_prefix}strings -a conftest.o | grep -q BIGE) && (${cross_prefix}strings -a conftest.o | grep -q FPendian) ; then define WORDS_BIGENDIAN CPU_ENDIAN="big-endian" -@@ -913,7 +918,7 @@ fi +@@ -952,7 +957,7 @@ fi # autodetect options that weren't forced nor disabled @@ -98,7 +97,7 @@ was passed. if [ "$SYS" = "WINDOWS" -a "$thread" = "posix" ] ; then if [ "$gpl" = "no" ] ; then echo "Warning: pthread-win32 is LGPL and is therefore not supported with --disable-gpl" -@@ -1124,10 +1129,10 @@ fi +@@ -1173,10 +1178,10 @@ fi cc_check "stdint.h" "" "uint32_t test_vec __attribute__ ((vector_size (16))) = {0,1,2,3};" && define HAVE_VECTOREXT if [ "$pic" = "yes" ] ; then @@ -111,16 +110,15 @@ was passed. [ $SYS = SunOS -a "$ARCH" = "X86" ] && SOFLAGS="$SOFLAGS -mimpure-text" fi -@@ -1141,8 +1146,6 @@ fi - - if [ "$debug" = "yes" ]; then +@@ -1192,7 +1197,6 @@ if [ "$debug" = "yes" ]; then CFLAGS="-O1 -g $CFLAGS" --else + RCFLAGS="$RCFLAGS -DDEBUG" + else - CFLAGS="-O3 -ffast-math $CFLAGS" - fi - - if cc_check '' -fno-tree-vectorize ; then -@@ -1271,7 +1274,7 @@ else # gcc/icc + if [ "$lto" = "auto" ] && [ $compiler = GNU ] && cc_check "" "-flto" ; then + lto="yes" + CFLAGS="$CFLAGS -flto" +@@ -1327,7 +1331,7 @@ else # gcc/icc DEPMM="$DEPMM -g0" AR="$AR rc " LD="$CC -o " |