OPAL
Version 3.18.8
|
#include <vidcodec.h>
Public Types | |
enum | { MaximiseSpatial = 0, MaximiseTemporal = 31 } |
Public Member Functions | |
OpalTemporalSpatialTradeOff (unsigned tradeoff, unsigned sessionID=0, unsigned ssrc=0) | |
virtual PString | GetName () const |
unsigned | GetTradeOff () const |
![]() | |
OpalMediaCommand (const OpalMediaType &mediaType, unsigned sessionID=0, unsigned ssrc=0) | |
virtual void | PrintOn (ostream &strm) const |
virtual Comparison | Compare (const PObject &obj) const |
virtual PObject * | Clone () const =0 |
virtual void * | GetPlugInData () const |
virtual unsigned * | GetPlugInSize () const |
const OpalMediaType & | GetMediaType () const |
unsigned | GetSessionID () const |
unsigned | GetSyncSource () const |
Protected Attributes | |
unsigned | m_tradeOff |
![]() | |
OpalMediaType | m_mediaType |
unsigned | m_sessionID |
unsigned | m_ssrc |
This is an indication to the video encoder to change the way it is to encode the video stream.
The trade off integer is a value that trade spatial quality (blocky-ness) for temporal quality (frame rate). A value of zero will maximise spatial quality, sacrificing frame rate and a value of 31 will maximize frame rate and sacrifice
OpalTemporalSpatialTradeOff::OpalTemporalSpatialTradeOff | ( | unsigned | tradeoff, |
unsigned | sessionID = 0 , |
||
unsigned | ssrc = 0 |
||
) |
sessionID | Session for media stream, 0 is use first mediaType stream |
ssrc | Sync Source for media stream (if RTP) |
|
virtual |
Get the name of the command.
Implements OpalMediaCommand.
|
inline |
References m_tradeOff.
|
protected |
Referenced by GetTradeOff().