diff options
author | Paul Gilbert | 2010-08-30 07:48:27 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2010-10-12 23:20:33 +0000 |
commit | cb95db7cc04a5a3d14f408835cd371e0a0abd4ed (patch) | |
tree | 0022ad1ca99c0fb5b623d612285e12fde2bc2434 /engines/sword25/fmv/oggtheora/oggstate.h | |
parent | ffce890f66bc34b356c8df89591bc4f56e5a9e4e (diff) | |
download | scummvm-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/oggstate.h')
-rw-r--r-- | engines/sword25/fmv/oggtheora/oggstate.h | 36 |
1 files changed, 17 insertions, 19 deletions
diff --git a/engines/sword25/fmv/oggtheora/oggstate.h b/engines/sword25/fmv/oggtheora/oggstate.h index 1c25ca5e3a..7df178b681 100644 --- a/engines/sword25/fmv/oggtheora/oggstate.h +++ b/engines/sword25/fmv/oggtheora/oggstate.h @@ -40,39 +40,37 @@ // ----------------------------------------------------------------------------- #include "sword25/kernel/common.h" -#include "ogg/ogg.h" -// XXX -#include <iostream> -// XXX +#include <ogg/ogg.h> + +namespace Sword25 { // ----------------------------------------------------------------------------- -// Klassendefinition +// Class definitions // ----------------------------------------------------------------------------- -class BS_OggState -{ +class OggState { public: - BS_OggState(); - virtual ~BS_OggState(); + OggState(); + virtual ~OggState(); - int SyncPageout(ogg_page * OggPage); + int SyncPageout(ogg_page *OggPage); char * SyncBuffer(long Size); int SyncWrote(long Bytes); // XXX - void DumpInternals() - { - std::cout << "bodybytes: " << m_SyncState.bodybytes << std::endl; - std::cout << "fill: " << m_SyncState.fill << std::endl; - std::cout << "headerbytes: " << m_SyncState.headerbytes << std::endl; - std::cout << "returned: " << m_SyncState.returned << std::endl; - std::cout << "storage: " << m_SyncState.storage << std::endl; - std::cout << "unsynched: " << m_SyncState.unsynced << std::endl; - std::cout << std::endl; + void DumpInternals() { + warning("bodybytes: %d", m_SyncState.bodybytes); + warning("fill: %d", m_SyncState.fill); + warning("headerbytes: %d", m_SyncState.headerbytes ); + warning("returned: %d", m_SyncState.returned ); + warning("storage: %d", m_SyncState.storage ); + warning("unsynched: %d", m_SyncState.unsynced ); } // XXX private: ogg_sync_state m_SyncState; }; +} // End of namespace Sword25 + #endif |