[xiph-commits] r8653 - in trunk/oggdsf/src/lib/codecs/theora/libs: libOOTheora libtheora/win32/libtheora

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Fri Jan 7 06:10:16 PST 2005


Author: illiminable
Date: 2005-01-07 06:10:16 -0800 (Fri, 07 Jan 2005)
New Revision: 8653

Modified:
   trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/TheoraDecoder.h
   trunk/oggdsf/src/lib/codecs/theora/libs/libtheora/win32/libtheora/libtheora.vcproj
Log:
* Add some function docs to ootheoradecoder
* Ignore 100+ warnings of types 4244; 4267; 4701; 4100; 4702 in libtheora.

Modified: trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/TheoraDecoder.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/TheoraDecoder.h	2005-01-07 13:54:08 UTC (rev 8652)
+++ trunk/oggdsf/src/lib/codecs/theora/libs/libOOTheora/TheoraDecoder.h	2005-01-07 14:10:16 UTC (rev 8653)
@@ -48,16 +48,21 @@
 	//bool resetPackCount();
 	//bool clearAll();
 
+	/// Decode a theora packet returning a yuv_buffer struct. Now owns your packet.
 	yuv_buffer* decodeTheora(StampedOggPacket* inPacket);
 
+	/// Returns true if the packet is a keyframe.
 	bool isKeyFrame(StampedOggPacket* inPacket);
 
 	theora_info mTheoraInfo;
 protected:
 
+	/// Moves the pointers around to make it look like a xiph ogg packet.
 	ogg_packet* simulateOldOggPacket(StampedOggPacket* inPacket);
 
+	/// Decodes a header packet and adjusts the internal state based on it.
 	bool decodeHeader(StampedOggPacket* inHeaderPacket);
+
 	//theora_info mTheoraInfo;
 	theora_comment mTheoraComment;
 	theora_state mTheoraState;

Modified: trunk/oggdsf/src/lib/codecs/theora/libs/libtheora/win32/libtheora/libtheora.vcproj
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/libs/libtheora/win32/libtheora/libtheora.vcproj	2005-01-07 13:54:08 UTC (rev 8652)
+++ trunk/oggdsf/src/lib/codecs/theora/libs/libtheora/win32/libtheora/libtheora.vcproj	2005-01-07 14:10:16 UTC (rev 8653)
@@ -28,7 +28,9 @@
 				WarningLevel="4"
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="4"
-				CallingConvention="0"/>
+				CallingConvention="0"
+				CompileAs="1"
+				DisableSpecificWarnings="4244; 4267; 4701; 4100; 4702"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -78,7 +80,8 @@
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="0"
 				CallingConvention="0"
-				DisableSpecificWarnings="4244; 4267"/>
+				CompileAs="1"
+				DisableSpecificWarnings="4244; 4267; 4701; 4100; 4702"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -129,7 +132,8 @@
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="0"
 				CallingConvention="0"
-				DisableSpecificWarnings="4244; 4267"/>
+				CompileAs="1"
+				DisableSpecificWarnings="4244; 4267; 4701; 4100; 4702"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool
@@ -180,7 +184,8 @@
 				Detect64BitPortabilityProblems="TRUE"
 				DebugInformationFormat="0"
 				CallingConvention="0"
-				DisableSpecificWarnings="4244; 4267"/>
+				CompileAs="1"
+				DisableSpecificWarnings="4244; 4267; 4701; 4100; 4702"/>
 			<Tool
 				Name="VCCustomBuildTool"/>
 			<Tool



More information about the commits mailing list