[xiph-commits] r8435 - in trunk/oggdsf: build/oggcodecs sln/oggdsf_all src/lib/core/ogg/libOOOggSeek src/tools src/tools/AnxCutter

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Thu Dec 16 03:30:37 PST 2004


Author: illiminable
Date: 2004-12-16 03:30:37 -0800 (Thu, 16 Dec 2004)
New Revision: 8435

Added:
   trunk/oggdsf/src/tools/AnxCutter/
   trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp
   trunk/oggdsf/src/tools/AnxCutter/AnxCutter.vcproj
   trunk/oggdsf/src/tools/AnxCutter/ReadMe.txt
   trunk/oggdsf/src/tools/AnxCutter/stdafx.cpp
   trunk/oggdsf/src/tools/AnxCutter/stdafx.h
Modified:
   trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
   trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.h
Log:
* AnxCutter tool started

Modified: trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
===================================================================
--- trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-16 11:30:37 UTC (rev 8435)
@@ -106,6 +106,12 @@
         "Entry"
         {
         "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
+        "OwnerKey" = "8:_950B983745EC40EF9FF08E742A6E9510"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
         "OwnerKey" = "8:_FD547F0196C24DFBB9CAFCCEC06561BC"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -244,6 +250,12 @@
         "Entry"
         {
         "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
+        "OwnerKey" = "8:_141113E874984C0483C694B14F3C16A3"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
         "OwnerKey" = "8:_0D0DD40A31F842C68B09BE0CBDE1996B"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -310,6 +322,12 @@
         "Entry"
         {
         "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
+        "OwnerKey" = "8:_950B983745EC40EF9FF08E742A6E9510"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
         "OwnerKey" = "8:_FD547F0196C24DFBB9CAFCCEC06561BC"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -478,6 +496,12 @@
         "Entry"
         {
         "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
+        "OwnerKey" = "8:_141113E874984C0483C694B14F3C16A3"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
         "OwnerKey" = "8:_13E9F6D7ED35430BA31BDDF95E6327B3"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -537,6 +561,12 @@
         }
         "Entry"
         {
+        "MsmKey" = "8:_950B983745EC40EF9FF08E742A6E9510"
+        "OwnerKey" = "8:_UNDEFINED"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
         "MsmKey" = "8:_A5AAB8CB90C548F1820BC101A765616C"
         "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
@@ -953,7 +983,7 @@
         "Name" = "8:Microsoft Visual Studio"
         "ProductName" = "8:oggcodecs"
         "ProductCode" = "8:{D65F0073-A820-4085-B997-A061171595A7}"
-        "PackageCode" = "8:{834AFA79-FCEB-4769-9583-361852E7C25E}"
+        "PackageCode" = "8:{842FF07D-C391-48BC-985B-2446BB9635D9}"
         "UpgradeCode" = "8:{1A644FEB-7597-4FAB-AADE-C2C7C64C5984}"
         "RestartWWWService" = "11:FALSE"
         "RemovePreviousVersions" = "11:TRUE"
@@ -3193,7 +3223,7 @@
             }
             "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_141113E874984C0483C694B14F3C16A3"
             {
-            "SourcePath" = "8:..\\..\\src\\lib\\core\\directshow\\dsfanxmux\\debug\\dsfAnxMux.dll"
+            "SourcePath" = "8:..\\..\\src\\lib\\core\\directshow\\dsfAnxMux\\Debug\\dsfAnxMux.dll"
             "TargetName" = "8:"
             "Tag" = "8:"
             "Folder" = "8:_371AD289B6DB4693BDF7568485051F1E"
@@ -3695,6 +3725,34 @@
                 {
                 }
             }
+            "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_950B983745EC40EF9FF08E742A6E9510"
+            {
+            "SourcePath" = "8:..\\..\\src\\tools\\anxcutter\\debug\\AnxCutter.exe"
+            "TargetName" = "8:"
+            "Tag" = "8:"
+            "Folder" = "8:_371AD289B6DB4693BDF7568485051F1E"
+            "Condition" = "8:"
+            "Transitive" = "11:FALSE"
+            "Vital" = "11:TRUE"
+            "ReadOnly" = "11:FALSE"
+            "Hidden" = "11:FALSE"
+            "System" = "11:FALSE"
+            "Permanent" = "11:FALSE"
+            "SharedLegacy" = "11:FALSE"
+            "PackageAs" = "3:1"
+            "Register" = "3:1"
+            "Exclude" = "11:FALSE"
+            "IsDependency" = "11:FALSE"
+            "IsolateTo" = "8:"
+            "ProjectOutputGroupRegister" = "3:1"
+            "OutputConfiguration" = "8:"
+            "OutputGroupCanonicalName" = "8:Built"
+            "OutputProjectGuid" = "8:{D50F8622-3E33-4EFC-8961-0FB7641F884B}"
+            "ShowKeyOutput" = "11:TRUE"
+                "ExcludeFilters"
+                {
+                }
+            }
             "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_A5AAB8CB90C548F1820BC101A765616C"
             {
             "SourcePath" = "8:..\\..\\src\\lib\\core\\directshow\\dsfSeeking\\Debug\\dsfSeeking.dll"

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-16 11:30:37 UTC (rev 8435)
@@ -1200,6 +1200,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiracCommon", "..\..\src\lib\codecs\dirac\lib\libdirac\windows\VS2003\DiracCommon\DiracCommon.vcproj", "{A45B7D48-9E8D-4475-BED4-CBE3E3CCAD21}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1208,6 +1210,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiracDecoder", "..\..\src\lib\codecs\dirac\lib\libdirac\windows\VS2003\DiracDecoder\DiracDecoder.vcproj", "{89EC2AEB-8284-4213-874B-29D549893FC9}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1216,6 +1220,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiracEncoder", "..\..\src\lib\codecs\dirac\lib\libdirac\windows\VS2003\DiracEncoder\DiracEncoder.vcproj", "{9076B578-583A-493D-96C4-776DCEC0FFBD}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1224,6 +1230,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DiracMotionEst", "..\..\src\lib\codecs\dirac\lib\libdirac\windows\VS2003\DiracMotionEst\DiracMotionEst.vcproj", "{C6A615BF-D4EB-4D50-9638-2C715E0695C6}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1232,6 +1240,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "EncodeDirac", "..\..\src\lib\codecs\dirac\lib\libdirac\windows\VS2003\EncodeDirac\EncodeDirac.vcproj", "{547FE1E9-70EF-48D4-B45B-2FF39B39855D}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1240,6 +1250,8 @@
 	EndProjectSection
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
+	ProjectSection(ProjectDependencies) = postProject
+	EndProjectSection
 EndProject
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libDirectshowAbstracts", "..\..\src\lib\core\directshow\libDirectshowAbstracts\libDirectshowAbstracts.vcproj", "{EA7091BB-9906-41DF-9738-F4858A136086}"
 	ProjectSection(ProjectDependencies) = postProject
@@ -1272,6 +1284,12 @@
 	ProjectSection(ProjectDependencies) = postProject
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "AnxCutter", "..\..\src\tools\AnxCutter\AnxCutter.vcproj", "{D50F8622-3E33-4EFC-8961-0FB7641F884B}"
+	ProjectSection(ProjectDependencies) = postProject
+		{223ACC19-608E-4E1B-A054-067F0CACB272} = {223ACC19-608E-4E1B-A054-067F0CACB272}
+		{2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4} = {2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfiguration) = preSolution
 		Debug = Debug
@@ -2559,6 +2577,22 @@
 		{C6EE2F72-1743-47CA-B8A8-001E7C9CEEBA}.Release_NoDotNET.ActiveCfg = Release
 		{C6EE2F72-1743-47CA-B8A8-001E7C9CEEBA}.Release_SSE.ActiveCfg = Release
 		{C6EE2F72-1743-47CA-B8A8-001E7C9CEEBA}.Release_SSE2.ActiveCfg = Release
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Debug.ActiveCfg = Debug|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Debug.Build.0 = Debug|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Debug Unicode.ActiveCfg = Debug|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Debug Unicode.Build.0 = Debug|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.MakeFile.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.MakeFile.Build.0 = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release.Build.0 = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release Unicode.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release Unicode.Build.0 = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_NoDotNET.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_NoDotNET.Build.0 = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_SSE.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_SSE.Build.0 = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_SSE2.ActiveCfg = Release|Win32
+		{D50F8622-3E33-4EFC-8961-0FB7641F884B}.Release_SSE2.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionItems) = postSolution
 	EndGlobalSection

Modified: trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.h
===================================================================
--- trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.h	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/lib/core/ogg/libOOOggSeek/AutoOggSeekTable.h	2004-12-16 11:30:37 UTC (rev 8435)
@@ -58,6 +58,9 @@
 
 	__int64 fileDuration();
 
+	unsigned long serialisedSize();
+	bool serialiseInto(unsigned char* inBuff, unsigned long inBuffSize);
+
 protected:
 	unsigned long mFilePos;
 	unsigned long mPacketCount;

Added: trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/tools/AnxCutter/AnxCutter.cpp	2004-12-16 11:30:37 UTC (rev 8435)
@@ -0,0 +1,205 @@
+//===========================================================================
+//Copyright (C) 2003, 2004 Zentaro Kavanagh
+//
+//Copyright (C) 2004 Commonwealth Scientific and Industrial Research
+//   Organisation (CSIRO) Australia
+//
+//Redistribution and use in source and binary forms, with or without
+//modification, are permitted provided that the following conditions
+//are met:
+//
+//- Redistributions of source code must retain the above copyright
+//  notice, this list of conditions and the following disclaimer.
+//
+//- Redistributions in binary form must reproduce the above copyright
+//  notice, this list of conditions and the following disclaimer in the
+//  documentation and/or other materials provided with the distribution.
+//
+//- Neither the name of Zentaro Kavanagh nor the names of contributors 
+//  may be used to endorse or promote products derived from this software 
+//  without specific prior written permission.
+//
+//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+//``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+//LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
+//PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE ORGANISATION OR
+//CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
+//EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+//PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
+//PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+//LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+//NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
+//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+//===========================================================================
+
+// AnxCutter.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+#include "libOOOgg.h"
+#include "dllstuff.h"
+
+#include <iostream>
+#include <fstream>
+
+typedef pair<unsigned long, unsigned long> tSerial_HeadCountPair;
+
+unsigned long bytePos;
+
+bool gotAllHeaders;
+
+fstream outputFile;
+vector<tSerial_HeadCountPair> theStreams;
+
+enum eDemuxState {
+	SEEN_NOTHING,
+	SEEN_ANNODEX_BOS,
+	SEEN_ANNODEX_EOS,
+	SEEN_ALL_CODEC_HEADERS,
+	INVALID = 100
+};
+
+eDemuxState demuxState;
+
+unsigned long annodexSerialNo;
+
+bool writePageToOutputFile(OggPage* inOggPage) {
+	outputFile.write((char*)inOggPage->createRawPageData(), inOggPage->pageSize());
+	return true;
+}
+
+unsigned long headerCount(OggPacket* inPacket) {
+	const unsigned short NUM_SEC_HEADERS_OFFSET = 24;
+	return iLE_Math::charArrToULong(inPacket->packetData() + NUM_SEC_HEADERS_OFFSET);
+
+}
+//This will be called by the callback
+bool pageCB(OggPage* inOggPage) {
+
+	bool allEmpty = true;
+
+	switch (demuxState) {
+
+		case SEEN_NOTHING:
+			if (		(inOggPage->numPackets() == 1)
+					&&	(inOggPage->header()->isBOS())
+					&&	(strncmp((char*)inOggPage->getPacket(0)->packetData(), "Annodex\0", 8) == 0)) {
+				
+				//Advance the state
+				demuxState = SEEN_ANNODEX_BOS;
+
+				//Remember the annodex streams serial no
+				annodexSerialNo = inOggPage->header()->StreamSerialNo();
+
+				//Write out the page.
+				writePageToOutputFile(inOggPage);
+			} else {
+
+				demuxState = INVALID;
+			}
+
+			break;
+		case SEEN_ANNODEX_BOS:
+			if (		(inOggPage->numPackets() == 1)
+					&&	(inOggPage->header()->isBOS())
+					&&	(strncmp((char*)inOggPage->getPacket(0)->packetData(), "AnxData\0", 8) == 0)) {
+				
+
+				//Create an association of serial no and num headers
+				tSerial_HeadCountPair locMap;
+				locMap.first = inOggPage->header()->StreamSerialNo();
+				locMap.second = headerCount(inOggPage->getPacket(0));
+				
+				//Add the association to the list
+				theStreams.push_back(locMap);
+
+				//Write the page out to the output file.
+				writePageToOutputFile(inOggPage);
+			} else if (			(inOggPage->header()->isEOS())
+							&&	(inOggPage->header()->StreamSerialNo() == annodexSerialNo)) {
+
+				//It's the Annodex EOS.
+				demuxState = SEEN_ANNODEX_EOS;
+			} else {
+				demuxState = INVALID;
+			}
+			break;
+		case SEEN_ANNODEX_EOS:
+			for (int i = 0; i < theStreams.size(); i++) {
+				if (theStreams[i].first == inOggPage->header()->StreamSerialNo()) {
+					if (theStreams[i].second >= 1) {
+						theStreams[i].second--;
+					} else {
+						demuxState = INVALID;
+					}
+				}
+			}
+
+			
+			for (int i = 0; i < theStreams.size(); i++) {
+				if (theStreams[i].second != 0) {
+					allEmpty = false;
+				}
+			}
+
+			if (allEmpty) {
+
+				demuxState = SEEN_ALL_CODEC_HEADERS;
+			}
+			break;
+		case SEEN_ALL_CODEC_HEADERS:
+			break;
+		case INVALID:
+			break;
+		default:
+			break;
+	}
+
+
+	if (demuxState == INVALID) {
+		cout << "Invalid file. Broken = very yes."<<endl;
+	}
+	delete inOggPage;
+
+	return true;
+}
+
+
+int __cdecl _tmain(int argc, _TCHAR* argv[])
+{
+	demuxState = SEEN_NOTHING;
+
+	bytePos = 0;
+	gotAllHeaders = false;
+
+	int x;
+	cin>>x;
+	if (argc < 2) {
+		cout<<"Usage : AnxCutter <input_filename> <output_filename> <start_time> <end_time>"<<endl;
+	} else {
+		OggDataBuffer testOggBuff;
+		
+		testOggBuff.registerStaticCallback(&pageCB);
+
+		fstream inputFile;
+		
+		inputFile.open(argv[1], ios_base::in | ios_base::binary);
+		outputFile.open(argv[2], ios_base::out | ios_base::binary);
+		
+		const unsigned short BUFF_SIZE = 8092;
+		char* locBuff = new char[BUFF_SIZE];
+		while (demuxState < SEEN_ALL_CODEC_HEADERS) {
+			inputFile.read(locBuff, BUFF_SIZE);
+			unsigned long locBytesRead = inputFile.gcount();
+    		testOggBuff.feed((const unsigned char*)locBuff, locBytesRead);
+		}
+
+
+		inputFile.close();
+		outputFile.close();
+		delete[] locBuff;
+	}
+
+	return 0;
+}
+

Added: trunk/oggdsf/src/tools/AnxCutter/AnxCutter.vcproj
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/AnxCutter.vcproj	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/tools/AnxCutter/AnxCutter.vcproj	2004-12-16 11:30:37 UTC (rev 8435)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="AnxCutter"
+	ProjectGUID="{D50F8622-3E33-4EFC-8961-0FB7641F884B}"
+	Keyword="Win32Proj">
+	<Platforms>
+		<Platform
+			Name="Win32"/>
+	</Platforms>
+	<Configurations>
+		<Configuration
+			Name="Debug|Win32"
+			OutputDirectory="Debug"
+			IntermediateDirectory="Debug"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="0"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg\libOOOgg;.;..\..\lib\helper\libilliCore"
+				PreprocessorDefinitions="WIN32;_DEBUG;_CONSOLE"
+				MinimalRebuild="TRUE"
+				BasicRuntimeChecks="3"
+				RuntimeLibrary="3"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="4"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/AnxCutter.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/AnxCutter.pdb"
+				SubSystem="1"
+				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="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg\libOOOgg;.;..\..\lib\helper\libilliCore"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				RuntimeLibrary="4"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/AnxCutter.exe"
+				LinkIncremental="1"
+				GenerateDebugInformation="TRUE"
+				SubSystem="1"
+				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=".\AnxCutter.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>
+		</Filter>
+		<Filter
+			Name="Header Files"
+			Filter="h;hpp;hxx;hm;inl;inc;xsd"
+			UniqueIdentifier="{93995380-89BD-4b04-88EB-625FBE52EBFB}">
+			<File
+				RelativePath=".\stdafx.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>

Added: trunk/oggdsf/src/tools/AnxCutter/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/ReadMe.txt	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/tools/AnxCutter/ReadMe.txt	2004-12-16 11:30:37 UTC (rev 8435)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : AnxCutter Project Overview
+========================================================================
+
+AppWizard has created this AnxCutter application for you.  
+This file contains a summary of what you will find in each of the files that
+make up your AnxCutter application.
+
+
+AnxCutter.vcproj
+    This is the main project file for VC++ projects generated using an Application Wizard. 
+    It contains information about the version of Visual C++ that generated the file, and 
+    information about the platforms, configurations, and project features selected with the
+    Application Wizard.
+
+AnxCutter.cpp
+    This is the main application source file.
+
+/////////////////////////////////////////////////////////////////////////////
+Other standard files:
+
+StdAfx.h, StdAfx.cpp
+    These files are used to build a precompiled header (PCH) file
+    named AnxCutter.pch and a precompiled types file named StdAfx.obj.
+
+/////////////////////////////////////////////////////////////////////////////
+Other notes:
+
+AppWizard uses "TODO:" comments to indicate parts of the source code you
+should add to or customize.
+
+/////////////////////////////////////////////////////////////////////////////

Added: trunk/oggdsf/src/tools/AnxCutter/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/stdafx.cpp	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/tools/AnxCutter/stdafx.cpp	2004-12-16 11:30:37 UTC (rev 8435)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// AnxCutter.pch will be the pre-compiled header
+// stdafx.obj will contain the pre-compiled type information
+
+#include "stdafx.h"
+
+// TODO: reference any additional headers you need in STDAFX.H
+// and not in this file

Added: trunk/oggdsf/src/tools/AnxCutter/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/AnxCutter/stdafx.h	2004-12-16 09:35:47 UTC (rev 8434)
+++ trunk/oggdsf/src/tools/AnxCutter/stdafx.h	2004-12-16 11:30:37 UTC (rev 8435)
@@ -0,0 +1,12 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#pragma once
+
+
+#include <iostream>
+#include <tchar.h>
+
+// TODO: reference additional headers your program requires here



More information about the commits mailing list