head 1.6; access; symbols pkgsrc-2017Q1:1.5.0.10 pkgsrc-2017Q1-base:1.5 pkgsrc-2016Q4:1.5.0.8 pkgsrc-2016Q4-base:1.5 pkgsrc-2016Q3:1.5.0.6 pkgsrc-2016Q3-base:1.5 pkgsrc-2016Q2:1.5.0.4 pkgsrc-2016Q2-base:1.5 pkgsrc-2016Q1:1.5.0.2 pkgsrc-2016Q1-base:1.5 pkgsrc-2015Q4:1.4.0.26 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.24 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.22 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.20 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.18 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.16 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.14 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.12 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.10 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.8 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.6 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.4 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.2 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.4 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.2 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.1.0.6 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.4 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.2 pkgsrc-2010Q2-base:1.1; locks; strict; comment @# @; 1.6 date 2017.06.16.05.39.23; author adam; state dead; branches; next 1.5; commitid 14NOjI67OFshIyVz; 1.5 date 2016.01.24.14.34.11; author ryoon; state Exp; branches; next 1.4; commitid M4miA9Aj6MPk3cSy; 1.4 date 2012.11.08.19.55.56; author adam; state Exp; branches; next 1.3; 1.3 date 2011.07.18.21.00.12; author drochner; state Exp; branches; next 1.2; 1.2 date 2011.01.17.16.46.42; author drochner; state Exp; branches; next 1.1; 1.1 date 2010.05.04.18.18.57; author drochner; state Exp; branches; next ; desc @@ 1.6 log @Changes 20170615: * x86: Avoid self-relative expressions on macho64 * configure: Don't try to detect clang by $CC * checkasm: Use the right variable in a loop condition * x86: Fix linking with 8-bit depth shared libx264 * x86: Only enable AVX-512 in 8-bit mode * x86: AVX-512 cabac_block_residual * x86: AVX-512 pixel_sad_x3 and pixel_sad_x4 * x86: AVX-512 pixel_sad * x86: AVX-512 decimate_score * x86: AVX-512 pixel_var2_8x8 and 8x16 * Rework pixel_var2 * x86: AVX-512 pixel_var_8x8, 8x16, and 16x16 * x86: AVX-512 pixel_sa8d_8x8 * x86: AVX-512 pixel_satd * x86: AVX-512 deblock_strength * x86: AVX-512 plane_copy_deinterleave_v210 * x86: AVX-512 memzero_aligned * x86: AVX and AVX-512 memcpy_aligned * x86: AVX-512 dequant_8x8_flat16 * x86: AVX-512 dequant_8x8 * x86: AVX-512 dequant_4x4 * x86: AVX-512 mbtree_propagate_cost * x86: AVX-512 coeff_last * x86: AVX-512 zigzag_interleave_8x8_cavlc * x86: AVX-512 zigzag_scan_8x8_field * x86: AVX-512 zigzag_scan_4x4_field * x86: AVX-512 zigzag_scan_8x8_frame * x86: AVX-512 zigzag_scan_4x4_frame * checkasm: x86: More accurate ymm/zmm measurements * x86: AVX-512 support * x86: Change assembler from yasm to nasm * x86: Add some additional cpuflag relations * x86: Faster SSE2 pixel_sad_16x16 and 16x8 * msvs/icl: Improve target host detection * ppc: Optimize add8x8_idct_dc @ text @$NetBSD: patch-ba,v 1.5 2016/01/24 14:34:11 ryoon Exp $ --- encoder/analyse.c.orig 2016-01-23 21:45:04.000000000 +0000 +++ encoder/analyse.c @@@@ -322,7 +322,7 @@@@ int x264_analyse_init_costs( x264_t *h ) logs[0] = 0.718f; for( int i = 1; i <= 2*4*2048; i++ ) - logs[i] = log2f( i+1 ) * 2.0f + 1.718f; + logs[i] = logf(i+1)*2.88539f + 1.718f; for( int qp = X264_MIN( h->param.rc.i_qp_min, QP_MAX_SPEC ); qp <= h->param.rc.i_qp_max; qp++ ) if( init_costs( h, logs, qp ) ) @ 1.5 log @Update to 20160123 Changelog: encoder_open: Fix memory leak arm: do not fill mc_weight*_neon tabs for HIGH_BIT_DEPTH arm: Eliminate text relocations in asm arm: Don't assume alignment in mbtree_propagate_list_internal where it isn't provided Fix checkasm register clobber check on iOS @ text @d1 1 a1 1 $NetBSD: patch-ba,v 1.4 2012/11/08 19:55:56 adam Exp $ @ 1.4 log @Changes 20121107: This is another snapshot. @ text @d1 1 a1 1 $NetBSD: patch-ba,v 1.3 2011/07/18 21:00:12 drochner Exp $ d3 1 a3 1 --- encoder/analyse.c.orig 2011-07-07 20:45:05.000000000 +0000 d5 2 a6 2 @@@@ -285,7 +285,7 @@@@ float *x264_analyse_prepare_costs( x264_ return NULL; d9 1 a9 1 - logs[i] = log2f(i+1)*2 + 1.718f; a10 2 return logs; } d12 2 @ 1.3 log @update to 20110707 a newer snapshot is needed for newer versions of ffmpeg @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -283,7 +283,7 @@@@ float *x264_analyse_prepare_costs( x264_ @ 1.2 log @update to 20110101, from Makoto Fujiwara per pkgsrc-wip (I've just put back libtool support.) needed for update of ffmpeg which in turn is needed for updates of eg vlc and gst-plugin-ffmpeg @ text @d3 11 a13 11 --- encoder/analyse.c~ 2011-01-09 17:35:15.000000000 +0900 +++ encoder/analyse.c 2011-01-09 17:46:47.000000000 +0900 @@@@ -252,7 +252,7 @@@@ for( int i = 0; i <= 2*4*2048; i++ ) { h->cost_mv[lambda][-i] = - h->cost_mv[lambda][i] = lambda * (log2f(i+1)*2 + 0.718f + !!i) + .5f; + h->cost_mv[lambda][i] = lambda * (logf(i+1)*2.88539f + 0.718f + !!i) + .5f; } x264_pthread_mutex_lock( &cost_ref_mutex ); for( int i = 0; i < 3; i++ ) @ 1.1 log @update to the 20090920 snapshot The snapshot date is chosen for some reason: -vlc-1.0.6 (which I'll commit soon) needs an API change which was introduced on 20090813 -pkgsrc's ffmpeg can't deal with an API change which was done 20090921 (and is not easily updated) @ text @d3 4 a6 4 --- encoder/analyse.c.orig 2009-09-20 20:45:09.000000000 +0000 +++ encoder/analyse.c @@@@ -252,7 +252,7 @@@@ int x264_analyse_init_costs( x264_t *h, for( i = 0; i <= 2*4*2048; i++ ) d13 1 a13 1 for( i = 0; i < 3; i++ ) @