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

Decoded Frame in FFmpeg format. More...

#include <frame.h>

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

Public Member Functions

 AVMediaFrame ()
 Default ctor.
 
virtual ~AVMediaFrame ()
 Default virtual dtor.
 
virtual std::string dumpPayload ()
 Dumps internal payload data.
 
virtual void print (std::ostream &os) const
 How to print this frame to output stream.
 
virtual void reset ()
 Reset the internal data.
 
- Public Member Functions inherited from Frame
 Frame ()
 Default ctor.
 
virtual ~Frame ()
 Default virtual dtor.
 
 frame_essentials (FrameClass::none, Frame)
 
 frame_clone (FrameClass::none, Frame)
 
virtual void dumpPayloadToFile (std::ofstream &fout)
 Dumps internal payload data into a file.
 
virtual void updateAux ()
 Update internal auxiliary state variables.
 
virtual void update ()
 Update helper points (call always)
 
virtual bool isSeekable ()
 Can we seek to this frame? (e.g. is it a key-frame .. for H264 sps packets are used as seek markers)
 
void copyMetaFrom (Frame *f)
 Copy metadata (slot, subsession index, timestamp) to this frame.
 

Public Attributes

AVMediaType media_type
 helper object: media type
 
AVCodecID codec_id
 helper object: codec id
 
AVFrame * av_frame
 The decoded frame.
 
- Public Attributes inherited from Frame
SlotNumber n_slot
 Slot number identifying the media source.
 
int subsession_index
 Media subsession index.
 
long int mstimestamp
 Presentation time stamp (PTS) in milliseconds.
 

Additional Inherited Members

- Protected Attributes inherited from Frame
FrameClass frameclass
 Declares frametype for correct typecast. Used by Frame::getFrameClass()
 

Detailed Description

Decoded Frame in FFmpeg format.

Copiable/Queable : no


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