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

Video::DXADecoder Class Reference

Decoder for DXA videos. More...

#include <dxa_decoder.h>

Inheritance diagram for Video::DXADecoder:
Collaboration diagram for Video::DXADecoder:

List of all members.


class  DXAVideoTrack

Public Member Functions

 DXADecoder ()
virtual ~DXADecoder ()
bool loadStream (Common::SeekableReadStream *stream)
 Load a video from a generic read stream.

Protected Member Functions

virtual void readSoundData (Common::SeekableReadStream *stream)
 Read the sound data out of the given DXA stream.

Detailed Description

Decoder for DXA videos.

Video decoder used in engines:

  • agos
  • sword1
  • sword2

Definition at line 44 of file dxa_decoder.h.

Constructor & Destructor Documentation

Video::DXADecoder::DXADecoder (  ) 

Definition at line 39 of file dxa_decoder.cpp.

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

Definition at line 42 of file dxa_decoder.cpp.

Member Function Documentation

bool Video::DXADecoder::loadStream ( Common::SeekableReadStream stream  )  [virtual]

Load a video from a generic read stream.

The ownership of the stream object transfers to this VideoDecoder instance, which is hence also responsible for eventually deleting it.

Implementations of this function are required to call addTrack() for each track in the video upon success.

stream the stream to load
whether loading the stream succeeded

Implements Video::VideoDecoder.

Definition at line 46 of file dxa_decoder.cpp.

void Video::DXADecoder::readSoundData ( Common::SeekableReadStream stream  )  [protected, virtual]

Read the sound data out of the given DXA stream.

Definition at line 65 of file dxa_decoder.cpp.

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

Generated on Sat May 25 2019 05:07:12 for ResidualVM by doxygen 1.7.1
curved edge   curved edge