#include <vc1.h>
Public Member Functions | |
| WMV3Decoder (int width, int height, bool advanced=false) | |
| bool | setExtraData (Common::SeekableReadStream &stream) |
| const Graphics::Surface * | decodeFrame (Common::SeekableReadStream &stream) override |
| const Graphics::Surface * | drainFrame () |
| Graphics::PixelFormat | getPixelFormat () const override |
| bool | setOutputPixelFormat (const Graphics::PixelFormat &format) override |
| bool | hasError () const |
Public Member Functions inherited from Image::Codec | |
| virtual const Graphics::Surface * | decodeFrame (Common::SeekableReadStream &stream)=0 |
| virtual Graphics::PixelFormat | getPixelFormat () const =0 |
| virtual bool | setOutputPixelFormat (const Graphics::PixelFormat &format) |
| virtual bool | containsPalette () const |
| virtual const byte * | getPalette () |
| virtual bool | hasDirtyPalette () const |
| virtual bool | canDither (DitherType type) const |
| virtual void | setDither (DitherType type, const byte *palette) |
| virtual void | setCodecAccuracy (CodecAccuracy accuracy) |
Additional Inherited Members | |
Public Types inherited from Image::Codec | |
| enum | DitherType { kDitherTypeUnknown , kDitherTypeVFW , kDitherTypeQT } |
Static Public Member Functions inherited from Image::Codec | |
| static Graphics::PixelFormat | getDefaultYUVFormat () |
Packet-based WMV3/VC-1 decoder with delayed-frame output.
| bool Image::WMV3Decoder::setExtraData | ( | Common::SeekableReadStream & | stream | ) |
Supply container initialization data before decoding packets.
|
overridevirtual |
Decode the frame for the given data and return a pointer to a surface containing the decoded frame.
Implements Image::Codec.
| const Graphics::Surface * Image::WMV3Decoder::drainFrame | ( | ) |
Return delayed output at end of stream, or nullptr when exhausted.
|
inlineoverridevirtual |
Get the format that the surface returned from decodeImage() will be in.
Implements Image::Codec.
|
overridevirtual |
Select the preferred format to use, for codecs where this is faster than converting the image afterwards. Returns true if supported, and false otherwise.
Reimplemented from Image::Codec.