Skip to content

Commit

Permalink
Added AVX512 support.
Browse files Browse the repository at this point in the history
  • Loading branch information
LittlePox committed Feb 22, 2020
1 parent d953fa3 commit 0ef1470
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions OKEGui/OKEGui/JobProcessor/Video/x265Encoder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ private string BuildCommandline(string extractParam, int numaNode, List<string>

// 构建x265参数
sb.Append(" \"" + X265Path + "\"");
if (Initializer.Config.avx512 && !extractParam.ToLower().Contains("--asm"))
{
sb.Append(" --asm avx512");
}
sb.Append(" --y4m " + extractParam + " -o");
sb.Append(" \"" + job.Output + "\" -");
sb.Append("\"");
Expand Down

0 comments on commit 0ef1470

Please sign in to comment.