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

Decoder for QuickTime videos. More...

#include <qt_decoder.h>

Inheritance diagram for Video::QuickTimeDecoder:
Collaboration diagram for Video::QuickTimeDecoder:

List of all members.


class  AudioTrackHandler
class  VideoSampleDesc
class  VideoTrackHandler

Public Member Functions

 QuickTimeDecoder ()
virtual ~QuickTimeDecoder ()
bool loadFile (const Common::String &filename)
bool loadStream (Common::SeekableReadStream *stream)
void close ()
 Close a QuickTime file.
uint16 getWidth () const
uint16 getHeight () const
const Graphics::SurfacedecodeNextFrame ()
Audio::Timestamp getDuration () const

Protected Member Functions

Common::QuickTimeParser::SampleDescreadSampleDesc (Common::QuickTimeParser::Track *track, uint32 format, uint32 descSize)

Private Member Functions

void init ()
void updateAudioBuffer ()
void scaleSurface (const Graphics::Surface *src, Graphics::Surface *dst, const Common::Rational &scaleFactorX, const Common::Rational &scaleFactorY)

Private Attributes

uint16 _width
uint16 _height

Detailed Description

Decoder for QuickTime videos.

Video decoder used in engines:

  • mohawk
  • pegasus
  • sci

Definition at line 61 of file qt_decoder.h.

Constructor & Destructor Documentation

Video::QuickTimeDecoder::QuickTimeDecoder (  ) 

Definition at line 50 of file qt_decoder.cpp.

Video::QuickTimeDecoder::~QuickTimeDecoder (  )  [virtual]

Definition at line 55 of file qt_decoder.cpp.

Member Function Documentation

void Video::QuickTimeDecoder::close (  ) 

Close a QuickTime file.

Reimplemented from Common::QuickTimeParser.

Definition at line 75 of file qt_decoder.cpp.

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

Definition at line 86 of file qt_decoder.cpp.

Audio::Timestamp Video::QuickTimeDecoder::getDuration (  )  const [inline]

Definition at line 72 of file qt_decoder.h.

uint16 Video::QuickTimeDecoder::getHeight (  )  const [inline]

Definition at line 70 of file qt_decoder.h.

uint16 Video::QuickTimeDecoder::getWidth (  )  const [inline]

Definition at line 69 of file qt_decoder.h.

void Video::QuickTimeDecoder::init (  )  [private]

Reimplemented from Audio::QuickTimeAudioDecoder.

Definition at line 205 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::loadFile ( const Common::String filename  ) 

Definition at line 59 of file qt_decoder.cpp.

bool Video::QuickTimeDecoder::loadStream ( Common::SeekableReadStream stream  ) 

Definition at line 67 of file qt_decoder.cpp.

Common::QuickTimeParser::SampleDesc * Video::QuickTimeDecoder::readSampleDesc ( Common::QuickTimeParser::Track track,
uint32  format,
uint32  descSize 
) [protected, virtual]

Reimplemented from Audio::QuickTimeAudioDecoder.

Definition at line 107 of file qt_decoder.cpp.

void Video::QuickTimeDecoder::scaleSurface ( const Graphics::Surface src,
Graphics::Surface dst,
const Common::Rational scaleFactorX,
const Common::Rational scaleFactorY 
) [private]

Definition at line 245 of file qt_decoder.cpp.

void Video::QuickTimeDecoder::updateAudioBuffer (  )  [private]

Definition at line 238 of file qt_decoder.cpp.

Member Data Documentation

Definition at line 82 of file qt_decoder.h.

Definition at line 82 of file qt_decoder.h.

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

Generated on Sat Sep 26 2020 05:04:09 for ResidualVM by doxygen 1.7.1
curved edge   curved edge