diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-08-15 23:46:06 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2011-08-15 23:46:06 +0400 |
commit | 2b8835c3c30317f5b45ee64d7230056b3e65aa03 (patch) | |
tree | 8d3bda3972889ebab4af2b86bcfe0709f2149251 /src/thirdparty/VirtualDub | |
parent | c0753aa72a841068dc7c220e18cf0c31f0db2af5 (diff) |
* Use precompiled headers
* add support for precompiled headers for BaseClasses, lcms2, libpng
* create/use precompiled headers for Kasumi and MPCVideoDec Release configs
Overall decrease in compilation time approx. 45% on my machine
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@3667 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/thirdparty/VirtualDub')
5 files changed, 16 insertions, 4 deletions
diff --git a/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj b/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj index 69aac6598..ca15e0cf4 100644 --- a/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj +++ b/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj @@ -67,7 +67,6 @@ <ClCompile>
<AdditionalIncludeDirectories>h;..\h;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
</ClCompile>
<Lib>
@@ -79,7 +78,6 @@ <AdditionalIncludeDirectories>h;..\h;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_DEBUG;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
</ClCompile>
<Lib>
@@ -90,7 +88,6 @@ <ClCompile>
<AdditionalIncludeDirectories>h;..\h;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
</ClCompile>
<Lib>
@@ -101,7 +98,6 @@ <ClCompile>
<AdditionalIncludeDirectories>h;..\h;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<PreprocessorDefinitions>NDEBUG;WIN32;_WINDOWS;WIN32_LEAN_AND_MEAN;NOMINMAX;%(PreprocessorDefinitions)</PreprocessorDefinitions>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>TurnOffAllWarnings</WarningLevel>
</ClCompile>
<Lib>
@@ -128,6 +124,12 @@ <ClCompile Include="source\resample_kernels.cpp" />
<ClCompile Include="source\resample_stages.cpp" />
<ClCompile Include="source\resample_stages_reference.cpp" />
+ <ClCompile Include="source\stdafx.cpp">
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">Create</PrecompiledHeader>
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Create</PrecompiledHeader>
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">Create</PrecompiledHeader>
+ <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">Create</PrecompiledHeader>
+ </ClCompile>
<ClCompile Include="source\stretchblt_reference.cpp" />
<ClCompile Include="source\tables.cpp" />
<ClCompile Include="source\triblt.cpp" />
@@ -186,6 +188,7 @@ <ClInclude Include="..\h\vd2\Kasumi\tables.h" />
<ClInclude Include="..\h\vd2\Kasumi\text.h" />
<ClInclude Include="..\h\vd2\Kasumi\triblt.h" />
+ <ClInclude Include="h\stdafx.h" />
<ClInclude Include="h\uberblit.h" />
<ClInclude Include="h\uberblit_16f.h" />
<ClInclude Include="h\uberblit_base.h" />
diff --git a/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj.filters b/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj.filters index e8840b9c5..771a95161 100644 --- a/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj.filters +++ b/src/thirdparty/VirtualDub/Kasumi/Kasumi.vcxproj.filters @@ -139,6 +139,9 @@ <ClCompile Include="source\uberblit_ycbcr_generic.cpp">
<Filter>Source Files</Filter>
</ClCompile>
+ <ClCompile Include="source\stdafx.cpp">
+ <Filter>Source Files</Filter>
+ </ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="h\bitutils.h">
@@ -255,6 +258,9 @@ <ClInclude Include="h\uberblit_ycbcr_generic.h">
<Filter>Header Files</Filter>
</ClInclude>
+ <ClInclude Include="h\stdafx.h">
+ <Filter>Header Files</Filter>
+ </ClInclude>
</ItemGroup>
<ItemGroup>
<YASM Include="source\a_bltrgb.asm">
diff --git a/src/thirdparty/VirtualDub/Kasumi/h/stdafx.h b/src/thirdparty/VirtualDub/Kasumi/h/stdafx.h index 28ae68d6c..91412a2ea 100644 --- a/src/thirdparty/VirtualDub/Kasumi/h/stdafx.h +++ b/src/thirdparty/VirtualDub/Kasumi/h/stdafx.h @@ -17,5 +17,6 @@ // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#include <vd2/system/vdtypes.h>
+#include <vd2/system/math.h>
#include <vd2/Kasumi/pixmap.h>
#include <uberblit.h>
diff --git a/src/thirdparty/VirtualDub/Kasumi/source/resample_stages_x64.cpp b/src/thirdparty/VirtualDub/Kasumi/source/resample_stages_x64.cpp index a206d37d8..5d2cd6fa3 100644 --- a/src/thirdparty/VirtualDub/Kasumi/source/resample_stages_x64.cpp +++ b/src/thirdparty/VirtualDub/Kasumi/source/resample_stages_x64.cpp @@ -1,3 +1,4 @@ +#include <stdafx.h>
#include "resample_stages_x64.h"
extern "C" long vdasm_resize_table_col_SSE2(uint32 *out, const uint32 *const*in_table, const int *filter, int filter_width, uint32 w);
diff --git a/src/thirdparty/VirtualDub/system/h/stdafx.h b/src/thirdparty/VirtualDub/system/h/stdafx.h index 7f5ff425e..26c63eaf8 100644 --- a/src/thirdparty/VirtualDub/system/h/stdafx.h +++ b/src/thirdparty/VirtualDub/system/h/stdafx.h @@ -2,6 +2,7 @@ #include <vd2/system/atomic.h>
#include <vd2/system/thread.h>
#include <vd2/system/error.h>
+#include <vd2/system/filesys.h>
#include <windows.h>
#include <process.h>
#include <intrin.h>
|