#include <opalmixer.h>
Inheritance diagram for OpalVideoMixer:

Public Types | |
| eSideBySideLetterbox | |
| eSideBySideScaled | |
| eStackedPillarbox | |
| eStackedScaled | |
| eGrid | |
| enum | Styles {  eSideBySideLetterbox, eSideBySideScaled, eStackedPillarbox, eStackedScaled, eGrid }  | 
Public Member Functions | |
| OpalVideoMixer (Styles style, unsigned width, unsigned height, unsigned rate=15, bool pushThread=true) | |
| ~OpalVideoMixer () | |
| unsigned | GetFrameWidth () const | 
| unsigned | GetFrameHeight () const | 
| unsigned | GetFrameRate () const | 
| bool | SetFrameRate (unsigned rate) | 
| bool | SetFrameSize (unsigned width, unsigned height) | 
Protected Member Functions | |
| virtual Stream * | CreateStream () | 
| virtual bool | MixStreams (RTP_DataFrame &frame) | 
| virtual size_t | GetOutputSize () const | 
Protected Attributes | |
| Styles | m_style | 
| unsigned | m_width | 
| unsigned | m_height | 
| PBYTEArray | m_frameStore | 
Friends | |
| struct | VideoStream | 
Data Structures | |
| struct | VideoStream | 
| OpalVideoMixer::OpalVideoMixer | ( | Styles | style, | |
| unsigned | width, | |||
| unsigned | height, | |||
| unsigned |  rate = 15,  | 
        |||
| bool |  pushThread = true | |||
| ) | 
| style | Style for mixing video | 
| width | Width of output frame | 
| height | Height of output frame | 
| rate | Frames per second for output | 
| pushThread | A push thread is to be created | 
| OpalVideoMixer::~OpalVideoMixer | ( | ) |  [inline] | 
        
| virtual Stream* OpalVideoMixer::CreateStream | ( | ) |  [protected, virtual] | 
        
Implements OpalBaseMixer.
| unsigned OpalVideoMixer::GetFrameHeight | ( | ) |  const [inline] | 
        
Get output video frame height.
| unsigned OpalVideoMixer::GetFrameRate | ( | ) |  const [inline] | 
        
Get output video frame rate (frames per second)
| unsigned OpalVideoMixer::GetFrameWidth | ( | ) |  const [inline] | 
        
Get output video frame width.
| virtual size_t OpalVideoMixer::GetOutputSize | ( | ) |  const [protected, virtual] | 
        
Implements OpalBaseMixer.
| virtual bool OpalVideoMixer::MixStreams | ( | RTP_DataFrame & | frame | ) |  [protected, virtual] | 
        
Implements OpalBaseMixer.
| bool OpalVideoMixer::SetFrameRate | ( | unsigned | rate | ) | 
Set output video frame rate. May be dynamically changed at any time.
| bool OpalVideoMixer::SetFrameSize | ( | unsigned | width, | |
| unsigned | height | |||
| ) | 
Set the output video frame width and height. May be dynamically changed at any time.
| width | New width | 
| height | new height | 
friend struct VideoStream [friend]           | 
        
PBYTEArray OpalVideoMixer::m_frameStore [protected]           | 
        
unsigned OpalVideoMixer::m_height [protected]           | 
        
Styles OpalVideoMixer::m_style [protected]           | 
        
unsigned OpalVideoMixer::m_width [protected]           | 
        
 1.4.7