|
enum | AudioCompression { kCompressionNone,
kCompressionDPCM,
kCompressionRDFT,
kCompressionDCT
} |
|
typedef Common::Array< Track * > | TrackList |
|
typedef TrackList::iterator | TrackListIterator |
|
void | readNextPacket () |
|
bool | supportsAudioTrackSwitching () const |
|
AudioTrack * | getAudioTrack (int index) |
|
virtual void | handleAudioTrack (byte track, uint32 chunkSize, uint32 unpackedSize) |
|
virtual uint32 | getSignatureVersion (uint32 signature) const |
|
virtual SmackerVideoTrack * | createVideoTrack (uint32 width, uint32 height, uint32 frameCount, const Common::Rational &frameRate, uint32 flags, uint32 version) const |
|
void | resetPauseStartTime () |
|
void | addTrack (Track *track, bool isExternal=false) |
|
virtual bool | useAudioSync () const |
|
Track * | getTrack (uint track) |
|
const Track * | getTrack (uint track) const |
|
bool | endOfVideoTracks () const |
|
VideoTrack * | findNextVideoTrack () |
|
TrackListIterator | getTrackListBegin () |
|
TrackListIterator | getTrackListEnd () |
|
void | eraseTrack (Track *track) |
|
virtual bool | seekIntern (const Audio::Timestamp &time) |
|
uint | getNumTracks () |
|
void | stopAudio () |
|
void | setAudioRate (Common::Rational rate) |
|
void | startAudio () |
|
void | startAudioLimit (const Audio::Timestamp &limit) |
|
bool | hasFramesLeft () const |
|
bool | hasAudio () const |
|
Common::SeekableReadStream * | _fileStream |
|
struct { |
uint32 signature |
|
uint32 flags |
|
uint32 audioSize [7] |
|
uint32 treesSize |
|
uint32 mMapSize |
|
uint32 mClrSize |
|
uint32 fullSize |
|
uint32 typeSize |
|
AudioInfo audioInfo [7] |
|
uint32 dummy |
|
} | _header |
|
uint32 * | _frameSizes |
|
byte * | _frameTypes |
|
Audio::Timestamp | _lastTimeChange |
|
int32 | _startTime |
|
VideoTrack * | _nextVideoTrack |
|
Image::CodecAccuracy | _videoCodecAccuracy |
|
◆ loadStream()
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.
- Parameters
-
- Returns
- whether loading the stream succeeded
Reimplemented from Video::SmackerDecoder.
The documentation for this class was generated from the following file: