ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Grim::SmushDecoder::SmushVideoTrack Class Reference

#include <smush_decoder.h>

Collaboration diagram for Grim::SmushDecoder::SmushVideoTrack:

List of all members.

Public Member Functions

 SmushVideoTrack (int width, int height, int fps, int numFrames, bool is16Bit)
 ~SmushVideoTrack ()
uint16 getWidth () const override
uint16 getHeight () const override
Graphics::PixelFormat getPixelFormat () const override
int getCurFrame () const override
void setCurFrame (int frame)
int getFrameCount () const override
Common::Rational getFrameRate () const override
void setMsPerFrame (int ms)
void finishFrame ()
bool isSeekable () const override
bool seek (const Audio::Timestamp &time) override
void setFrameStart (int frame)
void handleBlocky16 (Common::SeekableReadStream *stream, uint32 size)
void handleFrameObject (Common::SeekableReadStream *stream, uint32 size)
void handleDeltaPalette (Common::SeekableReadStream *stream, int32 size)
void init ()
Graphics::SurfacedecodeNextFrame () override
bytegetPal ()

Public Attributes

int _x
int _y

Private Member Functions

void convertDemoFrame ()

Private Attributes

bool _is16Bit
int32 _curFrame
byte _pal [0x300]
int16 _deltaPal [0x300]
int _width
int _height
Graphics::Surface _surface
Graphics::PixelFormat _format
Common::Rational _frameRate
int32 _nbframes
int _frameStart

Detailed Description

Definition at line 65 of file smush_decoder.h.

Constructor & Destructor Documentation

Grim::SmushDecoder::SmushVideoTrack::SmushVideoTrack ( int  width,
int  height,
int  fps,
int  numFrames,
bool  is16Bit 

Definition at line 449 of file smush_decoder.cpp.

Grim::SmushDecoder::SmushVideoTrack::~SmushVideoTrack (  ) 

Definition at line 479 of file smush_decoder.cpp.

Member Function Documentation

void Grim::SmushDecoder::SmushVideoTrack::convertDemoFrame (  )  [private]

Definition at line 505 of file smush_decoder.cpp.

Graphics::Surface * Grim::SmushDecoder::SmushVideoTrack::decodeNextFrame (  )  [override]

Definition at line 588 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushVideoTrack::finishFrame (  ) 

Definition at line 494 of file smush_decoder.cpp.

int Grim::SmushDecoder::SmushVideoTrack::getCurFrame (  )  const [inline, override]

Definition at line 73 of file smush_decoder.h.

int Grim::SmushDecoder::SmushVideoTrack::getFrameCount (  )  const [inline, override]

Definition at line 75 of file smush_decoder.h.

Common::Rational Grim::SmushDecoder::SmushVideoTrack::getFrameRate (  )  const [inline, override]

Definition at line 76 of file smush_decoder.h.

uint16 Grim::SmushDecoder::SmushVideoTrack::getHeight (  )  const [inline, override]

Definition at line 71 of file smush_decoder.h.

byte* Grim::SmushDecoder::SmushVideoTrack::getPal (  )  [inline]

Definition at line 90 of file smush_decoder.h.

Graphics::PixelFormat Grim::SmushDecoder::SmushVideoTrack::getPixelFormat (  )  const [inline, override]

Definition at line 72 of file smush_decoder.h.

uint16 Grim::SmushDecoder::SmushVideoTrack::getWidth (  )  const [inline, override]

Definition at line 70 of file smush_decoder.h.

void Grim::SmushDecoder::SmushVideoTrack::handleBlocky16 ( Common::SeekableReadStream stream,
uint32  size 

Definition at line 518 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushVideoTrack::handleDeltaPalette ( Common::SeekableReadStream stream,
int32  size 

Definition at line 572 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushVideoTrack::handleFrameObject ( Common::SeekableReadStream stream,
uint32  size 

Definition at line 531 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushVideoTrack::init (  ) 

Definition at line 486 of file smush_decoder.cpp.

bool Grim::SmushDecoder::SmushVideoTrack::isSeekable (  )  const [inline, override]

Definition at line 80 of file smush_decoder.h.

bool Grim::SmushDecoder::SmushVideoTrack::seek ( const Audio::Timestamp time  )  [inline, override]

Definition at line 81 of file smush_decoder.h.

void Grim::SmushDecoder::SmushVideoTrack::setCurFrame ( int  frame  )  [inline]

Definition at line 74 of file smush_decoder.h.

void Grim::SmushDecoder::SmushVideoTrack::setFrameStart ( int  frame  ) 

Definition at line 501 of file smush_decoder.cpp.

void Grim::SmushDecoder::SmushVideoTrack::setMsPerFrame ( int  ms  ) 

Definition at line 592 of file smush_decoder.cpp.

Member Data Documentation

Definition at line 97 of file smush_decoder.h.

Definition at line 106 of file smush_decoder.h.

Definition at line 98 of file smush_decoder.h.

Definition at line 94 of file smush_decoder.h.

Definition at line 96 of file smush_decoder.h.

Definition at line 98 of file smush_decoder.h.

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

Generated on Sat Sep 26 2020 05:03:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge