[xiph-commits] r10247 - branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sat Oct 22 06:38:35 PDT 2005


Author: illiminable
Date: 2005-10-22 06:38:30 -0700 (Sat, 22 Oct 2005)
New Revision: 10247

Added:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/IOggDecoder.h
Modified:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/dsfOggDemux2.vcproj
Log:
* New interface for all decode filters

Added: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/IOggDecoder.h
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/IOggDecoder.h	2005-10-22 08:54:25 UTC (rev 10246)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/IOggDecoder.h	2005-10-22 13:38:30 UTC (rev 10247)
@@ -0,0 +1,18 @@
+#pragma once
+class IOggDecoder 
+{
+public:
+	enum eAcceptHeaderResult {
+		AHR_ALL_HEADERS_RECEIVED,
+		AHR_MORE_HEADERS_TO_COME,
+		AHR_INVALID_HEADER,
+		AHR_UNEXPECTED,
+		AHR_NULL_POINTER,
+
+	};
+	virtual LOOG_INT64 convertGranuleToTime(LOOG_INT64 inGranule) = 0;
+	virtual eAcceptHeaderResult acceptHeaderPage(OggPage* inOggHeaderPage) = 0;
+	virtual string getCodecShortName() = 0;
+	virtual string getCodecIdentString() = 0;
+	
+};
\ No newline at end of file

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/dsfOggDemux2.vcproj
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/dsfOggDemux2.vcproj	2005-10-22 08:54:25 UTC (rev 10246)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/dsfOggDemux2.vcproj	2005-10-22 13:38:30 UTC (rev 10247)
@@ -161,6 +161,9 @@
 				RelativePath=".\ds_guids.h">
 			</File>
 			<File
+				RelativePath=".\IOggDecoder.h">
+			</File>
+			<File
 				RelativePath=".\OggDemuxPageSourceFilter.h">
 			</File>
 			<File



More information about the commits mailing list