Valkka  1.6.1
OpenSource Video Management
Public Member Functions | Private Attributes | List of all members
DummyDecoder Class Reference

A Dummy decoder. More...

#include <decoder.h>

Inheritance diagram for DummyDecoder:
Inheritance graph
[legend]
Collaboration diagram for DummyDecoder:
Collaboration graph
[legend]

Public Member Functions

virtual Frameoutput ()
 Return a reference to the internal storage of the decoder where the decoded frame is.
 
virtual void flush ()
 Reset decoder state. How to flush depends on the decoder library.
 
virtual bool pull ()
 Decode in_frame to out_frame. Return true if decoder returned a new frame (into out_frame), otherwise false. Implementation depends on the decoder library.
 
- Public Member Functions inherited from Decoder
 Decoder ()
 Default constructor.
 
virtual ~Decoder ()
 Default destructor.
 
void input (Frame *f)
 Create a copy of the frame into the internal storage of the decoder (i.e. to Decoder::in_frame)
 
long int getMsTimestamp ()
 
virtual void releaseOutput ()
 Decoder might want to know that it's ok to overwrite the frame.
 
virtual bool isOk ()
 The thread that uses this decoder can check if it has gone sour.
 
bool hasFrame ()
 

Private Attributes

BasicFrame out_frame
 Output frame: no decoding, just copy input here.
 

Additional Inherited Members

- Protected Attributes inherited from Decoder
BasicFrame in_frame
 Payload data to be decoded.
 
bool has_frame
 

Detailed Description

A Dummy decoder.

Implements a "dummy" decoding library: simply copies in_frame to out_frame. DummyDecoder::out_frame is a BasicFrame.


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