aboutsummaryrefslogtreecommitdiff
path: root/graphics/dxa_player.h
diff options
context:
space:
mode:
authorEugene Sandulenko2007-10-31 21:37:40 +0000
committerEugene Sandulenko2007-10-31 21:37:40 +0000
commit3318c4b47487674aaf19bec9f9db9ac36e1cae96 (patch)
treeb45b45a178742b2d0315aea6d1e9c86151160faf /graphics/dxa_player.h
parent39da7deefb0b55412d871165c563d0a11dcfe61f (diff)
downloadscummvm-rg350-3318c4b47487674aaf19bec9f9db9ac36e1cae96.tar.gz
scummvm-rg350-3318c4b47487674aaf19bec9f9db9ac36e1cae96.tar.bz2
scummvm-rg350-3318c4b47487674aaf19bec9f9db9ac36e1cae96.zip
Slighly modified patch #1709219: "DXA Player: double size scaling option"
svn-id: r29347
Diffstat (limited to 'graphics/dxa_player.h')
-rw-r--r--graphics/dxa_player.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/dxa_player.h b/graphics/dxa_player.h
index 5415e440d2..d1d6d78c97 100644
--- a/graphics/dxa_player.h
+++ b/graphics/dxa_player.h
@@ -47,6 +47,7 @@ protected:
byte *_frameBuffer2;
byte *_scaledBuffer;
byte *_drawBuffer;
+ byte *_scaledBuffer2;
byte *_inBuffer;
uint32 _inBufferSize;
byte *_decompBuffer;
@@ -60,6 +61,7 @@ protected:
uint16 _frameSkipped;
uint32 _frameTicks;
ScaleMode _scaleMode;
+ uint32 _scaling;
public:
DXAPlayer();
@@ -98,6 +100,14 @@ public:
bool loadFile(const char *filename);
/**
+ * Load a DXA encoded video file and setup scaling if required
+ * @param filename the filename to load
+ * @param maxWidth the maximum width available to the film
+ * @param maxHeight the maximum height available to the film
+ */
+ bool loadFile(const char *filename, uint16 maxWidth, uint16 maxHeight);
+
+ /**
* Close a DXA encoded video file
*/
void closeFile();