RTP Trace System
1.0
|
Constant Bitrate Frame Size Scalability. More...
#include <cbrframesizescalability.h>
Public Member Functions | |
ConstantBitrateFrameSizeScalability () | |
~ConstantBitrateFrameSizeScalability () | |
void | initConstantBitrateFrameSizeScalability (const cardinal maxFrameSize, const double scaleFactor) |
const char * | getFrameSizeScalabilityClass () const |
bool | isFrameSizeScalable () const |
bool | isVariableBitrate () const |
cardinal | getMinPayloadFrameSizeForDelay (const double frameRate, const cardinal bufferDelay) const |
cardinal | getMaxPayloadFrameSizeForDelay (const double frameRate, const cardinal bufferDelay) const |
cardinal | getMaxFrameCountForDelay (const double frameRate, const cardinal bufferDelay) const |
cardinal | getMaxBufferDelay (const double frameRate) const |
Protected Attributes | |
cardinal | MinFrameSize |
cardinal | MaxFrameSize |
Constant Bitrate Frame Size Scalability.
This class is an implementation of FrameSizeScalabilityInterface. Important node: All frames sizes in this class are payload frame sizes!
const char * Coral::ConstantBitrateFrameSizeScalability::getFrameSizeScalabilityClass | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::ConstantBitrateFrameSizeScalability::getMaxBufferDelay | ( | const double | frameRate | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::ConstantBitrateFrameSizeScalability::getMaxFrameCountForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::ConstantBitrateFrameSizeScalability::getMaxPayloadFrameSizeForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::ConstantBitrateFrameSizeScalability::getMinPayloadFrameSizeForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
void Coral::ConstantBitrateFrameSizeScalability::initConstantBitrateFrameSizeScalability | ( | const cardinal | maxFrameSize, |
const double | scaleFactor | ||
) |
Initialize object with new maximum payload frame size and scale factor. MinFrameSize = scaleFactor * MaxFrameSize.
maxFrameSize | Maximum payload frame size. |
scaleFactor | Scale factor. |
bool Coral::ConstantBitrateFrameSizeScalability::isFrameSizeScalable | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
bool Coral::ConstantBitrateFrameSizeScalability::isVariableBitrate | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.