ScummVM API documentation
BladeRunner::VQADecoder Class Reference

Classes

struct  CodebookInfo
 
struct  Header
 
struct  Loop
 
struct  LoopInfo
 
class  VQAAudioTrack
 
class  VQAVideoTrack
 

Public Member Functions

bool loadStream (Common::SeekableReadStream *s)
 
void readFrame (int frame, uint readFlags=kVQAReadAll)
 
void decodeVideoFrame (Graphics::Surface *surface, int frame, bool forceDraw=false)
 
void decodeZBuffer (ZBuffer *zbuffer)
 
Audio::SeekableAudioStreamdecodeAudioFrame ()
 
void decodeView (View *view)
 
void decodeScreenEffects (ScreenEffects *aesc)
 
void decodeLights (Lights *lights)
 
uint16 numFrames () const
 
uint8 frameRate () const
 
uint16 offsetX () const
 
uint16 offsetY () const
 
void overrideOffsetXY (uint16 offX, uint16 offY)
 
bool hasAudio () const
 
uint16 frequency () const
 
bool getLoopBeginAndEndFrame (int loopId, int *begin, int *end)
 
int getLoopIdFromFrame (int frame)
 
void allocatePaletteVQPTable (const uint32 numOfPalettes)
 
void updatePaletteVQPTable (uint32 palId, uint16 j, uint16 k, uint8 colorByte)
 
void deleteVQPTable ()
 
void readPacket (uint readFlags)
 
bool readVQHD (Common::SeekableReadStream *s, uint32 size)
 
bool readMSCI (Common::SeekableReadStream *s, uint32 size)
 
bool readMFCI (Common::SeekableReadStream *s, uint32 size)
 
bool readLINF (Common::SeekableReadStream *s, uint32 size)
 
bool readCINF (Common::SeekableReadStream *s, uint32 size)
 
bool readFINF (Common::SeekableReadStream *s, uint32 size)
 
bool readLNIN (Common::SeekableReadStream *s, uint32 size)
 
bool readCLIP (Common::SeekableReadStream *s, uint32 size)
 
CodebookInfocodebookInfoForFrame (int frame)
 

Public Attributes

Common::SeekableReadStream_s
 
Header _header
 
int _readingFrame
 
int _decodingFrame
 
LoopInfo _loopInfo
 
VQPPalette * _vqpPalsArr
 
uint16 _numOfVQPPalettes
 
bool _oldV2VQA
 
bool _allowHorizontalScanlines
 
bool _allowVerticalScanlines
 
bool _scaleVideoTo2xRequested
 
bool _scale2xPossible
 
bool _centerVideoRequested
 
Common::Array< CodebookInfo_codebooks
 
uint32 * _frameInfo
 
uint32 _maxVIEWChunkSize
 
uint32 _maxZBUFChunkSize
 
uint32 _maxAESCChunkSize
 
VQAVideoTrack_videoTrack
 
VQAAudioTrack_audioTrack
 

The documentation for this class was generated from the following file: