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

Video::PreIMDDecoder Class Reference

#include <coktel_decoder.h>

Inheritance diagram for Video::PreIMDDecoder:
Collaboration diagram for Video::PreIMDDecoder:

List of all members.

Public Member Functions

 PreIMDDecoder (uint16 width, uint16 height, Audio::Mixer *mixer, Audio::Mixer::SoundType soundType=Audio::Mixer::kPlainSoundType)
 ~PreIMDDecoder ()
bool reloadStream (Common::SeekableReadStream *stream)
 Replace the current video stream with this identical one.
bool seek (int32 frame, int whence=SEEK_SET, bool restart=false)
bool loadStream (Common::SeekableReadStream *stream)
 Load a video from a stream.
void close ()
 Close the video.
bool isVideoLoaded () const
 Has a video been loaded?
const Graphics::SurfacedecodeNextFrame ()
 Decode the next frame.
Graphics::PixelFormat getPixelFormat () const

Private Member Functions

void processFrame ()
void renderFrame ()

Private Attributes

uint32 _videoBufferSize

Detailed Description

Definition at line 275 of file coktel_decoder.h.

Constructor & Destructor Documentation

Video::PreIMDDecoder::PreIMDDecoder ( uint16  width,
uint16  height,
Audio::Mixer mixer,
Audio::Mixer::SoundType  soundType = Audio::Mixer::kPlainSoundType 
Video::PreIMDDecoder::~PreIMDDecoder (  ) 

Member Function Documentation

void Video::PreIMDDecoder::close (  ) 

Close the video.

Reimplemented from Video::CoktelDecoder.

const Graphics::Surface* Video::PreIMDDecoder::decodeNextFrame (  )  [virtual]

Decode the next frame.

See also:

Implements Video::CoktelDecoder.

Graphics::PixelFormat Video::PreIMDDecoder::getPixelFormat (  )  const [virtual]

Implements Video::CoktelDecoder.

bool Video::PreIMDDecoder::isVideoLoaded (  )  const [virtual]

Has a video been loaded?

Implements Video::CoktelDecoder.

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

Load a video from a stream.

See also:

Implements Video::CoktelDecoder.

void Video::PreIMDDecoder::processFrame (  )  [private]
bool Video::PreIMDDecoder::reloadStream ( Common::SeekableReadStream stream  )  [virtual]

Replace the current video stream with this identical one.

Implements Video::CoktelDecoder.

void Video::PreIMDDecoder::renderFrame (  )  [private]
bool Video::PreIMDDecoder::seek ( int32  frame,
int  whence = SEEK_SET,
bool  restart = false 
) [virtual]

Implements Video::CoktelDecoder.

Member Data Documentation

Definition at line 298 of file coktel_decoder.h.

Definition at line 299 of file coktel_decoder.h.

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

Generated on Sat Aug 15 2020 05:07:33 for ResidualVM by doxygen 1.7.1
curved edge   curved edge