From: d7o3g4q <d7...@us...> - 2004-09-23 15:36:39
|
Update of /cvsroot/tyshow/TyShow/TySplitter In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2241/TySplitter Modified Files: TySplitter.cpp TySplitter.h TySplitter.vcproj Added Files: Profile.cpp Profile.h TyFile.cpp TyFile.h Log Message: Lots of changes. Biggest difference is the support for streaming. many bugfixes --- NEW FILE: Profile.h --- /* * Copyright (C) 2003,2004 d7o3g4q * http://sourceforge.net/projects/tyshow * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This Program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with GNU Make; see the file COPYING. If not, write to * the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. * http://www.gnu.org/copyleft/gpl.html * */ #pragma once #include <string> using namespace std; class CProfile { protected: wstring m_strCountResults; wstring m_strTimeResults; public: CProfile(); virtual ~CProfile(); }; class CProfileTimingItem : virtual public CProfile { protected: ULONG m_ulTotalTime; ULONG m_ulStartTime; wstring m_strName; public: CProfileTimingItem( TCHAR name ); virtual ~CProfileTimingItem(); void Start(); void Stop(); }; class CAutoTimer { private: CProfileTimingItem* m_pItem; public: CAutoTimer( CProfileTimingItem* item ) { m_pItem = item; m_pItem->Start(); } ~CAutoTimer() { m_pItem->Stop(); } }; class CProfileCountItem : virtual public CProfile { protected: ULONG m_ulTotalCount; wstring m_strName; public: CProfileCountItem( TCHAR name ); virtual ~CProfileCountItem(); void Increment(); }; --- NEW FILE: TyFile.cpp --- #include <stdafx.h> Index: TySplitter.h =================================================================== RCS file: /cvsroot/tyshow/TyShow/TySplitter/TySplitter.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** TySplitter.h 31 Oct 2003 16:37:59 -0000 1.7 --- TySplitter.h 23 Sep 2004 15:35:47 -0000 1.8 *************** *** 25,28 **** --- 25,29 ---- #include <atlcoll.h> #include <afxtempl.h> + #include "..\include\IPreRead.h" #include "..\BaseSplitter\BaseSplitter.h" *************** *** 70,79 **** class CTyFile; class CTySplitterInputPin : public CBaseSplitterInputPin { public: ! CTySplitterInputPin(TCHAR* pName, CBaseSplitterFilter* pFilter, CCritSec* pLock, HRESULT* phr); HRESULT CheckMediaType(const CMediaType* pmt); }; --- 71,87 ---- class CTyFile; + class CTySplitterFilter; class CTySplitterInputPin : public CBaseSplitterInputPin { + protected: + CTySplitterFilter* m_pFilter; + public: ! CTySplitterInputPin(TCHAR* pName, CTySplitterFilter* pFilter, CCritSec* pLock, HRESULT* phr); HRESULT CheckMediaType(const CMediaType* pmt); + STDMETHODIMP GetAllocatorRequirements(ALLOCATOR_PROPERTIES*pProps); + + STDMETHODIMP Receive(IMediaSample *pSample); }; *************** *** 100,103 **** --- 108,113 ---- QWORD m_lastFrameTime; QWORD m_lastAudioTime; + QWORD m_lastSeekTime; + IMemAllocator* m_pAllocator; REFERENCE_TIME m_rtDuration; *************** *** 106,112 **** CAutoPtr<CTyFile> m_pFile; HRESULT CreateOutputs(IAsyncReader* pAsyncReader); bool InitDeliverLoop(); ! void SeekDeliverLoop(REFERENCE_TIME rt); void DoDeliverLoop(); public: --- 116,123 ---- CAutoPtr<CTyFile> m_pFile; HRESULT CreateOutputs(IAsyncReader* pAsyncReader); + HRESULT CreateOutputs(IPreRead* pPreRead); bool InitDeliverLoop(); ! void SeekDeliverLoop(REFERENCE_TIME& rt); void DoDeliverLoop(); public: *************** *** 128,135 **** --- 139,148 ---- DECLARE_IUNKNOWN; STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void** ppv); + HRESULT BreakConnection(PIN_DIRECTION dir, CBasePin* pPin); // IMediaSeeking STDMETHODIMP GetDuration(LONGLONG* pDuration); + STDMETHODIMP GetCurrentPosition(LONGLONG* pCurrent); // TODO: this is too ugly, integrate this with the baseclass somehow *************** *** 144,148 **** STDMETHODIMP SetPositions(LONGLONG* pCurrent, DWORD dwCurrentFlags, LONGLONG* pStop, DWORD dwStopFlags); STDMETHODIMP GetPositions(LONGLONG* pCurrent, LONGLONG* pStop); - STDMETHODIMP GetCurrentPosition(LONGLONG* pCurrent); // IPropertyBag --- 157,160 ---- *************** *** 155,158 **** --- 167,172 ---- STDMETHODIMP GetKeyFrameCount(UINT& nKFs); STDMETHODIMP GetKeyFrames(const GUID* pFormat, REFERENCE_TIME* pKFs, UINT& nKFs); + + STDMETHODIMP Receive(IMediaSample *pSample); }; Index: TySplitter.cpp =================================================================== RCS file: /cvsroot/tyshow/TyShow/TySplitter/TySplitter.cpp,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** TySplitter.cpp 11 Nov 2003 18:11:09 -0000 1.16 --- TySplitter.cpp 23 Sep 2004 15:35:47 -0000 1.17 *************** *** 70,74 **** --- 70,76 ---- class CTyFile { + public: CComPtr<IAsyncReader> m_pReader; + protected: UINT64 m_pos, m_len; bool m_bIsPre31Stream; *************** *** 84,92 **** [...1415 lines suppressed...] ! wfex->cbSize = sizeof(WAVEFORMATEX); ! m_dwAudioInterval = (DWORD)(10000000I64 * frame_size / sample_rate); ! DebugLogOutput(LOC, L"\nAC3 Audio found\n" ! L"============================================\n" ! L"nChannels: %d\n" ! L"nSamplesPerSec: %d\n" ! L"nBlockAlign: %d\n" ! L"nAvgBytesPerSec: %d\n" ! L"dwAudioInterval: %d\n", ! wfex->nChannels, ! wfex->nSamplesPerSec, ! wfex->nBlockAlign, ! wfex->nAvgBytesPerSec, ! m_dwAudioInterval ! ); ! ! #undef AUDIO_BYTES_PER_CHANNEL ! } return true; } --- NEW FILE: Profile.cpp --- #include "StdAfx.h" #include "Profile.h" #include "..\util\DebugLog.h" #include <sstream> CProfile::CProfile() { } CProfile::~CProfile() { DebugLogOutput(LOC, L"Profiling information for TySplitter\n\n"); DebugLogOutput(LOC, L"Profile Counters:\n"); DebugLogOutput(LOC, L"--------------------------------------------------\n"); DebugLogOutput(LOC, m_strCountResults.c_str()); DebugLogOutput(LOC, L"\nProfile Timers:\n"); DebugLogOutput(LOC, L"--------------------------------------------------\n"); DebugLogOutput(LOC, m_strTimeResults.c_str()); DebugLogOutput(LOC, L"\n\n==================================================\n"); } CProfileTimingItem::CProfileTimingItem( TCHAR name ) { m_ulTotalTime = 0; m_ulStartTime = 0; m_strName = name; } CProfileTimingItem::~CProfileTimingItem() { m_strTimeResults += m_strName + L": "; wstringstream stream; stream << m_ulTotalTime; m_strTimeResults += stream.get() + L" seconds\n"; } void CProfileTimingItem::Start() { m_ulStartTime = timeGetTime(); } void CProfileTimingItem::Stop() { m_ulTotalTime += timeGetTime() - m_ulStartTime; } CProfileCountItem::CProfileCountItem( TCHAR name ) { m_ulTotalCount = 0; m_strName = name; } CProfileCountItem::~CProfileCountItem() { m_strCountResults += m_strName + L": "; wstringstream stream; stream << m_ulTotalCount; m_strCountResults += stream.get() + L" times\n"; } void CProfileCountItem::Increment() { m_ulTotalCount++; } Index: TySplitter.vcproj =================================================================== RCS file: /cvsroot/tyshow/TyShow/TySplitter/TySplitter.vcproj,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** TySplitter.vcproj 17 Oct 2003 16:10:52 -0000 1.4 --- TySplitter.vcproj 23 Sep 2004 15:35:47 -0000 1.5 *************** *** 1,286 **** ! <?xml version="1.0" encoding="Windows-1252"?> ! <VisualStudioProject ! ProjectType="Visual C++" ! Version="7.10" ! Name="TySplitter" ! ProjectGUID="{D0E399EF-F2BB-4A0F-A9D0-D193A8728595}" ! RootNamespace="TySplitter" ! Keyword="Win32Proj"> ! <Platforms> ! <Platform ! Name="Win32"/> ! </Platforms> ! <Configurations> ! <Configuration ! Name="Debug|Win32" ! OutputDirectory="Debug" ! IntermediateDirectory="Debug" ! ConfigurationType="2" ! CharacterSet="2"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="0" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;_DEBUG" ! MinimalRebuild="TRUE" ! BasicRuntimeChecks="3" ! RuntimeLibrary="3" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="3" ! WarningLevel="3" ! Detect64BitPortabilityProblems="FALSE" ! DebugInformationFormat="4"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="basesplitterDU.lib strmbaseDU.lib dsutilDU.lib winmm.lib" ! OutputFile="$(OutDir)/TySplitter.ax" ! LinkIncremental="0" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="TRUE" ! ProgramDatabaseFile="$(OutDir)/TySplitter.pdb" ! SubSystem="2" ! ImportLibrary="$(OutDir)/TySplitter.lib" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Release|Win32" ! OutputDirectory="Release" ! IntermediateDirectory="Release" ! ConfigurationType="2" ! CharacterSet="2"> ! <Tool ! Name="VCCLCompilerTool" ! PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TYSPLITTER_EXPORTS" ! RuntimeLibrary="0" ! UsePrecompiledHeader="3" ! WarningLevel="3" ! Detect64BitPortabilityProblems="TRUE" ! DebugInformationFormat="3"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! OutputFile="$(OutDir)/TySplitter.dll" ! LinkIncremental="1" ! GenerateDebugInformation="TRUE" ! SubSystem="2" ! OptimizeReferences="2" ! EnableCOMDATFolding="2" ! ImportLibrary="$(OutDir)/TySplitter.lib" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Debug Unicode|Win32" ! OutputDirectory="Debug Unicode" ! IntermediateDirectory="Debug Unicode" ! ConfigurationType="2" ! UseOfMFC="2" ! CharacterSet="1"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="0" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;_DEBUG" ! MinimalRebuild="TRUE" ! BasicRuntimeChecks="3" ! RuntimeLibrary="3" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="1" ! BrowseInformation="1" ! WarningLevel="3" ! DebugInformationFormat="4" ! CompileAs="0"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="winmm.lib" ! OutputFile="$(OutDir)/$(ProjectName).ax" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="libcmtd" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="TRUE" ! SubSystem="2" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Release Unicode|Win32" ! OutputDirectory="$(ConfigurationName)" ! IntermediateDirectory="$(ConfigurationName)" ! ConfigurationType="2" ! UseOfMFC="1" ! CharacterSet="1"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="2" ! InlineFunctionExpansion="1" ! OmitFramePointers="TRUE" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;NDEBUG" ! StringPooling="TRUE" ! MinimalRebuild="FALSE" ! BasicRuntimeChecks="0" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="TRUE" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="1" ! WarningLevel="3" ! DebugInformationFormat="3" ! CompileAs="0"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="winmm.lib" ! OutputFile="$(OutDir)/$(ProjectName).ax" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="FALSE" ! GenerateMapFile="TRUE" ! MapFileName="$(OutDir)\$(TargetName).map" ! SubSystem="2" ! OptimizeReferences="2" ! EnableCOMDATFolding="2" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! </Configurations> ! <References> ! </References> ! <Files> ! <Filter ! Name="Source Files" ! Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" ! UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> ! <File ! RelativePath=".\stdafx.cpp"> ! <FileConfiguration ! Name="Debug|Win32"> ! <Tool ! Name="VCCLCompilerTool" ! UsePrecompiledHeader="1"/> ! </FileConfiguration> ! <FileConfiguration ! Name="Release|Win32"> ! <Tool ! Name="VCCLCompilerTool" ! UsePrecompiledHeader="1"/> ! </FileConfiguration> ! </File> ! <File ! RelativePath=".\TySplitter.cpp"> ! </File> ! <File ! RelativePath=".\TySplitter.def"> ! </File> ! </Filter> ! <Filter ! Name="Header Files" ! Filter="h;hpp;hxx;hm;inl;inc;xsd" ! UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> ! <File ! RelativePath=".\stdafx.h"> ! </File> ! <File ! RelativePath=".\TySplitter.h"> ! </File> ! </Filter> ! <Filter ! Name="Resource Files" ! Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" ! UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> ! </Filter> ! <File ! RelativePath=".\ReadMe.txt"> ! </File> ! </Files> ! <Globals> ! </Globals> ! </VisualStudioProject> --- 1,298 ---- ! <?xml version="1.0" encoding="Windows-1252"?> ! <VisualStudioProject ! ProjectType="Visual C++" ! Version="7.10" ! Name="TySplitter" ! ProjectGUID="{D0E399EF-F2BB-4A0F-A9D0-D193A8728595}" ! RootNamespace="TySplitter" ! Keyword="Win32Proj"> ! <Platforms> ! <Platform ! Name="Win32"/> ! </Platforms> ! <Configurations> ! <Configuration ! Name="Debug|Win32" ! OutputDirectory="Debug" ! IntermediateDirectory="Debug" ! ConfigurationType="2" ! CharacterSet="2"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="0" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;_DEBUG" ! MinimalRebuild="TRUE" ! BasicRuntimeChecks="3" ! RuntimeLibrary="3" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="3" ! WarningLevel="3" ! Detect64BitPortabilityProblems="FALSE" ! DebugInformationFormat="4"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="basesplitterDU.lib strmbaseDU.lib dsutilDU.lib winmm.lib" ! OutputFile="$(OutDir)/TySplitter.ax" ! LinkIncremental="0" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="TRUE" ! ProgramDatabaseFile="$(OutDir)/TySplitter.pdb" ! SubSystem="2" ! ImportLibrary="$(OutDir)/TySplitter.lib" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Release|Win32" ! OutputDirectory="Release" ! IntermediateDirectory="Release" ! ConfigurationType="2" ! CharacterSet="2"> ! <Tool ! Name="VCCLCompilerTool" ! PreprocessorDefinitions="WIN32;NDEBUG;_WINDOWS;_USRDLL;TYSPLITTER_EXPORTS" ! RuntimeLibrary="0" ! UsePrecompiledHeader="3" ! WarningLevel="3" ! Detect64BitPortabilityProblems="TRUE" ! DebugInformationFormat="3"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! OutputFile="$(OutDir)/TySplitter.dll" ! LinkIncremental="1" ! GenerateDebugInformation="TRUE" ! SubSystem="2" ! OptimizeReferences="2" ! EnableCOMDATFolding="2" ! ImportLibrary="$(OutDir)/TySplitter.lib" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Debug Unicode|Win32" ! OutputDirectory="Debug Unicode" ! IntermediateDirectory="Debug Unicode" ! ConfigurationType="2" ! UseOfMFC="2" ! CharacterSet="1"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="0" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;_DEBUG" ! MinimalRebuild="TRUE" ! BasicRuntimeChecks="3" ! RuntimeLibrary="3" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="1" ! BrowseInformation="1" ! WarningLevel="3" ! DebugInformationFormat="4" ! CompileAs="0"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="winmm.lib" ! OutputFile="$(OutDir)/$(ProjectName).ax" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="libcmtd" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="TRUE" ! SubSystem="2" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! <Configuration ! Name="Release Unicode|Win32" ! OutputDirectory="$(ConfigurationName)" ! IntermediateDirectory="$(ConfigurationName)" ! ConfigurationType="2" ! UseOfMFC="1" ! CharacterSet="1"> ! <Tool ! Name="VCCLCompilerTool" ! Optimization="2" ! InlineFunctionExpansion="1" ! OmitFramePointers="TRUE" ! AdditionalIncludeDirectories="c:\dxsdk\samples\c++\directshow\baseclasses" ! PreprocessorDefinitions="REGISTER_FILTER;WIN32;NDEBUG" ! StringPooling="TRUE" ! MinimalRebuild="FALSE" ! BasicRuntimeChecks="0" ! RuntimeLibrary="0" ! EnableFunctionLevelLinking="TRUE" ! RuntimeTypeInfo="TRUE" ! UsePrecompiledHeader="1" ! WarningLevel="3" ! DebugInformationFormat="3" ! CompileAs="0"/> ! <Tool ! Name="VCCustomBuildTool"/> ! <Tool ! Name="VCLinkerTool" ! RegisterOutput="TRUE" ! AdditionalDependencies="winmm.lib" ! OutputFile="$(OutDir)/$(ProjectName).ax" ! AdditionalLibraryDirectories="c:\dxsdk\lib;"c:\dxsdk\samples\c++\directshow\baseclasses\debug_unicode";..\..\..\..\lib" ! IgnoreDefaultLibraryNames="" ! ModuleDefinitionFile="$(ProjectName).def" ! GenerateDebugInformation="FALSE" ! GenerateMapFile="TRUE" ! MapFileName="$(OutDir)\$(TargetName).map" ! SubSystem="2" ! OptimizeReferences="2" ! EnableCOMDATFolding="2" ! TargetMachine="1"/> ! <Tool ! Name="VCMIDLTool"/> ! <Tool ! Name="VCPostBuildEventTool"/> ! <Tool ! Name="VCPreBuildEventTool"/> ! <Tool ! Name="VCPreLinkEventTool"/> ! <Tool ! Name="VCResourceCompilerTool"/> ! <Tool ! Name="VCWebServiceProxyGeneratorTool"/> ! <Tool ! Name="VCXMLDataGeneratorTool"/> ! <Tool ! Name="VCWebDeploymentTool"/> ! <Tool ! Name="VCManagedWrapperGeneratorTool"/> ! <Tool ! Name="VCAuxiliaryManagedWrapperGeneratorTool"/> ! </Configuration> ! </Configurations> ! <References> ! </References> ! <Files> ! <Filter ! Name="Source Files" ! Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx" ! UniqueIdentifier="{4FC737F1-C7A5-4376-A066-2A32D752A2FF}"> ! <File ! RelativePath=".\Profile.cpp"> ! </File> ! <File ! RelativePath=".\stdafx.cpp"> ! <FileConfiguration ! Name="Debug|Win32"> ! <Tool ! Name="VCCLCompilerTool" ! UsePrecompiledHeader="1"/> ! </FileConfiguration> ! <FileConfiguration ! Name="Release|Win32"> ! <Tool ! Name="VCCLCompilerTool" ! UsePrecompiledHeader="1"/> ! </FileConfiguration> ! </File> ! <File ! RelativePath=".\TyFile.cpp"> ! </File> ! <File ! RelativePath=".\TySplitter.cpp"> ! </File> ! <File ! RelativePath=".\TySplitter.def"> ! </File> ! </Filter> ! <Filter ! Name="Header Files" ! Filter="h;hpp;hxx;hm;inl;inc;xsd" ! UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}"> ! <File ! RelativePath=".\Profile.h"> ! </File> ! <File ! RelativePath=".\stdafx.h"> ! </File> ! <File ! RelativePath=".\TyFile.h"> ! </File> ! <File ! RelativePath=".\TySplitter.h"> ! </File> ! </Filter> ! <Filter ! Name="Resource Files" ! Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx" ! UniqueIdentifier="{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}"> ! </Filter> ! <File ! RelativePath=".\ReadMe.txt"> ! </File> ! </Files> ! <Globals> ! </Globals> ! </VisualStudioProject> --- NEW FILE: TyFile.h --- |