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

Video::QuickTimeDecoder::VideoTrackHandler Class Reference

Collaboration diagram for Video::QuickTimeDecoder::VideoTrackHandler:

List of all members.

Public Member Functions

 VideoTrackHandler (QuickTimeDecoder *decoder, Common::QuickTimeParser::Track *parent)
 ~VideoTrackHandler ()
bool endOfTrack () const
bool isSeekable () const
bool seek (const Audio::Timestamp &time)
Audio::Timestamp getDuration () const
uint16 getWidth () const
uint16 getHeight () const
Graphics::PixelFormat getPixelFormat () const
int getCurFrame () const
int getFrameCount () const
uint32 getNextFrameStartTime () const
const Graphics::SurfacedecodeNextFrame ()
const bytegetPalette () const
bool hasDirtyPalette () const
bool setReverse (bool reverse)
bool isReversed () const
bool canDither () const
void setDither (const byte *palette)
Common::Rational getScaledWidth () const
Common::Rational getScaledHeight () const

Private Member Functions

const Graphics::SurfaceforceDither (const Graphics::Surface &frame)
Common::SeekableReadStreamgetNextFramePacket (uint32 &descId)
uint32 getFrameDuration ()
uint32 findKeyFrame (uint32 frame) const
void enterNewEditList (bool bufferFrames)
const Graphics::SurfacebufferNextFrame ()
uint32 getRateAdjustedFrameTime () const
uint32 getCurEditTimeOffset () const
uint32 getCurEditTrackDuration () const
bool atLastEdit () const
bool endOfCurEdit () const
void checkEditListBounds ()

Private Attributes

QuickTimeDecoder_decoder
Common::QuickTimeParser::Track_parent
uint32 _curEdit
int32 _curFrame
uint32 _nextFrameStartTime
Graphics::Surface_scaledSurface
int32 _durationOverride
const byte_curPalette
bool _dirtyPalette
bool _reversed
byte_forcedDitherPalette
byte_ditherTable
Graphics::Surface_ditherFrame

Detailed Description

Definition at line 122 of file qt_decoder.h.


Constructor & Destructor Documentation

Video::QuickTimeDecoder::VideoTrackHandler::VideoTrackHandler ( QuickTimeDecoder decoder,
Common::QuickTimeParser::Track parent 
)

Definition at line 287 of file qt_decoder.cpp.

Video::QuickTimeDecoder::VideoTrackHandler::~VideoTrackHandler (  ) 

Definition at line 335 of file qt_decoder.cpp.


Member Function Documentation

bool Video::QuickTimeDecoder::VideoTrackHandler::atLastEdit (  )  const [private]

Definition at line 812 of file qt_decoder.cpp.

const Graphics::Surface * Video::QuickTimeDecoder::VideoTrackHandler::bufferNextFrame (  )  [private]

Definition at line 736 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::VideoTrackHandler::canDither (  )  const

Definition at line 822 of file qt_decoder.cpp.

void Video::QuickTimeDecoder::VideoTrackHandler::checkEditListBounds (  )  [private]

Definition at line 304 of file qt_decoder.cpp.

const Graphics::Surface * Video::QuickTimeDecoder::VideoTrackHandler::decodeNextFrame (  ) 

Definition at line 471 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::VideoTrackHandler::endOfCurEdit (  )  const [private]

Definition at line 816 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::VideoTrackHandler::endOfTrack (  )  const

Definition at line 350 of file qt_decoder.cpp.

void Video::QuickTimeDecoder::VideoTrackHandler::enterNewEditList ( bool  bufferFrames  )  [private]

Definition at line 685 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::findKeyFrame ( uint32  frame  )  const [private]

Definition at line 676 of file qt_decoder.cpp.

const Graphics::Surface * Video::QuickTimeDecoder::VideoTrackHandler::forceDither ( const Graphics::Surface frame  )  [private]

Definition at line 892 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::getCurEditTimeOffset (  )  const [private]

Definition at line 790 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::getCurEditTrackDuration (  )  const [private]

Definition at line 807 of file qt_decoder.cpp.

int Video::QuickTimeDecoder::VideoTrackHandler::getCurFrame (  )  const [inline]

Definition at line 135 of file qt_decoder.h.

Audio::Timestamp Video::QuickTimeDecoder::VideoTrackHandler::getDuration (  )  const

Definition at line 426 of file qt_decoder.cpp.

int Video::QuickTimeDecoder::VideoTrackHandler::getFrameCount (  )  const

Definition at line 445 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::getFrameDuration (  )  [private]

Definition at line 661 of file qt_decoder.cpp.

uint16 Video::QuickTimeDecoder::VideoTrackHandler::getHeight (  )  const

Definition at line 434 of file qt_decoder.cpp.

Common::SeekableReadStream * Video::QuickTimeDecoder::VideoTrackHandler::getNextFramePacket ( uint32 descId  )  [private]

Definition at line 616 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::getNextFrameStartTime (  )  const

Definition at line 449 of file qt_decoder.cpp.

const byte * Video::QuickTimeDecoder::VideoTrackHandler::getPalette (  )  const

Definition at line 542 of file qt_decoder.cpp.

Graphics::PixelFormat Video::QuickTimeDecoder::VideoTrackHandler::getPixelFormat (  )  const

Definition at line 438 of file qt_decoder.cpp.

uint32 Video::QuickTimeDecoder::VideoTrackHandler::getRateAdjustedFrameTime (  )  const [private]

Definition at line 779 of file qt_decoder.cpp.

Common::Rational Video::QuickTimeDecoder::VideoTrackHandler::getScaledHeight (  )  const

Definition at line 612 of file qt_decoder.cpp.

Common::Rational Video::QuickTimeDecoder::VideoTrackHandler::getScaledWidth (  )  const

Definition at line 608 of file qt_decoder.cpp.

uint16 Video::QuickTimeDecoder::VideoTrackHandler::getWidth (  )  const

Definition at line 430 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::VideoTrackHandler::hasDirtyPalette (  )  const [inline]

Definition at line 140 of file qt_decoder.h.

bool Video::QuickTimeDecoder::VideoTrackHandler::isReversed (  )  const [inline]

Definition at line 142 of file qt_decoder.h.

bool Video::QuickTimeDecoder::VideoTrackHandler::isSeekable (  )  const [inline]

Definition at line 128 of file qt_decoder.h.

bool Video::QuickTimeDecoder::VideoTrackHandler::seek ( const Audio::Timestamp time  ) 

Definition at line 355 of file qt_decoder.cpp.

void Video::QuickTimeDecoder::VideoTrackHandler::setDither ( const byte palette  ) 

Definition at line 833 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::VideoTrackHandler::setReverse ( bool  reverse  ) 

Definition at line 547 of file qt_decoder.cpp.


Member Data Documentation

Definition at line 157 of file qt_decoder.h.

Definition at line 158 of file qt_decoder.h.

Definition at line 159 of file qt_decoder.h.


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


Generated on Sat Sep 14 2019 05:05:19 for ResidualVM by doxygen 1.7.1
curved edge   curved edge