Re: [x265] How can I enable the AVX2 version of DCT and IDCT?

2015-09-16 Thread Dnyaneshwar Gorade
Hi Ximing, If your machine (and OS also) supports AVX2 instruction set then you are already compiling and using AVX2 version of DCT functions. x265 automatically detects & sets all assembly primitives to highest/latest available instruction sets. When you run encoder, you can check command

Re: [x265] How can I enable the AVX2 version of DCT and IDCT?

2015-09-16 Thread Ximing Cheng
Thanks! On 9/16/15, Dnyaneshwar Gorade wrote: > Hi Ximing, > > If your machine (and OS also) supports AVX2 instruction set then you are > already compiling and using AVX2 version of DCT functions. > x265 automatically detects & sets all assembly primitives to

[x265] How can I enable the AVX2 version of DCT and IDCT?

2015-09-16 Thread Ximing Cheng
I read the source code of the /source/common/vec/dct-sse3.cpp and I found the comments said "Note: We have AVX2 assembly for these functions, but since AVX2 is still somewhat rare on end-user PCs we still compile and link these SSE3 intrinsic SIMD functions". But now both my PC and server support