[xiph-cvs] r6658 - in trunk/oggdsf: sln/oggdsf_all src/lib/core/directshow/dsfOggDemux src/tools src/tools/OOOggDump src/tools/OOOggStat

illiminable at xiph.org illiminable at xiph.org
Wed May 12 02:27:05 PDT 2004



Author: illiminable
Date: 2004-05-12 05:27:04 -0400 (Wed, 12 May 2004)
New Revision: 6658

Added:
   trunk/oggdsf/src/tools/OOOggStat/
   trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp
   trunk/oggdsf/src/tools/OOOggStat/OOOggStat.vcproj
   trunk/oggdsf/src/tools/OOOggStat/ReadMe.txt
   trunk/oggdsf/src/tools/OOOggStat/stdafx.cpp
   trunk/oggdsf/src/tools/OOOggStat/stdafx.h
Modified:
   trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStreamFactory.cpp
   trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp
Log:
Added OOOggStat. A command line tool to identify streams in an ogg file.

Modified: trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln
===================================================================
--- trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/sln/oggdsf_all/oggdsf_all.sln	2004-05-12 09:27:04 UTC (rev 6658)
@@ -49,6 +49,8 @@
 EndProject
 Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "oggcodecs", "..\..\build\oggcodecs\oggcodecs.vdproj", "{3214DF66-3E46-4E44-BF9D-BC7502B88C29}"
 EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggStat", "..\..\src\tools\OOOggStat\OOOggStat.vcproj", "{48CFEC13-E2BC-412F-8ECA-29090C7193B6}"
+EndProject
 Global
         GlobalSection(SolutionConfiguration) = preSolution
                 ConfigName.0 = Debug
@@ -158,28 +160,51 @@
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.41 = {AE0ABDB0-AE3B-4C38-843B-3408A6B87BA4}
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.42 = {C2B7DBC0-5AB3-46F5-90E9-05EF1B230AE2}
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.43 = {D74A626E-C8CB-4787-913E-2E637FC04F2B}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.44 = {D74A626E-C8CB-4787-913E-2E637FC04F2B}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.45 = {C2B7DBC0-5AB3-46F5-90E9-05EF1B230AE2}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.46 = {AE0ABDB0-AE3B-4C38-843B-3408A6B87BA4}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.47 = {2394BCBD-BAE8-443F-A65C-6BFDDD42D7CA}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.48 = {AE32588D-2807-4796-9E68-C9104817BC1A}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.49 = {6B548F29-04A2-4F61-946F-72B86B4845DA}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.50 = {95720FE9-89D5-4DCD-9A75-EE73BDF58AB2}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.51 = {A882A968-3013-4A27-B653-E18CF5C791FE}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.52 = {419E0701-9C9A-4671-B3B6-79FA206DEE25}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.53 = {DE1073F1-71D6-477E-A7C1-6E4F0AACCBF4}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.54 = {A0004AEB-B47C-4A0A-8FE7-4F65B5FD48FA}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.55 = {FB373486-0E6E-4BB6-8BF2-1F92EACA1468}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.56 = {BE48BAC3-F0DE-47AA-8192-C2A52798E0E5}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.57 = {A3BFBA6A-9B45-44C3-8FB0-A16FA2D9E487}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.58 = {4906E533-2864-4840-ABC1-00CD844623EB}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.59 = {9A14F6AC-BC6E-401A-A300-07369BD6C5FE}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.60 = {223ACC19-608E-4E1B-A054-067F0CACB272}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.61 = {2EBA839A-CE6E-406E-9A43-CC6FB25A78CB}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.62 = {11CBDFD6-0D73-40C0-95DF-997C5FD873F2}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.63 = {6B20BD7A-644B-4087-9CAC-71B2D68D0231}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.64 = {3FB9B20E-790A-402F-A02C-B0FBDC5938E3}
-		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.65 = {73D3CA81-3BDC-42F1-8456-76224F6B337C}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.44 = {73D3CA81-3BDC-42F1-8456-76224F6B337C}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.45 = {3FB9B20E-790A-402F-A02C-B0FBDC5938E3}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.46 = {6B20BD7A-644B-4087-9CAC-71B2D68D0231}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.47 = {11CBDFD6-0D73-40C0-95DF-997C5FD873F2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.48 = {2EBA839A-CE6E-406E-9A43-CC6FB25A78CB}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.49 = {223ACC19-608E-4E1B-A054-067F0CACB272}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.50 = {9A14F6AC-BC6E-401A-A300-07369BD6C5FE}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.51 = {4906E533-2864-4840-ABC1-00CD844623EB}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.52 = {A3BFBA6A-9B45-44C3-8FB0-A16FA2D9E487}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.53 = {BE48BAC3-F0DE-47AA-8192-C2A52798E0E5}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.54 = {FB373486-0E6E-4BB6-8BF2-1F92EACA1468}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.55 = {A0004AEB-B47C-4A0A-8FE7-4F65B5FD48FA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.56 = {DE1073F1-71D6-477E-A7C1-6E4F0AACCBF4}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.57 = {419E0701-9C9A-4671-B3B6-79FA206DEE25}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.58 = {A882A968-3013-4A27-B653-E18CF5C791FE}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.59 = {95720FE9-89D5-4DCD-9A75-EE73BDF58AB2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.60 = {6B548F29-04A2-4F61-946F-72B86B4845DA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.61 = {AE32588D-2807-4796-9E68-C9104817BC1A}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.62 = {2394BCBD-BAE8-443F-A65C-6BFDDD42D7CA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.63 = {AE0ABDB0-AE3B-4C38-843B-3408A6B87BA4}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.64 = {C2B7DBC0-5AB3-46F5-90E9-05EF1B230AE2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.65 = {D74A626E-C8CB-4787-913E-2E637FC04F2B}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.66 = {D74A626E-C8CB-4787-913E-2E637FC04F2B}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.67 = {C2B7DBC0-5AB3-46F5-90E9-05EF1B230AE2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.68 = {AE0ABDB0-AE3B-4C38-843B-3408A6B87BA4}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.69 = {2394BCBD-BAE8-443F-A65C-6BFDDD42D7CA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.70 = {AE32588D-2807-4796-9E68-C9104817BC1A}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.71 = {6B548F29-04A2-4F61-946F-72B86B4845DA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.72 = {95720FE9-89D5-4DCD-9A75-EE73BDF58AB2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.73 = {A882A968-3013-4A27-B653-E18CF5C791FE}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.74 = {419E0701-9C9A-4671-B3B6-79FA206DEE25}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.75 = {DE1073F1-71D6-477E-A7C1-6E4F0AACCBF4}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.76 = {A0004AEB-B47C-4A0A-8FE7-4F65B5FD48FA}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.77 = {FB373486-0E6E-4BB6-8BF2-1F92EACA1468}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.78 = {BE48BAC3-F0DE-47AA-8192-C2A52798E0E5}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.79 = {A3BFBA6A-9B45-44C3-8FB0-A16FA2D9E487}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.80 = {4906E533-2864-4840-ABC1-00CD844623EB}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.81 = {9A14F6AC-BC6E-401A-A300-07369BD6C5FE}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.82 = {223ACC19-608E-4E1B-A054-067F0CACB272}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.83 = {2EBA839A-CE6E-406E-9A43-CC6FB25A78CB}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.84 = {11CBDFD6-0D73-40C0-95DF-997C5FD873F2}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.85 = {6B20BD7A-644B-4087-9CAC-71B2D68D0231}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.86 = {3FB9B20E-790A-402F-A02C-B0FBDC5938E3}
+		{3214DF66-3E46-4E44-BF9D-BC7502B88C29}.87 = {73D3CA81-3BDC-42F1-8456-76224F6B337C}
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.0 = {223ACC19-608E-4E1B-A054-067F0CACB272}
         EndGlobalSection
         GlobalSection(ProjectConfiguration) = postSolution
                 {FB373486-0E6E-4BB6-8BF2-1F92EACA1468}.Debug.ActiveCfg = Debug|Win32
@@ -432,6 +457,16 @@
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.Release.Build.0 = Release
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.Release Unicode.ActiveCfg = Release
                 {3214DF66-3E46-4E44-BF9D-BC7502B88C29}.Release Unicode.Build.0 = Release
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Debug.ActiveCfg = Debug|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Debug.Build.0 = Debug|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Debug Unicode.ActiveCfg = Debug|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Debug Unicode.Build.0 = Debug|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.MakeFile.ActiveCfg = Release|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.MakeFile.Build.0 = Release|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release.ActiveCfg = Release|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release.Build.0 = Release|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release Unicode.ActiveCfg = Release|Win32
+		{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release Unicode.Build.0 = Release|Win32
         EndGlobalSection
         GlobalSection(ExtensibilityGlobals) = postSolution
         EndGlobalSection

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStreamFactory.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStreamFactory.cpp	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStreamFactory.cpp	2004-05-12 09:27:04 UTC (rev 6658)
@@ -67,7 +67,7 @@
                 return StreamHeaders::SPEEX;
         } else if ((strncmp((char*)inOggPacket->packetData(), "fLaC", 4)) == 0) {
                 return StreamHeaders::FLAC;
-	} else if ((strncmp((char*)inOggPacket->packetData(), "\200theora", 4)) == 0) {
+	} else if ((strncmp((char*)inOggPacket->packetData(), "\200theora", 7)) == 0) {
                 return StreamHeaders::THEORA;
         } else if ((strncmp((char*)inOggPacket->packetData(), "\001video\000\000\000", 9)) == 0) {
                 return StreamHeaders::FFDSHOW_VIDEO;

Modified: trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp	2004-05-12 09:27:04 UTC (rev 6658)
@@ -77,7 +77,7 @@
         } else {
                 OggDataBuffer testOggBuff;
                 OggCallbackRego* locCBRego = new OggCallbackRego(&pageCB);
-		const BUFF_SIZE = 10000;
+		const BUFF_SIZE = 8092;
                 testOggBuff.registerPageCallback(locCBRego);
 
                 fstream testFile;

Added: trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp	2004-05-12 09:27:04 UTC (rev 6658)
@@ -0,0 +1,128 @@
+//===========================================================================
+//Copyright (C) 2003, 2004 Zentaro Kavanagh
+//
+//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.
+//===========================================================================
+
+// OOOggStat.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+#include <libOOOgg.h>
+#include <dllstuff.h>
+
+#include <iostream>
+
+
+#include <fstream>
+
+//This will be called by the callback
+
+unsigned long streamNo;
+
+bool pageCB(OggPage* inOggPage) {
+	if ((inOggPage->numPackets() > 0) && (inOggPage->header()->isBOS())) {
+		streamNo++;
+		OggPacket* locFirstPack = inOggPage->getPacket(0);
+
+		if (strncmp((char*)locFirstPack->packetData(), "\001vorbis", 7) == 0) {
+			cout<<"Stream "<<streamNo<<" : Audio/Vorbis "<<endl;
+		} else if (strncmp((char*)locFirstPack->packetData(), "Speex   ", 8) == 0) {
+			cout<<"Stream "<<streamNo<<" : Audio/Speex "<<endl;
+		} else if ((strncmp((char*)locFirstPack->packetData(), "fLaC", 4)) == 0) {
+			cout<<"Stream "<<streamNo<<" : Audio/FLAC "<<endl;
+		} else if ((strncmp((char*)locFirstPack->packetData(), "\200theora", 7)) == 0) {
+			cout<<"Stream "<<streamNo<<" : Video/Theora "<<endl;
+		} else if ((strncmp((char*)locFirstPack->packetData(), "\001video\000\000\000", 9)) == 0) {
+			unsigned char* locPackData = locFirstPack->packetData();
+			unsigned char* locFourCCString = new unsigned char[5];
+			for (int i = 0; i < 4; i++) {
+				locFourCCString[i] = locPackData[9+i];
+			}
+			locFourCCString[4] = 0;
+
+			string locPinName = (char*)locFourCCString;
+			cout<<"Stream "<<streamNo<<" : Video/"<<locPinName<<endl;
+		} else {
+			cout<<"Stream "<<streamNo<<" : Unknown Stream"<<endl;
+		}
+	}
+	
+
+	//cout << inOggPage->header()->toString();
+	//cout << "Num Packets : " << inOggPage->numPackets() << endl;;
+	//for (unsigned long i = 0; i < inOggPage->numPackets(); i++) {
+	//	locPack = inOggPage->getPacket(i);
+	//	cout << "------ Packet  "<< i <<" (";
+	//	cout<<locPack->packetSize()<< " bytes) -------";
+	//	
+	//	if (!locPack->isComplete()) {
+	//		cout<<"  ** INCOMPLETE **";
+	//	}
+	//	cout<<endl;
+	//	cout << locPack->toPackDumpString();
+	//}
+	
+	return true;
+}
+
+
+int _tmain(int argc, _TCHAR* argv[])
+{
+
+
+	//This program just dumps the pages out of a file in ogg format.
+	// Currently does not error checking. Check your command line carefully !
+	// USAGE :: OggDump <OggFile>
+	//
+	if (argc < 2) {
+		cout<<"Usage : OOOggDump <filename>"<<endl;
+	} else {
+		streamNo = 0;
+		OggDataBuffer testOggBuff;
+		OggCallbackRego* locCBRego = new OggCallbackRego(&pageCB);
+		const BUFF_SIZE = 8092;
+		testOggBuff.registerPageCallback(locCBRego);
+
+		fstream testFile;
+		testFile.open(argv[1], ios_base::in | ios_base::binary);
+		char* locBuff = new char[BUFF_SIZE];
+		while (!testFile.eof()) {
+			testFile.read(locBuff, BUFF_SIZE);
+			unsigned long locBytesRead = testFile.gcount();
+    		testOggBuff.feed(locBuff, locBytesRead);
+		}
+
+		delete locBuff;
+	}
+
+
+	return 0;
+}
+
+

Added: trunk/oggdsf/src/tools/OOOggStat/OOOggStat.vcproj
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/OOOggStat.vcproj	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggStat/OOOggStat.vcproj	2004-05-12 09:27:04 UTC (rev 6658)
@@ -0,0 +1,145 @@
+<?xml version="1.0" encoding = "Windows-1252"?>
+<VisualStudioProject
+	ProjectType="Visual C++"
+	Version="7.00"
+	Name="OOOggStat"
+	ProjectGUID="{48CFEC13-E2BC-412F-8ECA-29090C7193B6}"
+	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"
+				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)/OOOggStat.exe"
+				LinkIncremental="2"
+				GenerateDebugInformation="TRUE"
+				ProgramDatabaseFile="$(OutDir)/OOOggStat.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="VCWebDeploymentTool"/>
+		</Configuration>
+		<Configuration
+			Name="Release|Win32"
+			OutputDirectory="Release"
+			IntermediateDirectory="Release"
+			ConfigurationType="1"
+			CharacterSet="2">
+			<Tool
+				Name="VCCLCompilerTool"
+				Optimization="2"
+				InlineFunctionExpansion="1"
+				OmitFramePointers="TRUE"
+				AdditionalIncludeDirectories="..\..\lib\core\ogg\libOOOgg"
+				PreprocessorDefinitions="WIN32;NDEBUG;_CONSOLE"
+				StringPooling="TRUE"
+				RuntimeLibrary="2"
+				EnableFunctionLevelLinking="TRUE"
+				UsePrecompiledHeader="3"
+				WarningLevel="3"
+				Detect64BitPortabilityProblems="TRUE"
+				DebugInformationFormat="3"
+				CallingConvention="2"/>
+			<Tool
+				Name="VCCustomBuildTool"/>
+			<Tool
+				Name="VCLinkerTool"
+				OutputFile="$(OutDir)/OOOggStat.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="VCWebDeploymentTool"/>
+		</Configuration>
+	</Configurations>
+	<Files>
+		<Filter
+			Name="Source Files"
+			Filter="cpp;c;cxx;def;odl;idl;hpj;bat;asm">
+			<File
+				RelativePath="OOOggStat.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">
+			<File
+				RelativePath="stdafx.h">
+			</File>
+		</Filter>
+		<Filter
+			Name="Resource Files"
+			Filter="rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe">
+		</Filter>
+		<File
+			RelativePath="ReadMe.txt">
+		</File>
+	</Files>
+	<Globals>
+	</Globals>
+</VisualStudioProject>

Added: trunk/oggdsf/src/tools/OOOggStat/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/ReadMe.txt	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggStat/ReadMe.txt	2004-05-12 09:27:04 UTC (rev 6658)
@@ -0,0 +1,32 @@
+========================================================================
+    CONSOLE APPLICATION : OOOggStat Project Overview
+========================================================================
+
+AppWizard has created this OOOggStat application for you.  
+This file contains a summary of what you will find in each of the files that
+make up your OOOggStat application.
+
+
+OOOggStat.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.
+
+OOOggStat.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 OOOggStat.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/OOOggStat/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/stdafx.cpp	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggStat/stdafx.cpp	2004-05-12 09:27:04 UTC (rev 6658)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// OOOggStat.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/OOOggStat/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/stdafx.h	2004-05-12 07:16:08 UTC (rev 6657)
+++ trunk/oggdsf/src/tools/OOOggStat/stdafx.h	2004-05-12 09:27:04 UTC (rev 6658)
@@ -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
+
+#define WIN32_LEAN_AND_MEAN		// Exclude rarely-used stuff from Windows headers
+#include <stdio.h>
+#include <tchar.h>
+
+// TODO: reference additional headers your program requires here

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list