[xiph-commits] r8443 - in trunk/oggdsf: build/oggcodecs sln/oggdsf_all src/tools src/tools/OOOggSeekFileReader

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Thu Dec 16 05:04:15 PST 2004


Author: illiminable
Date: 2004-12-16 05:04:15 -0800 (Thu, 16 Dec 2004)
New Revision: 8443

Added:
   trunk/oggdsf/src/tools/OOOggSeekFileReader/
   trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.vcproj
   trunk/oggdsf/src/tools/OOOggSeekFileReader/ReadMe.txt
   trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.cpp
   trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.h
Modified:
   trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
Log:
* Seek file format reader.

Modified: trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj
===================================================================
--- trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/build/oggcodecs/oggcodecs.vdproj	2004-12-16 13:04:15 UTC (rev 8443)
@@ -106,6 +106,12 @@
         "Entry"
         {
         "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
+        "OwnerKey" = "8:_D3E41A5878FC4EC0B0F443CF3E5991BA"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_46A378A9B03E4612A645053EDB884C20"
         "OwnerKey" = "8:_B9749E2A902A46BEAE555C07E32980BB"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -328,6 +334,12 @@
         "Entry"
         {
         "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
+        "OwnerKey" = "8:_D3E41A5878FC4EC0B0F443CF3E5991BA"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
+        "MsmKey" = "8:_655D5383153A6AB10D15352A7EABCC7A"
         "OwnerKey" = "8:_B9749E2A902A46BEAE555C07E32980BB"
         "MsmSig" = "8:_UNDEFINED"
         }
@@ -609,6 +621,12 @@
         }
         "Entry"
         {
+        "MsmKey" = "8:_D3E41A5878FC4EC0B0F443CF3E5991BA"
+        "OwnerKey" = "8:_UNDEFINED"
+        "MsmSig" = "8:_UNDEFINED"
+        }
+        "Entry"
+        {
         "MsmKey" = "8:_D9BE90D398094F15B881B22369C3A231"
         "OwnerKey" = "8:_UNDEFINED"
         "MsmSig" = "8:_UNDEFINED"
@@ -3911,6 +3929,34 @@
                 {
                 }
             }
+            "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_D3E41A5878FC4EC0B0F443CF3E5991BA"
+            {
+            "SourcePath" = "8:..\\..\\src\\tools\\oooggseekfilereader\\debug\\OOOggSeekFileReader.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:{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}"
+            "ShowKeyOutput" = "11:TRUE"
+                "ExcludeFilters"
+                {
+                }
+            }
             "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_DB60960DC12343B89500B86D5AB10D02"
             {
             "SourcePath" = "8:..\\..\\src\\lib\\codecs\\flac\\libs\\libflac\\obj\\debug\\bin\\libFLAC++.dll"

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-12-16 13:04:15 UTC (rev 8443)
@@ -1307,6 +1307,11 @@
 		{9A14F6AC-BC6E-401A-A300-07369BD6C5FE} = {9A14F6AC-BC6E-401A-A300-07369BD6C5FE}
 	EndProjectSection
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggSeekFileReader", "..\..\src\tools\OOOggSeekFileReader\OOOggSeekFileReader.vcproj", "{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}"
+	ProjectSection(ProjectDependencies) = postProject
+		{2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4} = {2DA569EC-3E22-4BC9-A242-C7A56EB9C6F4}
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfiguration) = preSolution
 		Debug = Debug
@@ -2626,6 +2631,22 @@
 		{777D44B3-6690-4C25-B4CC-F5CD4579E932}.Release_SSE.Build.0 = Release|Win32
 		{777D44B3-6690-4C25-B4CC-F5CD4579E932}.Release_SSE2.ActiveCfg = Release|Win32
 		{777D44B3-6690-4C25-B4CC-F5CD4579E932}.Release_SSE2.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Debug.ActiveCfg = Debug|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Debug.Build.0 = Debug|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Debug Unicode.ActiveCfg = Debug|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Debug Unicode.Build.0 = Debug|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.MakeFile.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.MakeFile.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release Unicode.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release Unicode.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_NoDotNET.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_NoDotNET.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_SSE.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_SSE.Build.0 = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_SSE2.ActiveCfg = Release|Win32
+		{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}.Release_SSE2.Build.0 = Release|Win32
 	EndGlobalSection
 	GlobalSection(SolutionItems) = postSolution
 	EndGlobalSection

Added: trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.cpp	2004-12-16 13:04:15 UTC (rev 8443)
@@ -0,0 +1,45 @@
+// OOOggSeekFileReader.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+
+#include "illicoreconfig.h"
+#include "iLE_Math.h"
+#include <iostream>
+#include <fstream>
+using namespace std;
+
+int __cdecl _tmain(int argc, _TCHAR* argv[])
+{
+
+	if (argc < 2) {
+		cout << "Usage : OOOggSeekFileReader <seek_table_file>"<<endl;
+
+	} else {
+		LOOG_INT64 timePoint;
+		unsigned long bytePos;
+
+		fstream seekFile;
+		seekFile.open(argv[1], ios_base::in | ios_base::binary);
+	
+		unsigned char* buff = new unsigned char[16];
+		unsigned long pointCount = 0;
+		while (!seekFile.eof()) {
+			//Read the time
+			seekFile.read((char*)buff, 8);
+			timePoint = iLE_Math::CharArrToInt64(buff);
+
+			//Read the byte offset
+			seekFile.read((char*)buff, 4);
+			bytePos = iLE_Math::charArrToULong(buff);
+
+			cout << "Seek point "<<pointCount<<" : Time = "<<timePoint<<", Byte Offset = "<<bytePos<<endl;
+
+
+		}
+
+		delete buff;
+	}
+	return 0;
+}
+

Added: trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.vcproj
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.vcproj	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/OOOggSeekFileReader.vcproj	2004-12-16 13:04:15 UTC (rev 8443)
@@ -0,0 +1,157 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.10"
+	Name="OOOggSeekFileReader"
+	ProjectGUID="{F6B75B61-4BEF-4323-B15E-37AFFC9CB52A}"
+	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\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)/OOOggSeekFileReader.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/OOOggSeekFileReader.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;"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				RuntimeLibrary="2"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/OOOggSeekFileReader.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=".\OOOggSeekFileReader.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/OOOggSeekFileReader/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/ReadMe.txt	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/ReadMe.txt	2004-12-16 13:04:15 UTC (rev 8443)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : OOOggSeekFileReader Project Overview
+========================================================================
+
+AppWizard has created this OOOggSeekFileReader application for you.  
+This file contains a summary of what you will find in each of the files that
+make up your OOOggSeekFileReader application.
+
+
+OOOggSeekFileReader.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.
+
+OOOggSeekFileReader.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 OOOggSeekFileReader.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/OOOggSeekFileReader/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.cpp	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.cpp	2004-12-16 13:04:15 UTC (rev 8443)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// OOOggSeekFileReader.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/OOOggSeekFileReader/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.h	2004-12-16 12:40:17 UTC (rev 8442)
+++ trunk/oggdsf/src/tools/OOOggSeekFileReader/stdafx.h	2004-12-16 13:04:15 UTC (rev 8443)
@@ -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