ScummVM API documentation
codec37.h
1
/* ScummVM - Graphic Adventure Engine
2
*
3
* ScummVM is the legal property of its developers, whose names
4
* are too numerous to list here. Please refer to the COPYRIGHT
5
* file distributed with this source distribution.
6
*
7
* This program is free software: you can redistribute it and/or modify
8
* it under the terms of the GNU General Public License as published by
9
* the Free Software Foundation, either version 3 of the License, or
10
* (at your option) any later version.
11
*
12
* This program is distributed in the hope that it will be useful,
13
* but WITHOUT ANY WARRANTY; without even the implied warranty of
14
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15
* GNU General Public License for more details.
16
*
17
* You should have received a copy of the GNU General Public License
18
* along with this program. If not, see <http://www.gnu.org/licenses/>.
19
*
20
*/
21
22
#ifndef SCUMM_SMUSH_CODEC37_H
23
#define SCUMM_SMUSH_CODEC37_H
24
25
#include "common/scummsys.h"
26
27
namespace
Scumm
{
28
29
class
SmushDeltaBlocksDecoder
{
30
private
:
31
32
int32 _deltaSize;
33
byte *_deltaBufs[2];
34
byte *_deltaBuf;
35
int16 *_offsetTable;
36
int
_curTable;
37
uint16 _prevSeqNb;
38
int
_tableLastPitch;
39
int
_tableLastIndex;
40
int32 _frameSize;
41
int
_width, _height;
42
43
public
:
44
SmushDeltaBlocksDecoder
(
int
width,
int
height);
45
~
SmushDeltaBlocksDecoder
();
46
protected
:
47
void
makeTable(
int
,
int
);
48
void
proc1(byte *dst,
const
byte *src, int32,
int
,
int
,
int
, int16 *);
49
void
proc3WithFDFE(byte *dst,
const
byte *src, int32,
int
,
int
,
int
, int16 *);
50
void
proc3WithoutFDFE(byte *dst,
const
byte *src, int32,
int
,
int
,
int
, int16 *);
51
void
proc4WithFDFE(byte *dst,
const
byte *src, int32,
int
,
int
,
int
, int16 *);
52
void
proc4WithoutFDFE(byte *dst,
const
byte *src, int32,
int
,
int
,
int
, int16 *);
53
public
:
54
void
decode(byte *dst,
const
byte *src);
55
};
56
57
}
// End of namespace Scumm
58
59
#endif
Scumm::SmushDeltaBlocksDecoder
Definition:
codec37.h:29
Scumm
Definition:
actor.h:30
engines
scumm
smush
codec37.h
Generated on Sun Dec 22 2024 09:18:41 for ScummVM API documentation by
1.8.13