xoreos  0.0.5
Public Member Functions | Private Attributes | List of all members
Video::VPXDecoder Class Reference
Inheritance diagram for Video::VPXDecoder:
Inheritance graph
[legend]
Collaboration diagram for Video::VPXDecoder:
Collaboration graph
[legend]

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
 

Detailed Description

Definition at line 40 of file vpx.cpp.

Constructor & Destructor Documentation

◆ VPXDecoder()

Video::VPXDecoder::VPXDecoder ( )

Definition at line 56 of file vpx.cpp.

◆ ~VPXDecoder()

Video::VPXDecoder::~VPXDecoder ( )

Definition at line 59 of file vpx.cpp.

References _context, and _initialized.

Member Function Documentation

◆ decodeFrame()

void Video::VPXDecoder::decodeFrame ( Graphics::Surface surface,
Common::SeekableReadStream dataStream 
)
virtual

◆ init()

bool Video::VPXDecoder::init ( vpx_codec_iface_t *  iface)

Definition at line 64 of file vpx.cpp.

References _context, and _initialized.

Member Data Documentation

◆ _context

vpx_codec_ctx Video::VPXDecoder::_context
private

Definition at line 51 of file vpx.cpp.

Referenced by decodeFrame(), init(), and ~VPXDecoder().

◆ _initialized

bool Video::VPXDecoder::_initialized
private

Definition at line 50 of file vpx.cpp.

Referenced by decodeFrame(), init(), and ~VPXDecoder().

◆ _surface

Common::ScopedPtr<Graphics::Surface> Video::VPXDecoder::_surface
private

Definition at line 53 of file vpx.cpp.

Referenced by decodeFrame().


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