aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/codecs/codec.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-05-18 14:17:24 +0000
committerMatthew Hoops2010-05-18 14:17:24 +0000
commit11cbdd03180a655b2b23ee4a13f1a00a1d782b3c (patch)
tree5b0d84211308ea37a2fa2f7017d6f96314f3c6fb /graphics/video/codecs/codec.h
parentf3892a506b2f935bae0be6319394c503c786d368 (diff)
downloadscummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.tar.gz
scummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.tar.bz2
scummvm-rg350-11cbdd03180a655b2b23ee4a13f1a00a1d782b3c.zip
Committing the rest of the VideoDecoder Rewrite from patch #2963496.
svn-id: r49079
Diffstat (limited to 'graphics/video/codecs/codec.h')
-rw-r--r--graphics/video/codecs/codec.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/graphics/video/codecs/codec.h b/graphics/video/codecs/codec.h
index 124d1bc49d..4a280a81df 100644
--- a/graphics/video/codecs/codec.h
+++ b/graphics/video/codecs/codec.h
@@ -28,6 +28,7 @@
#include "common/stream.h"
#include "graphics/surface.h"
+#include "graphics/pixelformat.h"
namespace Graphics {
@@ -35,7 +36,9 @@ class Codec {
public:
Codec() {}
virtual ~Codec() {}
+
virtual Surface *decodeImage(Common::SeekableReadStream *stream) = 0;
+ virtual PixelFormat getPixelFormat() const = 0;
};
} // End of namespace Graphics