[x264-devel] x86: Enable high bit-depth x264_coeff_last64_avx2_lzcnt
Henrik Gramner
git at videolan.org
Sun Jan 17 22:17:54 CET 2016
x264 | branch: master | Henrik Gramner <henrik at gramner.com> | Sun Oct 11 22:32:03 2015 +0200| [7688814a7ec994f8e5984d199b465ccc068b98af] | committer: Henrik Gramner
x86: Enable high bit-depth x264_coeff_last64_avx2_lzcnt
The function existed but was never enabled.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=7688814a7ec994f8e5984d199b465ccc068b98af
---
common/quant.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/common/quant.c b/common/quant.c
index be000ec..fa8de02 100644
--- a/common/quant.c
+++ b/common/quant.c
@@ -553,6 +553,8 @@ void x264_quant_init( x264_t *h, int cpu, x264_quant_function_t *pf )
pf->dequant_8x8 = x264_dequant_8x8_avx2;
pf->dequant_4x4_dc = x264_dequant_4x4dc_avx2;
pf->denoise_dct = x264_denoise_dct_avx2;
+ if( cpu&X264_CPU_LZCNT )
+ pf->coeff_last[DCT_LUMA_8x8] = x264_coeff_last64_avx2_lzcnt;
}
#endif // HAVE_MMX
#else // !HIGH_BIT_DEPTH
More information about the x264-devel
mailing list