From 4e868244f9f5a54fb2289a4511160353a149e12c Mon Sep 17 00:00:00 2001 From: Matt Oliver Date: Sun, 25 Feb 2018 21:14:20 +1100 Subject: [PATCH] project: Update for 2.7 merge. --- SMP/appveyor.yml | 13 +- SMP/libx265.def | 4 +- SMP/libx265.vcxproj | 237 ++++++++++++++++++------------------ SMP/libx265.vcxproj.filters | 95 +++++++++------ SMP/readme.txt | 8 +- SMP/x265.rc | 8 +- SMP/x265_config.h | 2 +- 7 files changed, 188 insertions(+), 179 deletions(-) diff --git a/SMP/appveyor.yml b/SMP/appveyor.yml index 7c32f791d4..0942a71bdd 100644 --- a/SMP/appveyor.yml +++ b/SMP/appveyor.yml @@ -105,13 +105,12 @@ before_build: } else { $env:VCTargetsPath="$env:MSBUILDDIR\..\..\..\Microsoft.Cpp\v4.0\V${env:MSVC_VER}0" } - -# Download and install yasm integration -- ps: (New-Object Net.WebClient).DownloadFile('https://github.com/ShiftMediaProject/VSYASM/releases/download/0.1/VSYASM.zip', "$pwd\yasm.zip") -- ps: Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory("$pwd\yasm.zip", "$pwd\TempYASMUnpack") -- cmd: call ".\TempYASMUnpack\install_script.bat" -# Additional yasm location in order to fix gitlink error -- ps: if ($env:MSVC_VER -ne 15) { Copy-Item -Force "TempYASMUnpack\*.*" "$env:VCTargetsPath\..\BuildCustomizations" } +# Download and install nasm integration +- ps: (New-Object Net.WebClient).DownloadFile('https://github.com/ShiftMediaProject/VSNASM/releases/download/0.3/VSNASM.zip', "$pwd\nasm.zip") +- ps: Add-Type -A 'System.IO.Compression.FileSystem'; [IO.Compression.ZipFile]::ExtractToDirectory("$pwd\nasm.zip", "$pwd\TempNASMUnpack") +- cmd: call ".\TempNASMUnpack\install_script.bat" +# Additional nasm location in order to fix gitlink error +- ps: if ($env:MSVC_VER -ne 15) { Copy-Item -Force "TempNASMUnpack\*.*" "$env:VCTargetsPath\..\BuildCustomizations" } build: project: build.vcxproj diff --git a/SMP/libx265.def b/SMP/libx265.def index e87ee457bf..8b5b5327d2 100644 --- a/SMP/libx265.def +++ b/SMP/libx265.def @@ -1,5 +1,5 @@ EXPORTS -x265_encoder_open_146 +x265_encoder_open_151 x265_param_default x265_param_default_preset x265_param_parse @@ -20,7 +20,7 @@ x265_encoder_get_stats x265_encoder_log x265_encoder_close x265_cleanup -x265_api_get_146 +x265_api_get_151 x265_api_query x265_encoder_intra_refresh x265_encoder_ctu_info diff --git a/SMP/libx265.vcxproj b/SMP/libx265.vcxproj index 3a70d14720..02b0f71da7 100644 --- a/SMP/libx265.vcxproj +++ b/SMP/libx265.vcxproj @@ -227,7 +227,7 @@ - + @@ -397,16 +397,13 @@ Level3 Disabled true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) true 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x86\$(TargetName).pdb false - - true - $(OutDir)\lib\x86\$(TargetName)$(TargetExt) MachineX86 @@ -415,11 +412,11 @@ libx265_10bd.lib;libx265_12bd.lib;%(AdditionalDependencies) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -461,16 +458,13 @@ del /f /q $(OutDir)\licenses\x265.txt Level3 Disabled true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) true 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x64\$(TargetName).pdb false - - true - $(OutDir)\lib\x64\$(TargetName)$(TargetExt) MachineX64 @@ -479,11 +473,11 @@ del /f /q $(OutDir)\licenses\x265.txt libx265_10bd.lib;libx265_12bd.lib;%(AdditionalDependencies) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -522,7 +516,7 @@ del /f /q $(OutDir)\licenses\x265.txt - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) true true @@ -552,11 +546,11 @@ copy .\x265_config.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\COPYING $(OutDir)\licenses\x265.txt - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -591,7 +585,7 @@ del /f /q $(OutDir)\licenses\x265.txt Level3 Disabled true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) true 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) @@ -618,11 +612,11 @@ copy .\x265_config.h "$(OutDir)"\include mkdir $(OutDir)\licenses copy ..\COPYING $(OutDir)\licenses\x265.txt - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -663,7 +657,7 @@ del /f /q $(OutDir)\licenses\x265.txt true true true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -671,11 +665,6 @@ del /f /q $(OutDir)\licenses\x265.txt 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x86\$(TargetName).pdb - - true - true - true - $(OutDir)\lib\x86\$(TargetName)$(TargetExt) MachineX86 @@ -684,10 +673,10 @@ del /f /q $(OutDir)\licenses\x265.txt $(OutDir)\lib\x86\;$(SolutionDir)obj\$(Platform)\;%(AdditionalLibraryDirectories) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -735,7 +724,7 @@ del /f /q $(OutDir)\licenses\x265.txt true true true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -743,11 +732,6 @@ del /f /q $(OutDir)\licenses\x265.txt 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x86\$(TargetName).pdb - - true - true - true - $(OutDir)\lib\x86\$(TargetName)$(TargetExt) MachineX86 @@ -756,10 +740,10 @@ del /f /q $(OutDir)\licenses\x265.txt $(OutDir)\lib\x86\;$(SolutionDir)obj\$(Platform)\;%(AdditionalLibraryDirectories) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -807,7 +791,7 @@ del /f /q $(OutDir)\licenses\x265.txt true true true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -815,11 +799,6 @@ del /f /q $(OutDir)\licenses\x265.txt 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x64\$(TargetName).pdb - - true - true - true - $(OutDir)\lib\x64\$(TargetName)$(TargetExt) MachineX64 @@ -828,10 +807,10 @@ del /f /q $(OutDir)\licenses\x265.txt $(OutDir)\lib\x64\;$(SolutionDir)obj\$(Platform)\;%(AdditionalLibraryDirectories) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -879,7 +858,7 @@ del /f /q $(OutDir)\licenses\x265.txt true true true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -887,11 +866,6 @@ del /f /q $(OutDir)\licenses\x265.txt 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)\lib\x64\$(TargetName).pdb - - true - true - true - $(OutDir)\lib\x64\$(TargetName)$(TargetExt) MachineX64 @@ -900,10 +874,10 @@ del /f /q $(OutDir)\licenses\x265.txt $(OutDir)\lib\x64\;$(SolutionDir)obj\$(Platform)\;%(AdditionalLibraryDirectories) /IGNORE:4006,4221 %(AdditionalOptions) - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -943,7 +917,7 @@ del /f /q $(OutDir)\licenses\x265.txt true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;_WIN32_WINNT=0x0502;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=0;X265_DEPTH=8;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -975,10 +949,10 @@ del /f /q $(OutDir)\licenses\x265.txt true 5.1 - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1026,7 +1000,7 @@ del /f /q $(OutDir)\licenses\x265.txt true true true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;LINKED_10BIT=1;LINKED_12BIT;X265_NS=x265;EXPORT_C_API=1;ENABLE_ASSEMBLY=1;_WIN32_WINNT=0x0600;HIGH_BIT_DEPTH=0;X265_DEPTH=8;X86_64=1;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1049,10 +1023,10 @@ del /f /q $(OutDir)\licenses\x265.txt true 6.0 - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=0;X265_DEPTH=8;BIT_DEPTH=8;X265_NS=x265;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1092,7 +1066,7 @@ del /f /q $(OutDir)\licenses\x265.txt true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0502;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0502;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1112,10 +1086,10 @@ del /f /q $(OutDir)\licenses\x265.txt 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=1;X265_DEPTH=10;BIT_DEPTH=10;X265_NS=x265_10bit;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1136,7 +1110,7 @@ del "$(OutDir)"\include\x265_config.h true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0502;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0502;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1146,11 +1120,11 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=1;X265_DEPTH=10;BIT_DEPTH=10;X265_NS=x265_10bit;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1171,7 +1145,7 @@ del "$(OutDir)"\include\x265_config.h true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0502;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0502;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1191,10 +1165,10 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=1;X265_DEPTH=12;BIT_DEPTH=12;X265_NS=x265_12bit;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1215,7 +1189,7 @@ del "$(OutDir)"\include\x265_config.h true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0502;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=0;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0502;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1225,11 +1199,11 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) PREFIX;STACK_ALIGNMENT=4;HIGH_BIT_DEPTH=1;X265_DEPTH=12;BIT_DEPTH=12;X265_NS=x265_12bit;WIN32=1;ARCH_X86_64=0;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1261,7 +1235,7 @@ del "$(OutDir)"\include\x265_config.h false Fast false - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0600;X86_64=1;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0600;X86_64=1;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1270,10 +1244,10 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=1;X265_DEPTH=10;BIT_DEPTH=10;X265_NS=x265_10bit;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1295,7 +1269,7 @@ del "$(OutDir)"\include\x265_config.h Level3 true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0600;X86_64=1;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=10;X265_NS=x265_10bit;_WIN32_WINNT=0x0600;X86_64=1;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1304,11 +1278,11 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=1;X265_DEPTH=10;BIT_DEPTH=10;X265_NS=x265_10bit;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1340,7 +1314,7 @@ del "$(OutDir)"\include\x265_config.h false Fast false - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0600;X86_64=1;NDEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0600;X86_64=1;NDEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1349,10 +1323,10 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=1;X265_DEPTH=12;BIT_DEPTH=12;X265_NS=x265_12bit;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1374,7 +1348,7 @@ del "$(OutDir)"\include\x265_config.h Level3 true - X265_VERSION=2.6;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0600;X86_64=1;_DEBUG;%(PreprocessorDefinitions) + X265_VERSION=2.7;WIN32;_WINDOWS;X265_ARCH_X86=1;HAVE_INT_TYPES_H=1;ENABLE_HDR10_PLUS=1;EXPORT_C_API=0;MAIN12=1;ENABLE_ASSEMBLY=1;HIGH_BIT_DEPTH=1;X265_DEPTH=12;X265_NS=x265_12bit;_WIN32_WINNT=0x0600;X86_64=1;_DEBUG;%(PreprocessorDefinitions) .\;..\source;..\source\Lib;..\source\common;..\source\encoder;%(AdditionalIncludeDirectories) SSE3 true @@ -1383,11 +1357,11 @@ del "$(OutDir)"\include\x265_config.h 4391;4996;4838;4577;4390;4530;%(DisableSpecificWarnings) $(OutDir)$(TargetName).pdb - + $(ProjectDir)\..\source\common\x86;%(IncludePaths) STACK_ALIGNMENT=16;HIGH_BIT_DEPTH=1;X265_DEPTH=12;BIT_DEPTH=12;X265_NS=x265_12bit;WIN32=1;ARCH_X86_64=1;%(PreprocessorDefinitions) true - + if exist ..\source\x265_config.h ( del ..\source\x265_config.h @@ -1586,116 +1560,137 @@ del "$(OutDir)"\include\x265_config.h - + true true true true - - + + true true true true - - + + true true true true - - + + true true true true - - + + + true + + + true + true + true + true + + true - - + + + true + + true true true true - - + + true true true true - - + + true - - + + true true true true - - + + true true true true - - + + true true true true - - + + true true true true - - + + true true true true true - - + + true true true true - - + + true true true true - - + + true true true true - - + + true true true true - - + + true - - - + + + true true true true - + + + true + + + true + true + true + true + - + \ No newline at end of file diff --git a/SMP/libx265.vcxproj.filters b/SMP/libx265.vcxproj.filters index ef3a3b2764..a106b31b52 100644 --- a/SMP/libx265.vcxproj.filters +++ b/SMP/libx265.vcxproj.filters @@ -422,65 +422,80 @@ - + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - - + + Source Files\common\x86 - + + + Source Files\common\x86 + + + Source Files\common\x86 + + + Source Files\common\x86 + + + Source Files\common\x86 + + + Source Files\common\x86 + \ No newline at end of file diff --git a/SMP/readme.txt b/SMP/readme.txt index 46769211d2..f891805c36 100644 --- a/SMP/readme.txt +++ b/SMP/readme.txt @@ -5,11 +5,11 @@ The project contains Release and Debug builds for static lib files (Debug/Releas as well as dynamic shared dll files (DebugDLL/ReleaseDLL). Choose whichever project configuration meets your requirements. -*** Building with YASM *** +*** Building with NASM *** -In order to build gmp using msvc you must first download and install YASM. -YASM is required to compile all gmp assembly files. +In order to build x265 using msvc you must first download and install NASM. +NASM is required to compile all x265 assembly files. -1) Visual Studio YASM integration can be downloaded from https://github.com/ShiftMediaProject/VSYASM/releases/latest +1) Visual Studio NASM integration can be downloaded from https://github.com/ShiftMediaProject/VSNASM/releases/latest 2) Once downloaded simply follow the install instructions included in the download. \ No newline at end of file diff --git a/SMP/x265.rc b/SMP/x265.rc index 463083c363..95f205a726 100644 --- a/SMP/x265.rc +++ b/SMP/x265.rc @@ -1,8 +1,8 @@ #include VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,6,0,0 - PRODUCTVERSION 2,6,0,0 + FILEVERSION 2,7,0,0 + PRODUCTVERSION 2,7,0,0 FILEFLAGSMASK VS_FFI_FILEFLAGSMASK FILEOS VOS_NT_WINDOWS32 #ifdef OPENOBEX_EXPORTS @@ -17,12 +17,12 @@ VS_VERSION_INFO VERSIONINFO BLOCK "04090000" BEGIN VALUE "FileDescription", "HEVC video encoder" - VALUE "FileVersion", "2.6" + VALUE "FileVersion", "2.7" VALUE "InternalName", "x265" VALUE "LegalCopyright", "Multicoreware: GPLv2 or commercial" VALUE "OriginalFilename", "libx265.dll" VALUE "ProductName", "x265" - VALUE "ProductVersion", "2.6" + VALUE "ProductVersion", "2.7" END END BLOCK "VarFileInfo" diff --git a/SMP/x265_config.h b/SMP/x265_config.h index 1f16713f71..a4d6c68f6a 100644 --- a/SMP/x265_config.h +++ b/SMP/x265_config.h @@ -29,6 +29,6 @@ /* Incremented each time public API is changed, X265_BUILD is used as * the shared library SONAME on platforms which support it. It also * prevents linking against a different version of the static lib */ -#define X265_BUILD 146 +#define X265_BUILD 151 #endif