xoreos
0.0.5
|
Public Member Functions | |
VPXDecoder () | |
~VPXDecoder () | |
bool | init (vpx_codec_iface_t *iface) |
void | decodeFrame (Graphics::Surface &surface, Common::SeekableReadStream &dataStream) |
Public Member Functions inherited from Video::Codec | |
Codec () | |
virtual | ~Codec () |
Private Attributes | |
bool | _initialized |
vpx_codec_ctx | _context |
Common::ScopedPtr< Graphics::Surface > | _surface |
Video::VPXDecoder::~VPXDecoder | ( | ) |
Definition at line 59 of file vpx.cpp.
References _context, and _initialized.
|
virtual |
Implements Video::Codec.
Definition at line 87 of file vpx.cpp.
References _context, _initialized, _surface, Graphics::Surface::getData(), Graphics::Surface::getHeight(), Graphics::Surface::getPitch(), Graphics::YUVToRGBManager::kScaleFull, Graphics::YUVToRGBManager::kScaleITU, Common::ReadStream::read(), Common::ScopedPtrBase< T, Deallocator >::reset(), Common::SeekableReadStream::size(), and YUVToRGBMan.
bool Video::VPXDecoder::init | ( | vpx_codec_iface_t * | iface | ) |
Definition at line 64 of file vpx.cpp.
References _context, and _initialized.
|
private |
Definition at line 51 of file vpx.cpp.
Referenced by decodeFrame(), init(), and ~VPXDecoder().
|
private |
Definition at line 50 of file vpx.cpp.
Referenced by decodeFrame(), init(), and ~VPXDecoder().
|
private |
Definition at line 53 of file vpx.cpp.
Referenced by decodeFrame().