RTP Audio System  2.0.0
FrameRateScalabilityInterface Class Reference

Frame Rate Scalability Interface. More...

#include <frameratescalabilityinterface.h>

Inheritance diagram for FrameRateScalabilityInterface:
AbstractQoSDescription SimpleAudioQoSDescription

List of all members.

Public Member Functions

virtual const char * getFrameRateScalabilityClass () const =0
virtual bool isFrameRateScalable () const =0
virtual double getMinFrameRate () const =0
virtual double getMaxFrameRate () const =0
virtual bool isValidFrameRate (const double frameRate) const =0
virtual double getNearestValidFrameRate (const double frameRate) const =0
virtual double getNextFrameRateForRate (const double frameRate) const =0
virtual double getPrevFrameRateForRate (const double frameRate) const =0
virtual double getFrameRateScaleFactorForRate (const double frameRate) const =0
virtual double getFrameRateUtilizationForRate (const double frameRate) const =0
virtual double getFrameRateUtilizationWeight (const double frameRate) const =0

Detailed Description

Frame Rate Scalability Interface.

This class is an interface for frame rate scalability.

Author:
Thomas Dreibholz
Version:
1.0

Member Function Documentation

virtual const char* FrameRateScalabilityInterface::getFrameRateScalabilityClass ( ) const [pure virtual]

Get name of the frame rate scalability class.

Returns:
Frame rate scalability class name.
virtual double FrameRateScalabilityInterface::getFrameRateScaleFactorForRate ( const double  frameRate) const [pure virtual]

Get scale factor for given frame rate: (rate - MinFrameRate) / (MaxFrameRate - MinFrameRate)

Parameters:
frameRateFrame rate.
Returns:
Scale factor (out of [0,1])..
virtual double FrameRateScalabilityInterface::getFrameRateUtilizationForRate ( const double  frameRate) const [pure virtual]

Get utilization for given frame rate.

Parameters:
frameRateFrame rate.
Returns:
Utilization (out of [0,1]).
virtual double FrameRateScalabilityInterface::getFrameRateUtilizationWeight ( const double  frameRate) const [pure virtual]

Get frame rate utilization weight.

Parameters:
frameRateFrame rate.
Returns:
Utilization weight.
virtual double FrameRateScalabilityInterface::getMaxFrameRate ( ) const [pure virtual]

Get maximum frame rate.

Returns:
Maximum frame rate.
virtual double FrameRateScalabilityInterface::getMinFrameRate ( ) const [pure virtual]

Get minimum frame rate.

Returns:
Minimum frame rate.
virtual double FrameRateScalabilityInterface::getNearestValidFrameRate ( const double  frameRate) const [pure virtual]

Get nearest lower valid frame rate for given frame rate.

Parameters:
rateFrame rate.
Returns:
Valid frame rate nearest to given rate.
virtual double FrameRateScalabilityInterface::getNextFrameRateForRate ( const double  frameRate) const [pure virtual]

Get next higher valid frame rate for given frame rate.

Parameters:
frameRateFrame rate.
Returns:
Next higher valid frame rate.
virtual double FrameRateScalabilityInterface::getPrevFrameRateForRate ( const double  frameRate) const [pure virtual]

Get next lower valid frame rate for given frame rate.

Parameters:
frameRateFrame rate.
Returns:
Next lower valid frame rate.
virtual bool FrameRateScalabilityInterface::isFrameRateScalable ( ) const [pure virtual]

Check, if frame rate is scalable.

Returns:
true, if frame rate is scalable; false otherwise.
virtual bool FrameRateScalabilityInterface::isValidFrameRate ( const double  frameRate) const [pure virtual]

Check, if given frame rate is a valid value.

Parameters:
frameRateFrame rate to be checked.
Returns:
true, if given rate is valid; false otherwise.

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines