diff options
author | Sven Hesse | 2010-08-08 00:42:30 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 00:42:30 +0000 |
commit | 6172fe8ea7cf8046e5048e56a512ad0f847ac324 (patch) | |
tree | 207e7c5e3d83a77b548d3ff591f4f504807be203 /graphics/video/coktel_decoder.h | |
parent | f19be90c37c3aa402ea7efdc0fc02595fe68a122 (diff) | |
download | scummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.tar.gz scummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.tar.bz2 scummvm-rg350-6172fe8ea7cf8046e5048e56a512ad0f847ac324.zip |
VIDEO/GOB: Implement IMD frame decoding
Rendering the frame video data is still stubbed out.
svn-id: r51866
Diffstat (limited to 'graphics/video/coktel_decoder.h')
-rw-r--r-- | graphics/video/coktel_decoder.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h index f4da9624bd..1736132cf4 100644 --- a/graphics/video/coktel_decoder.h +++ b/graphics/video/coktel_decoder.h @@ -159,6 +159,8 @@ protected: void createSurface(); void freeSurface(); + inline void unsignedToSigned(byte *buffer, int length); + // FixedRateVideoDecoder interface Common::Rational getFrameRate() const; }; @@ -273,7 +275,15 @@ private: bool loadFrameTables(uint32 framePosPos, uint32 frameCoordsPos); void processFrame(); + + void calcFrameCoords(uint32 frame); + + void videoData(uint32 size); void renderFrame(); + + void nextSoundSlice(bool hasNextCmd); + bool initialSoundSlice(bool hasNextCmd); + void emptySoundSlice(bool hasNextCmd); }; } // End of namespace Graphics |