RTP Trace System
1.0
|
Generic Frame Size Scalability. More...
#include <genericframesizescalability.h>
Public Member Functions | |
bool | isValidPayloadFrameSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
cardinal | getNearestValidPayloadFrameSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
cardinal | getNextPayloadFrameSizeForDelayAndSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
cardinal | getPrevPayloadFrameSizeForDelayAndSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
double | getPayloadFrameSizeScaleFactorForDelayAndSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
double | getPayloadFrameSizeUtilizationForDelayAndSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
double | getFrameSizeUtilizationWeight (const double frameRate) const |
cardinal | getNextBufferDelayForDelay (const double frameRate, const cardinal bufferDelay) const |
cardinal | getPrevBufferDelayForDelay (const double frameRate, const cardinal bufferDelay) const |
Generic Frame Size Scalability.
This class is a generic implementation of FrameSizeScalabilityInterface. It provides basic functionality for subclasses. Important node: All frames sizes in this class are payload frame sizes!
double Coral::GenericFrameSizeScalability::getFrameSizeUtilizationWeight | ( | const double | frameRate | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
Reimplemented in Coral::TraceFrameSizeScalability.
cardinal Coral::GenericFrameSizeScalability::getNearestValidPayloadFrameSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::GenericFrameSizeScalability::getNextBufferDelayForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::GenericFrameSizeScalability::getNextPayloadFrameSizeForDelayAndSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
double Coral::GenericFrameSizeScalability::getPayloadFrameSizeScaleFactorForDelayAndSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
double Coral::GenericFrameSizeScalability::getPayloadFrameSizeUtilizationForDelayAndSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
Reimplemented in Coral::TraceFrameSizeScalability.
cardinal Coral::GenericFrameSizeScalability::getPrevBufferDelayForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::GenericFrameSizeScalability::getPrevPayloadFrameSizeForDelayAndSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
bool Coral::GenericFrameSizeScalability::isValidPayloadFrameSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.