[xiph-commits] r7331 - in trunk/oggdsf: build
illiminable at dactyl.lonelymoon.com
illiminable
Sun Jul 25 10:06:45 PDT 2004
build/libOOOggWithToolsAndTests sln/libOOOggWithToolsAndTests
src/tools src/tools/OOOggDump src/tools/OOOggStat
src/tools/OOOggValidate
Message-ID: <20040725170645.D5CF39AAAB at dactyl.lonelymoon.com>
Author: illiminable
Date: Sun Jul 25 10:06:45 2004
New Revision: 7331
Added:
trunk/oggdsf/build/libOOOggWithToolsAndTests/
trunk/oggdsf/build/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.vdproj
trunk/oggdsf/src/tools/OOOggValidate/
trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.cpp
trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.vcproj
trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.cpp
trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.h
trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.cpp
trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.h
trunk/oggdsf/src/tools/OOOggValidate/ReadMe.txt
trunk/oggdsf/src/tools/OOOggValidate/stdafx.cpp
trunk/oggdsf/src/tools/OOOggValidate/stdafx.h
Modified:
trunk/oggdsf/sln/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.sln
trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp
trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp
Log:
* Started a validation tool.
Added: trunk/oggdsf/build/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.vdproj
===================================================================
--- trunk/oggdsf/build/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.vdproj 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/build/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.vdproj 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,813 @@
+"DeployProject"
+{
+"VSVersion" = "3:701"
+"ProjectType" = "8:{2C2AF0D9-9B47-4FE5-BEF2-169778172667}"
+"IsWebType" = "8:FALSE"
+"ProjectName" = "8:libOOOggWithToolsAndTests"
+"LanguageId" = "3:1033"
+"CodePage" = "3:1252"
+"UILanguageId" = "3:1033"
+"SccProjectName" = "8:"
+"SccLocalPath" = "8:"
+"SccAuxPath" = "8:"
+"SccProvider" = "8:"
+ "Hierarchy"
+ {
+ "Entry"
+ {
+ "MsmKey" = "8:_9BF479E16E8E489CA7D9F11A166F5612"
+ "OwnerKey" = "8:_UNDEFINED"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_9EB1B54CEB1D40979ADA34E55D07BB22"
+ "OwnerKey" = "8:_UNDEFINED"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_BBD7397A8E5F1E7433D3C7836DB3EE7F"
+ "OwnerKey" = "8:_9EB1B54CEB1D40979ADA34E55D07BB22"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_BBD7397A8E5F1E7433D3C7836DB3EE7F"
+ "OwnerKey" = "8:_DFF78663650B4CF0A485185D63D04FB5"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_BBD7397A8E5F1E7433D3C7836DB3EE7F"
+ "OwnerKey" = "8:_9BF479E16E8E489CA7D9F11A166F5612"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_DCF47080823151CD8BF79A8AE0EA1C5D"
+ "OwnerKey" = "8:_9EB1B54CEB1D40979ADA34E55D07BB22"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_DCF47080823151CD8BF79A8AE0EA1C5D"
+ "OwnerKey" = "8:_DFF78663650B4CF0A485185D63D04FB5"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_DCF47080823151CD8BF79A8AE0EA1C5D"
+ "OwnerKey" = "8:_9BF479E16E8E489CA7D9F11A166F5612"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ "Entry"
+ {
+ "MsmKey" = "8:_DFF78663650B4CF0A485185D63D04FB5"
+ "OwnerKey" = "8:_UNDEFINED"
+ "MsmSig" = "8:_UNDEFINED"
+ }
+ }
+ "Configurations"
+ {
+ "Debug"
+ {
+ "DisplayName" = "8:Debug"
+ "IsDebugOnly" = "11:TRUE"
+ "IsReleaseOnly" = "11:FALSE"
+ "OutputFilename" = "8:Debug\\libOOOggWithToolsAndTests.msi"
+ "PackageFilesAs" = "3:2"
+ "PackageFileSize" = "3:-2147483648"
+ "CabType" = "3:1"
+ "Compression" = "3:2"
+ "SignOutput" = "11:FALSE"
+ "CertificateFile" = "8:"
+ "PrivateKeyFile" = "8:"
+ "TimeStampServer" = "8:"
+ "InstallerBootstrapper" = "3:2"
+ }
+ "Release"
+ {
+ "DisplayName" = "8:Release"
+ "IsDebugOnly" = "11:FALSE"
+ "IsReleaseOnly" = "11:TRUE"
+ "OutputFilename" = "8:Release\\libOOOggWithToolsAndTests.msi"
+ "PackageFilesAs" = "3:2"
+ "PackageFileSize" = "3:-2147483648"
+ "CabType" = "3:1"
+ "Compression" = "3:2"
+ "SignOutput" = "11:FALSE"
+ "CertificateFile" = "8:"
+ "PrivateKeyFile" = "8:"
+ "TimeStampServer" = "8:"
+ "InstallerBootstrapper" = "3:2"
+ }
+ }
+ "Deployable"
+ {
+ "CustomAction"
+ {
+ }
+ "DefaultFeature"
+ {
+ "Name" = "8:DefaultFeature"
+ "Title" = "8:"
+ "Description" = "8:"
+ }
+ "ExternalPersistence"
+ {
+ "LaunchCondition"
+ {
+ }
+ }
+ "Feature"
+ {
+ }
+ "File"
+ {
+ "{A582A373-4685-4296-BEFE-614B80A702C3}:_BBD7397A8E5F1E7433D3C7836DB3EE7F"
+ {
+ "SourcePath" = "8:MSVCR71D.dll"
+ "TargetName" = "8:MSVCR71D.dll"
+ "Tag" = "8:"
+ "Folder" = "8:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ "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:TRUE"
+ "IsolateTo" = "8:"
+ }
+ "{A582A373-4685-4296-BEFE-614B80A702C3}:_DCF47080823151CD8BF79A8AE0EA1C5D"
+ {
+ "SourcePath" = "8:MSVCP71D.dll"
+ "TargetName" = "8:MSVCP71D.dll"
+ "Tag" = "8:"
+ "Folder" = "8:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ "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:TRUE"
+ "IsolateTo" = "8:"
+ }
+ }
+ "FileType"
+ {
+ }
+ "Folder"
+ {
+ "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_7820300CC1C14978A148AA6E1B971FDC"
+ {
+ "Name" = "8:#1919"
+ "AlwaysCreate" = "11:FALSE"
+ "Condition" = "8:"
+ "Transitive" = "11:FALSE"
+ "Property" = "8:ProgramMenuFolder"
+ "Folders"
+ {
+ }
+ }
+ "{58C0ADA3-3CEA-43BD-A3B3-2EA121BC8217}:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ {
+ "DefaultLocation" = "8:[ProgramFilesFolder][Manufacturer]\\[ProductName]"
+ "Name" = "8:#1925"
+ "AlwaysCreate" = "11:FALSE"
+ "Condition" = "8:"
+ "Transitive" = "11:FALSE"
+ "Property" = "8:TARGETDIR"
+ "Folders"
+ {
+ }
+ }
+ "{78BAF5CE-F2E5-45BE-83BC-DB6AF387E941}:_F49EBFD78D8B4D148B79582B79EA9115"
+ {
+ "Name" = "8:#1916"
+ "AlwaysCreate" = "11:FALSE"
+ "Condition" = "8:"
+ "Transitive" = "11:FALSE"
+ "Property" = "8:DesktopFolder"
+ "Folders"
+ {
+ }
+ }
+ }
+ "LaunchCondition"
+ {
+ }
+ "Locator"
+ {
+ }
+ "MsiBootstrapper"
+ {
+ "LangId" = "3:1033"
+ }
+ "Product"
+ {
+ "Name" = "8:Microsoft Visual Studio"
+ "ProductName" = "8:libOOOggWithToolsAndTests"
+ "ProductCode" = "8:{E213AA75-8F79-4E6E-A8AE-A131AA8B4058}"
+ "PackageCode" = "8:{72ED2554-0A9E-4347-B8D2-B9399055CDBC}"
+ "UpgradeCode" = "8:{EC58A5EB-BA29-4AA6-B91D-26DFDB021492}"
+ "RestartWWWService" = "11:FALSE"
+ "RemovePreviousVersions" = "11:FALSE"
+ "DetectNewerInstalledVersion" = "11:TRUE"
+ "ProductVersion" = "8:1.0.0"
+ "Manufacturer" = "8:Default Company Name"
+ "ARPHELPTELEPHONE" = "8:"
+ "ARPHELPLINK" = "8:"
+ "Title" = "8:libOOOggWithToolsAndTests"
+ "Subject" = "8:"
+ "ARPCONTACT" = "8:Default Company Name"
+ "Keywords" = "8:"
+ "ARPCOMMENTS" = "8:"
+ "ARPURLINFOABOUT" = "8:"
+ "ARPPRODUCTICON" = "8:"
+ "ARPIconIndex" = "3:0"
+ "SearchPath" = "8:"
+ "UseSystemSearchPath" = "11:TRUE"
+ }
+ "Registry"
+ {
+ "HKLM"
+ {
+ "Keys"
+ {
+ "{6A471EEF-D31B-40F8-BCF6-C9E8EC783F36}:_EC8C907DD84344DEADF1EEE7126D7A33"
+ {
+ "Name" = "8:Software"
+ "Condition" = "8:"
+ "AlwaysCreate" = "11:FALSE"
+ "DeleteAtUninstall" = "11:FALSE"
+ "Transitive" = "11:FALSE"
+ "Keys"
+ {
+ "{6A471EEF-D31B-40F8-BCF6-C9E8EC783F36}:_DC2FC25450F54DB9AFE9F72DFCEE73F0"
+ {
+ "Name" = "8:[Manufacturer]"
+ "Condition" = "8:"
+ "AlwaysCreate" = "11:FALSE"
+ "DeleteAtUninstall" = "11:FALSE"
+ "Transitive" = "11:FALSE"
+ "Keys"
+ {
+ }
+ "Values"
+ {
+ }
+ }
+ }
+ "Values"
+ {
+ }
+ }
+ }
+ }
+ "HKCU"
+ {
+ "Keys"
+ {
+ "{6A471EEF-D31B-40F8-BCF6-C9E8EC783F36}:_07512C997D654C3DBACF58C398A6E4A8"
+ {
+ "Name" = "8:Software"
+ "Condition" = "8:"
+ "AlwaysCreate" = "11:FALSE"
+ "DeleteAtUninstall" = "11:FALSE"
+ "Transitive" = "11:FALSE"
+ "Keys"
+ {
+ "{6A471EEF-D31B-40F8-BCF6-C9E8EC783F36}:_E71012CE8D344A888DBD783B354F9B98"
+ {
+ "Name" = "8:[Manufacturer]"
+ "Condition" = "8:"
+ "AlwaysCreate" = "11:FALSE"
+ "DeleteAtUninstall" = "11:FALSE"
+ "Transitive" = "11:FALSE"
+ "Keys"
+ {
+ }
+ "Values"
+ {
+ }
+ }
+ }
+ "Values"
+ {
+ }
+ }
+ }
+ }
+ "HKCR"
+ {
+ "Keys"
+ {
+ }
+ }
+ "HKU"
+ {
+ "Keys"
+ {
+ }
+ }
+ "HKPU"
+ {
+ "Keys"
+ {
+ }
+ }
+ }
+ "Sequences"
+ {
+ }
+ "Shortcut"
+ {
+ }
+ "UserInterface"
+ {
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_052F0694019547E7BE3E19173C8BCC36"
+ {
+ "Name" = "8:#1900"
+ "Sequence" = "3:1"
+ "Attributes" = "3:1"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_49F1F080EA434976AEB0CF070A67A5EA"
+ {
+ "Sequence" = "3:200"
+ "DisplayName" = "8:Installation Folder"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdFolderDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_EE46C4C801A14761A47185163FD97D41"
+ {
+ "Sequence" = "3:300"
+ "DisplayName" = "8:Confirm Installation"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdConfirmDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_F75E46C0A5524F7E922FAFCB07BAC9E1"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Welcome"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdWelcomeDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "CopyrightWarning"
+ {
+ "Name" = "8:CopyrightWarning"
+ "DisplayName" = "8:#1002"
+ "Description" = "8:#1102"
+ "Type" = "3:3"
+ "ContextData" = "8:"
+ "Attributes" = "3:0"
+ "Setting" = "3:1"
+ "Value" = "8:#1202"
+ "DefaultValue" = "8:#1202"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "Welcome"
+ {
+ "Name" = "8:Welcome"
+ "DisplayName" = "8:#1003"
+ "Description" = "8:#1103"
+ "Type" = "3:3"
+ "ContextData" = "8:"
+ "Attributes" = "3:0"
+ "Setting" = "3:1"
+ "Value" = "8:#1203"
+ "DefaultValue" = "8:#1203"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_2A9FA19C6F9046ED94AE94582FAD866F"
+ {
+ "Name" = "8:#1902"
+ "Sequence" = "3:1"
+ "Attributes" = "3:3"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_AF294E2DCD6548E8A68F40763C7857AC"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Finished"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdFinishedDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "UpdateText"
+ {
+ "Name" = "8:UpdateText"
+ "DisplayName" = "8:#1058"
+ "Description" = "8:#1158"
+ "Type" = "3:15"
+ "ContextData" = "8:"
+ "Attributes" = "3:0"
+ "Setting" = "3:1"
+ "Value" = "8:#1258"
+ "DefaultValue" = "8:#1258"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ "{B654A020-6903-4E6A-A86C-75DC463DB54B}:_305D13FA1BF84A179B2068B34D7B22A0"
+ {
+ "UseDynamicProperties" = "11:FALSE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdUserInterface.wim"
+ }
+ "{B654A020-6903-4E6A-A86C-75DC463DB54B}:_4C3A3E345EBE4559B6A4E74A31100A73"
+ {
+ "UseDynamicProperties" = "11:FALSE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdBasicDialogs.wim"
+ }
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_50A90183F12C4205937971AB0A4D5049"
+ {
+ "Name" = "8:#1901"
+ "Sequence" = "3:1"
+ "Attributes" = "3:2"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_95EAFD299D3048A98B78D5D6A1594AB9"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Progress"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdProgressDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "ShowProgress"
+ {
+ "Name" = "8:ShowProgress"
+ "DisplayName" = "8:#1009"
+ "Description" = "8:#1109"
+ "Type" = "3:5"
+ "ContextData" = "8:1;True=1;False=0"
+ "Attributes" = "3:0"
+ "Setting" = "3:0"
+ "Value" = "3:1"
+ "DefaultValue" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_CD36820C49F44747A642E60EE13C119D"
+ {
+ "Name" = "8:#1902"
+ "Sequence" = "3:2"
+ "Attributes" = "3:3"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_15683E36CE1248E5AF69C002358807ED"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Finished"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFinishedDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_D43A4F6405C14606864C78C8CCED06D6"
+ {
+ "Name" = "8:#1900"
+ "Sequence" = "3:2"
+ "Attributes" = "3:1"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_04067CD60382415E96CAEC819371255E"
+ {
+ "Sequence" = "3:200"
+ "DisplayName" = "8:Installation Folder"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdAdminFolderDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_155439690B9C435DB5E16C174BE87161"
+ {
+ "Sequence" = "3:300"
+ "DisplayName" = "8:Confirm Installation"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdAdminConfirmDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_933D77C2C05B45A780350169AD219159"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Welcome"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdAdminWelcomeDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "CopyrightWarning"
+ {
+ "Name" = "8:CopyrightWarning"
+ "DisplayName" = "8:#1002"
+ "Description" = "8:#1102"
+ "Type" = "3:3"
+ "ContextData" = "8:"
+ "Attributes" = "3:0"
+ "Setting" = "3:1"
+ "Value" = "8:#1202"
+ "DefaultValue" = "8:#1202"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "Welcome"
+ {
+ "Name" = "8:Welcome"
+ "DisplayName" = "8:#1003"
+ "Description" = "8:#1103"
+ "Type" = "3:3"
+ "ContextData" = "8:"
+ "Attributes" = "3:0"
+ "Setting" = "3:1"
+ "Value" = "8:#1203"
+ "DefaultValue" = "8:#1203"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ "{8D9DEE8B-DD8B-4F48-9072-C4364E4F4011}:_D7F2EFA6C11A4BAFAE1DEE1CA6712C53"
+ {
+ "Name" = "8:#1901"
+ "Sequence" = "3:2"
+ "Attributes" = "3:2"
+ "Dialogs"
+ {
+ "{18ADD6EC-89FE-4ED7-AD3E-211C40278470}:_537E0C7364C945428D25E6BDD0F9F5C4"
+ {
+ "Sequence" = "3:100"
+ "DisplayName" = "8:Progress"
+ "UseDynamicProperties" = "11:TRUE"
+ "IsDependency" = "11:FALSE"
+ "SourcePath" = "8:<VsdDialogDir>\\VsdAdminProgressDlg.wid"
+ "Properties"
+ {
+ "BannerBitmap"
+ {
+ "Name" = "8:BannerBitmap"
+ "DisplayName" = "8:#1001"
+ "Description" = "8:#1101"
+ "Type" = "3:8"
+ "ContextData" = "8:Bitmap"
+ "Attributes" = "3:4"
+ "Setting" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ "ShowProgress"
+ {
+ "Name" = "8:ShowProgress"
+ "DisplayName" = "8:#1009"
+ "Description" = "8:#1109"
+ "Type" = "3:5"
+ "ContextData" = "8:1;True=1;False=0"
+ "Attributes" = "3:0"
+ "Setting" = "3:0"
+ "Value" = "3:1"
+ "DefaultValue" = "3:1"
+ "UsePlugInResources" = "11:TRUE"
+ }
+ }
+ }
+ }
+ }
+ }
+ "MergeModule"
+ {
+ }
+ "ProjectOutput"
+ {
+ "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_9BF479E16E8E489CA7D9F11A166F5612"
+ {
+ "SourcePath" = "8:..\\..\\src\\tools\\OOOggDump\\Debug\\OOOggDump.exe"
+ "TargetName" = "8:"
+ "Tag" = "8:"
+ "Folder" = "8:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ "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:{73D3CA81-3BDC-42F1-8456-76224F6B337C}"
+ "ShowKeyOutput" = "11:TRUE"
+ "ExcludeFilters"
+ {
+ }
+ }
+ "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_9EB1B54CEB1D40979ADA34E55D07BB22"
+ {
+ "SourcePath" = "8:..\\..\\src\\lib\\core\\ogg\\libOOOgg\\Debug\\libOOOgg.dll"
+ "TargetName" = "8:"
+ "Tag" = "8:"
+ "Folder" = "8:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ "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:{223ACC19-608E-4E1B-A054-067F0CACB272}"
+ "ShowKeyOutput" = "11:TRUE"
+ "ExcludeFilters"
+ {
+ }
+ }
+ "{8062640A-2EEE-46E9-AB67-688E9A886E9F}:_DFF78663650B4CF0A485185D63D04FB5"
+ {
+ "SourcePath" = "8:..\\..\\src\\tools\\OOOggStat\\Debug\\OOOggStat.exe"
+ "TargetName" = "8:"
+ "Tag" = "8:"
+ "Folder" = "8:_ADE7E20E4D77439FB3A1B61B3F803F3B"
+ "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:{48CFEC13-E2BC-412F-8ECA-29090C7193B6}"
+ "ShowKeyOutput" = "11:TRUE"
+ "ExcludeFilters"
+ {
+ }
+ }
+ }
+ "VJSharpPlugin"
+ {
+ }
+ }
+}
Modified: trunk/oggdsf/sln/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.sln
===================================================================
--- trunk/oggdsf/sln/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.sln 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/sln/libOOOggWithToolsAndTests/libOOOggWithToolsAndTests.sln 2004-07-25 17:06:44 UTC (rev 7331)
@@ -5,12 +5,22 @@
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggDump", "..\..\src\tools\OOOggDump\OOOggDump.vcproj", "{73D3CA81-3BDC-42F1-8456-76224F6B337C}"
ProjectSection(ProjectDependencies) = postProject
+ {223ACC19-608E-4E1B-A054-067F0CACB272} = {223ACC19-608E-4E1B-A054-067F0CACB272}
EndProjectSection
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggStat", "..\..\src\tools\OOOggStat\OOOggStat.vcproj", "{48CFEC13-E2BC-412F-8ECA-29090C7193B6}"
ProjectSection(ProjectDependencies) = postProject
+ {223ACC19-608E-4E1B-A054-067F0CACB272} = {223ACC19-608E-4E1B-A054-067F0CACB272}
EndProjectSection
EndProject
+Project("{54435603-DBB4-11D2-8724-00A0C9A8B90C}") = "libOOOggWithToolsAndTests", "..\..\build\libOOOggWithToolsAndTests\libOOOggWithToolsAndTests.vdproj", "{248C8D06-A9FF-4C27-AD04-B5A21AD470EB}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "OOOggValidate", "..\..\src\tools\OOOggValidate\OOOggValidate.vcproj", "{B5BF942B-4864-414C-9855-65E5CC923401}"
+ ProjectSection(ProjectDependencies) = postProject
+ EndProjectSection
+EndProject
Global
GlobalSection(SolutionConfiguration) = preSolution
Debug = Debug
@@ -29,6 +39,12 @@
{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Debug.Build.0 = Debug|Win32
{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release.ActiveCfg = Release|Win32
{48CFEC13-E2BC-412F-8ECA-29090C7193B6}.Release.Build.0 = Release|Win32
+ {248C8D06-A9FF-4C27-AD04-B5A21AD470EB}.Debug.ActiveCfg = Debug
+ {248C8D06-A9FF-4C27-AD04-B5A21AD470EB}.Release.ActiveCfg = Release
+ {B5BF942B-4864-414C-9855-65E5CC923401}.Debug.ActiveCfg = Debug|Win32
+ {B5BF942B-4864-414C-9855-65E5CC923401}.Debug.Build.0 = Debug|Win32
+ {B5BF942B-4864-414C-9855-65E5CC923401}.Release.ActiveCfg = Release|Win32
+ {B5BF942B-4864-414C-9855-65E5CC923401}.Release.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
EndGlobalSection
Modified: trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggDump/OOOggDump.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -67,7 +67,7 @@
}
-int _tmain(int argc, _TCHAR* argv[])
+int __cdecl _tmain(int argc, _TCHAR* argv[])
{
@@ -96,7 +96,6 @@
delete locBuff;
}
-
return 0;
}
Modified: trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggStat/OOOggStat.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -92,7 +92,7 @@
}
-int _tmain(int argc, _TCHAR* argv[])
+int __cdecl _tmain(int argc, _TCHAR* argv[])
{
Added: trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,171 @@
+// OOOggValidate.cpp : Defines the entry point for the console application.
+//
+
+#include "stdafx.h"
+#include "OggValidationState.h"
+#include "libOOOgg.h"
+enum eOggValidationErrors {
+ OVE_OK,
+ OVE_STRUCTURE_VERSION_NOT_ZERO,
+
+};
+
+OggValidationState gValidationState;
+void error_write(eOggValidationErrors inErrNo, OggPage* inOggPage, OggStreamValidationState* inStreamState) {
+
+ string locErrorString = "";
+ switch (inErrNo) {
+ case OVE_OK:
+ //Do nothing
+ return;
+ break;
+ case OVE_STRUCTURE_VERSION_NOT_ZERO:
+ locErrorString = "Structure version("<<(int)inOggPage->header()->StructureVersion()<<") is not 0, (RFC 3533 Sec. 6.1)";
+ inStreamState->mErrorCount++;
+ break;
+ case OVE_MORE_THEN_ONE_BOS:
+ locErrorString = "More than one BOS page in stream.";
+ inStreamState->mErrorCount++;
+ break;
+ case OVE_MORE_THEN_ONE_EOS:
+ locErrorString = "More than one EOS page in stream.";
+ break;
+ case OVE_BOS_PAGE_NOT_AT_START:
+ locErrorString = "BOS found not as first page in stream.";
+ break;
+ case OVE_EOS_BEFORE_BOS:
+ locErrorString - "EOS page found before BOS page";
+ break;
+
+ }
+
+ cout << "ERROR "<<(int)inErrNo<<": "<<locErrorString<<endl;
+
+}
+
+bool pageCB(OggPage* inOggPage) {
+ //Validate the page header
+
+ OggStreamValidationState* locStreamState = gValidationState.getStreamBySerialNo(inOggPage->header()->StreamSerialNo());
+
+ if (locStreamState == NULL) {
+ locStreamState = new OggStreamValidationState;
+ }
+
+ OggPageHeader* locHeader = inOggPage->header();
+
+ bool isValid = true;
+
+ //----------------------------------------------------------------------
+ //Verify structure version is 0 (RFC 3533 Sec. 6.1)
+ if (locHeader->StructureVersion() != 0) {
+ error_write(OVE_STRUCTURE_VERSION_NOT_ZERO, inOggPage);
+ isValid = false;
+ }
+ //----------------------------------------------------------------------
+ //Verify BOS integrity.
+
+ if (locHeader->isBOS()) {
+ //Check is BOS is first page in stream
+ if (locStreamState->mSeenAnything == true) {
+ error_write(OVE_BOS_PAGE_NOT_AT_START, locStreamState);
+ isValid = false;
+ }
+ //Check if this is the second or more BOS page.
+ if (locStreamState->mSeenBOS) {
+ error_write(OVE_MORE_THEN_ONE_BOS, locStreamState);
+ isValid = false;
+ }
+
+ locStreamState->mSeenBOS = true;
+
+ }
+
+ //----------------------------------------------------------------------
+ //Verify EOS integrity
+ if (locHeader->isEOS()) {
+ //Check is BOS has been seen before this EOS
+ if (locStreamState->mSeenBOS == false) {
+ error_write(OVE_EOS_BEFORE_BOS, locStreamState);
+ isValid = false;
+ }
+ //Check if this is the second or more BOS page.
+ if (locStreamState->mSeenEOS) {
+ error_write(OVE_MORE_THEN_ONE_EOS, locStreamState);
+ isValid = false;
+ }
+
+ locStreamState->mSeenEOS = true;
+ }
+
+ //----------------------------------------------------------------------
+ //Verify Granule pos
+ if (locHeader->GranulePos() != -1) {
+ //Check if the granule pos decreased.
+ if (locHeader->GranulePos() < locStreamState->mGranulePosUpto) {
+ error_write(OVE_GRANULE_POS_DECREASED, locStreamState);
+ isValid = false;
+ }
+
+
+ locStreamState->mGranulePosUpto = locHeader->GranulePos();
+
+ } else {
+ //No packets end here
+ }
+
+
+ //----------------------------------------------------------------------
+
+ //Verify sequence No
+ if (locHeader->PageSequenceNo() == locStreamState->mSequenceNoUpto) {
+ error_write(OVE_SEQUENCE_NO_REPEATED, locStreamState);
+ isValid = false;
+ } else if (locHeader->PageSequenceNo() < locStreamState->mSequenceNoUpto) {
+ error_write(OVE_SEQUENCE_NO_DECREASED, locStreamState);
+ isValid = false;
+ } else {
+ locStreamState->mSequenceNoUpto = locHeader->PageSequenceNo();
+ }
+ //----------------------------------------------------------------------
+
+ //----------------------------------------------------------------------
+ //----------------------------------------------------------------------
+ //----------------------------------------------------------------------
+
+
+ return isValid;;
+}
+
+
+int __cdecl _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 :: OOOggValidate <OggFile>
+ //
+ bytePos = 0;
+ if (argc < 2) {
+ cout<<"Usage : OOOggValidate <filename>"<<endl;
+ } else {
+ 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/OOOggValidate/OOOggValidate.vcproj
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.vcproj 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OOOggValidate.vcproj 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,167 @@
+<?xml version="1.0" encoding="Windows-1252"?>
+<VisualStudioProject
+ ProjectType="Visual C++"
+ Version="7.10"
+ Name="OOOggValidate"
+ ProjectGUID="{B5BF942B-4864-414C-9855-65E5CC923401}"
+ 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"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/OOOggValidate.exe"
+ LinkIncremental="2"
+ GenerateDebugInformation="TRUE"
+ ProgramDatabaseFile="$(OutDir)/OOOggValidate.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"/>
+ <Tool
+ Name="VCCustomBuildTool"/>
+ <Tool
+ Name="VCLinkerTool"
+ OutputFile="$(OutDir)/OOOggValidate.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=".\OggStreamValidationState.cpp">
+ </File>
+ <File
+ RelativePath=".\OggValidationState.cpp">
+ </File>
+ <File
+ RelativePath=".\OOOggValidate.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=".\OggStreamValidationState.h">
+ </File>
+ <File
+ RelativePath=".\OggValidationState.h">
+ </File>
+ <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/OOOggValidate/OggStreamValidationState.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,18 @@
+#include "StdAfx.h"
+#include ".\oggstreamvalidationstate.h"
+
+OggStreamValidationState::OggStreamValidationState(void)
+ : mSerialNo(0)
+ , mGranulePosUpto(0)
+ , mSequenceNoUpto(0)
+ , mSeenBOS(false)
+ , mSeenEOS(false)
+ , mSeenAnything(false)
+ , mErrorCount(0)
+ , mWarningCount(0)
+{
+}
+
+OggStreamValidationState::~OggStreamValidationState(void)
+{
+}
Added: trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.h 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OggStreamValidationState.h 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,20 @@
+#pragma once
+
+class OggStreamValidationState
+{
+public:
+ OggStreamValidationState(void);
+ ~OggStreamValidationState(void);
+
+ unsigned long mSerialNo;
+ __int64 mGranulePosUpto;
+ unsigned long mSequenceNoUpto;
+
+ bool mSeenAnything;
+ unsigned long mSeenBOS;
+ unsigned long mSeenEOS;
+
+ unsigned long mErrorCount;
+ unsigned long mWarningCount;
+
+};
Added: trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,35 @@
+#include "StdAfx.h"
+#include ".\oggvalidationstate.h"
+
+OggValidationState::OggValidationState(void)
+
+{
+}
+
+OggValidationState::~OggValidationState(void)
+{
+}
+
+
+OggStreamValidationState* OggValidationState::getStreamBySerialNo(unsigned long inSerialNo) {
+ for (size_t i = 0; i < mStreams.size(); i++) {
+ if (mStreams[i]->mSerialNo == inSerialNo) {
+ return mStreams[i];
+ }
+ }
+ return NULL;
+}
+unsigned long OggValidationState::numStreams() {
+ return mStreams.size();
+}
+
+OggStreamValidationState* OggValidationState::getStream(unsigned long inIndex) {
+ //gets the indexed string from the vector
+
+ if (inIndex < mStreams.size()) {
+ return mStreams[inIndex];
+ } else {
+ return NULL;
+ }
+
+}
\ No newline at end of file
Added: trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.h 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/OggValidationState.h 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,16 @@
+#pragma once
+#include <vector>
+using namespace std;
+class OggValidationState
+{
+public:
+ OggValidationState(void);
+ ~OggValidationState(void);
+
+ OggStreamValidationState* getStream(unsigned long inIndex);
+ OggStreamValidationState* getStreamBySerialNo(unsigned long inSerialNo);
+ unsigned long numStreams();
+ vector<OggStreamValidationState*> mStreams;
+protected:
+
+};
Added: trunk/oggdsf/src/tools/OOOggValidate/ReadMe.txt
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/ReadMe.txt 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/ReadMe.txt 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,32 @@
+========================================================================
+ CONSOLE APPLICATION : OOOggValidate Project Overview
+========================================================================
+
+AppWizard has created this OOOggValidate application for you.
+This file contains a summary of what you will find in each of the files that
+make up your OOOggValidate application.
+
+
+OOOggValidate.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.
+
+OOOggValidate.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 OOOggValidate.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/OOOggValidate/stdafx.cpp
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/stdafx.cpp 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/stdafx.cpp 2004-07-25 17:06:44 UTC (rev 7331)
@@ -0,0 +1,8 @@
+// stdafx.cpp : source file that includes just the standard includes
+// OOOggValidate.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/OOOggValidate/stdafx.h
===================================================================
--- trunk/oggdsf/src/tools/OOOggValidate/stdafx.h 2004-07-25 17:00:38 UTC (rev 7330)
+++ trunk/oggdsf/src/tools/OOOggValidate/stdafx.h 2004-07-25 17:06:44 UTC (rev 7331)
@@ -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