aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/fmv/oggtheora/theorastate.h
diff options
context:
space:
mode:
authorPaul Gilbert2010-08-30 07:48:27 +0000
committerEugene Sandulenko2010-10-12 23:20:33 +0000
commitcb95db7cc04a5a3d14f408835cd371e0a0abd4ed (patch)
tree0022ad1ca99c0fb5b623d612285e12fde2bc2434 /engines/sword25/fmv/oggtheora/theorastate.h
parentffce890f66bc34b356c8df89591bc4f56e5a9e4e (diff)
downloadscummvm-rg350-cb95db7cc04a5a3d14f408835cd371e0a0abd4ed.tar.gz
scummvm-rg350-cb95db7cc04a5a3d14f408835cd371e0a0abd4ed.tar.bz2
scummvm-rg350-cb95db7cc04a5a3d14f408835cd371e0a0abd4ed.zip
SWORD25: Commit of in-progress MoviePlayer code
Frames aren't being corrected decoded yet; still trying to locate the cause svn-id: r53295
Diffstat (limited to 'engines/sword25/fmv/oggtheora/theorastate.h')
-rw-r--r--engines/sword25/fmv/oggtheora/theorastate.h19
1 files changed, 11 insertions, 8 deletions
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 <theora/theora.h>
+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