From cb95db7cc04a5a3d14f408835cd371e0a0abd4ed Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 30 Aug 2010 07:48:27 +0000 Subject: SWORD25: Commit of in-progress MoviePlayer code Frames aren't being corrected decoded yet; still trying to locate the cause svn-id: r53295 --- engines/sword25/fmv/oggtheora/theorastate.h | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'engines/sword25/fmv/oggtheora/theorastate.h') diff --git a/engines/sword25/fmv/oggtheora/theorastate.h b/engines/sword25/fmv/oggtheora/theorastate.h index 07934c26ea..967ca259ad 100644 --- a/engines/sword25/fmv/oggtheora/theorastate.h +++ b/engines/sword25/fmv/oggtheora/theorastate.h @@ -42,20 +42,21 @@ #include "sword25/kernel/common.h" #include +namespace Sword25 { + // ----------------------------------------------------------------------------- -// Klassendefinition +// Class definitions // ----------------------------------------------------------------------------- -class BS_TheoraState -{ +class TheoraState { public: - BS_TheoraState(); - virtual ~BS_TheoraState(); + TheoraState(); + virtual ~TheoraState(); - int DecodeHeader(ogg_packet * OggPacketPtr); + int DecodeHeader(ogg_packet *OggPacketPtr); int DecodeInit(); - int DecodePacketIn(ogg_packet * OggPacketPtr); - int DecodeYUVOut(yuv_buffer * YUV); + int DecodePacketIn(ogg_packet *OggPacketPtr); + int DecodeYUVOut(yuv_buffer *YUV); double GranuleTime(); const theora_info & GetInfo() const { return m_Info; } @@ -67,4 +68,6 @@ private: theora_state m_State; }; +} // End of namespace Sword25 + #endif -- cgit v1.2.3