Commit Graph

14 Commits

Author SHA1 Message Date
Max Horn
73c3625f1f Fixing various doxygen warnings
svn-id: r25362
2007-02-03 21:37:52 +00:00
Travis Howell
afcfc95e8a Always reset _scaledBuffer to zero when playing video, to prevent double free.
svn-id: r24962
2007-01-01 04:58:25 +00:00
Travis Howell
534a2fd5d7 Change position of scale code, Scale code shouldn't have been FRAM specific
svn-id: r24871
2006-12-18 07:51:02 +00:00
Torbjörn Andersson
0d65cb4260 Check _scaleMode when decoding a NULL frame. Otherwise we will draw the
unscaled frame when playing a scaled movie. (The Broken Sword 1 intro is a
good example of this since it is scaled and uses NULL frames early on.)

svn-id: r24870
2006-12-18 07:24:36 +00:00
Eugene Sandulenko
d99760549a Fix regression. It crashed with orignial DXA files.
svn-id: r24856
2006-12-15 14:36:04 +00:00
Travis Howell
488873353b Only allocate _scaleBuffer when required.
svn-id: r24847
2006-12-14 05:32:16 +00:00
Torbjörn Andersson
45886ec8ed When drawing an interlaced frame, only clear every other line instead of the
entire buffer.

Introduced a _drawBuffer pointer which points either to _scaledBuffer or
_frameBuffer1. That way, we don't need to copy _frameBuffer1 every time we
draw an unscaled frame. (Probably the most common case by far.)

Adjusted the Broken Sword 1 DXA player for the second change. (It sneakily
avoids copying each frame by using _drawBuffer directly.)

svn-id: r24846
2006-12-14 05:21:19 +00:00
Travis Howell
42228fdc36 Add cyx's patch for endian issues in DXA player
svn-id: r24844
2006-12-11 22:48:57 +00:00
Travis Howell
a4b835838d Whitespace changes
svn-id: r24843
2006-12-11 22:35:50 +00:00
Travis Howell
1ba6947440 Adjust DXA scaling code for Broken Sword 1
svn-id: r24841
2006-12-11 09:26:54 +00:00
Travis Howell
983954821c Fix typo in initial _scaleBuffer check
svn-id: r24840
2006-12-11 08:31:32 +00:00
Travis Howell
b00e143d74 Add patch #1611503 - DXA: Improved encoder (filesize and speed)
svn-id: r24838
2006-12-11 06:53:46 +00:00
Travis Howell
1c19735226 Add patch #1504492 - DXA: New compression scheme
svn-id: r23333
2006-06-28 14:10:07 +00:00
Travis Howell
dd57c57982 Add eriktorbjorn's patch for DXA unification, with more changes
svn-id: r23332
2006-06-28 14:06:54 +00:00