EMIPLIB
Public Member Functions

MIPVideoMixer Class Reference

This component creates video output streams. More...

#include <mipvideomixer.h>

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

List of all members.

Public Member Functions

bool init (real_t frameRate, int maxStreams=-1)
 Initializes the component.
bool destroy ()
 De-initializes the component.
bool setExtraDelay (MIPTime t)
 Adds an additional playback delay.

Detailed Description

The name 'mixer' is a bit misleading for this component since it does not actually mix several video frames into one frame. However, it does work in a very similar way as the audio mixer, which is the reason for its name. The component accepts raw video messages in YUV420P format and stores them in an output queue based on the timing information contained in the messages. During each interval, a number of raw video frames in YUV420P format is produced.


Member Function Documentation

bool MIPVideoMixer::destroy ( )
bool MIPVideoMixer::init ( real_t  frameRate,
int  maxStreams = -1 
)

Using this function, the component can be initialized.

Parameters:
frameRateThe output frame rate.
maxStreamsMaximum allowed number of streams. If set to -1, the number of streams is unlimited.
bool MIPVideoMixer::setExtraDelay ( MIPTime  t)

Using this function, an additional playback delay can be introduced. Note that only positive delays are allowed. This can be useful for inter-media synchronization, in case not all the component delays are known well enough to provide exact synchronization. Using this function, the synchronization can then be adjusted manually.


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