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

Our own RGB24 structure. More...

#include <frame.h>

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

Public Member Functions

 RGBFrame (int max_width, int max_height)
 
 frame_essentials (FrameClass::rgb, RGBFrame)
 
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.
 
void fromAVRGBFrame (AVRGBFrame *f)
 Copies data from (temporary) AVRGBFrame .. set the width & height members.
 
- 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.
 

Private Attributes

std::vector< uint8_t > payload
 RGB24 data as continuous bytes. 3 bytes per pixel.
 
int max_width
 
int max_height
 
int width
 
int height
 

Additional Inherited Members

- 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.
 
- Protected Attributes inherited from Frame
FrameClass frameclass
 Declares frametype for correct typecast. Used by Frame::getFrameClass()
 

Detailed Description

Our own RGB24 structure.


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