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

Video::SmackerDecoder::SmackerVideoTrack Class Reference

#include <smk_decoder.h>

Collaboration diagram for Video::SmackerDecoder::SmackerVideoTrack:

List of all members.

Public Member Functions

 SmackerVideoTrack (uint32 width, uint32 height, uint32 frameCount, const Common::Rational &frameRate, uint32 flags, uint32 signature)
 ~SmackerVideoTrack ()
bool isRewindable () const
bool rewind ()
uint16 getWidth () const
uint16 getHeight () const
Graphics::PixelFormat getPixelFormat () const
int getCurFrame () const
int getFrameCount () const
const Graphics::SurfacedecodeNextFrame ()
const bytegetPalette () const
bool hasDirtyPalette () const
void readTrees (Common::BitStreamMemory8LSB &bs, uint32 mMapSize, uint32 mClrSize, uint32 fullSize, uint32 typeSize)
void increaseCurFrame ()
void decodeFrame (Common::BitStreamMemory8LSB &bs)
void unpackPalette (Common::SeekableReadStream *stream)
Common::Rational getFrameRate () const

Protected Attributes


Static Private Member Functions

static uint getBlockRun (int index)

Private Attributes

Common::Rational _frameRate
uint32 _flags
uint32 _signature
byte _palette [3 *256]
bool _dirtyPalette
int _curFrame
uint32 _frameCount

Detailed Description

Definition at line 80 of file smk_decoder.h.

Constructor & Destructor Documentation

Video::SmackerDecoder::SmackerVideoTrack::SmackerVideoTrack ( uint32  width,
uint32  height,
uint32  frameCount,
const Common::Rational frameRate,
uint32  flags,
uint32  signature 

Definition at line 520 of file smk_decoder.cpp.

Video::SmackerDecoder::SmackerVideoTrack::~SmackerVideoTrack (  ) 

Definition at line 533 of file smk_decoder.cpp.

Member Function Documentation

void Video::SmackerDecoder::SmackerVideoTrack::decodeFrame ( Common::BitStreamMemory8LSB bs  ) 

Definition at line 562 of file smk_decoder.cpp.

const Graphics::Surface* Video::SmackerDecoder::SmackerVideoTrack::decodeNextFrame (  )  [inline]

Definition at line 93 of file smk_decoder.h.

static uint Video::SmackerDecoder::SmackerVideoTrack::getBlockRun ( int  index  )  [inline, static, private]

Definition at line 124 of file smk_decoder.h.

int Video::SmackerDecoder::SmackerVideoTrack::getCurFrame (  )  const [inline]

Definition at line 91 of file smk_decoder.h.

int Video::SmackerDecoder::SmackerVideoTrack::getFrameCount (  )  const [inline]

Definition at line 92 of file smk_decoder.h.

Common::Rational Video::SmackerDecoder::SmackerVideoTrack::getFrameRate (  )  const [inline]

Definition at line 103 of file smk_decoder.h.

uint16 Video::SmackerDecoder::SmackerVideoTrack::getHeight (  )  const

Definition at line 547 of file smk_decoder.cpp.

const byte* Video::SmackerDecoder::SmackerVideoTrack::getPalette (  )  const [inline]

Definition at line 94 of file smk_decoder.h.

Graphics::PixelFormat Video::SmackerDecoder::SmackerVideoTrack::getPixelFormat (  )  const

Definition at line 551 of file smk_decoder.cpp.

uint16 Video::SmackerDecoder::SmackerVideoTrack::getWidth (  )  const

Definition at line 543 of file smk_decoder.cpp.

bool Video::SmackerDecoder::SmackerVideoTrack::hasDirtyPalette (  )  const [inline]

Definition at line 95 of file smk_decoder.h.

void Video::SmackerDecoder::SmackerVideoTrack::increaseCurFrame (  )  [inline]

Definition at line 98 of file smk_decoder.h.

bool Video::SmackerDecoder::SmackerVideoTrack::isRewindable (  )  const [inline]

Definition at line 85 of file smk_decoder.h.

void Video::SmackerDecoder::SmackerVideoTrack::readTrees ( Common::BitStreamMemory8LSB bs,
uint32  mMapSize,
uint32  mClrSize,
uint32  fullSize,
uint32  typeSize 

Definition at line 555 of file smk_decoder.cpp.

bool Video::SmackerDecoder::SmackerVideoTrack::rewind (  )  [inline]

Definition at line 86 of file smk_decoder.h.

void Video::SmackerDecoder::SmackerVideoTrack::unpackPalette ( Common::SeekableReadStream stream  ) 

Definition at line 707 of file smk_decoder.cpp.

Member Data Documentation

Definition at line 115 of file smk_decoder.h.

Definition at line 113 of file smk_decoder.h.

Definition at line 112 of file smk_decoder.h.

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

Generated on Sat Sep 19 2020 05:06:23 for ResidualVM by doxygen 1.7.1
curved edge   curved edge