RTP Trace System
1.0
|
Trace Frame Size Scalability. More...
#include <traceframesizescalability.h>
Public Member Functions | |
TraceFrameSizeScalability () | |
~TraceFrameSizeScalability () | |
void | initFrameSizeScalability (TDTFReader *traceReader, const card64 position, const cardinal layer, 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 |
double | getPayloadFrameSizeUtilizationForDelayAndSize (const double frameRate, const cardinal bufferDelay, const cardinal frameSize) const |
double | getFrameSizeUtilizationWeight (const double frameRate) const |
cardinal | getMaxBufferDelay (const double frameRate) const |
Protected Attributes | |
TDTFReader * | TraceReader |
card64 | Position |
double | ScaleFactor |
cardinal | Layer |
Trace Frame Size Scalability.
This class is am implementation of FrameSizeScalabilityInterface. Important node: All frames sizes in this class are payload frame sizes!
Constructor.
Desstructor.
const char * Coral::TraceFrameSizeScalability::getFrameSizeScalabilityClass | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
Reimplemented in Coral::TraceLayerDescription.
double Coral::TraceFrameSizeScalability::getFrameSizeUtilizationWeight | ( | const double | frameRate | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Reimplemented from Coral::GenericFrameSizeScalability.
cardinal Coral::TraceFrameSizeScalability::getMaxBufferDelay | ( | const double | frameRate | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::TraceFrameSizeScalability::getMaxFrameCountForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::TraceFrameSizeScalability::getMaxPayloadFrameSizeForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::TraceFrameSizeScalability::getMinPayloadFrameSizeForDelay | ( | const double | frameRate, |
const cardinal | bufferDelay | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
double Coral::TraceFrameSizeScalability::getPayloadFrameSizeUtilizationForDelayAndSize | ( | const double | frameRate, |
const cardinal | bufferDelay, | ||
const cardinal | frameSize | ||
) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Reimplemented from Coral::GenericFrameSizeScalability.
void Coral::TraceFrameSizeScalability::initFrameSizeScalability | ( | TDTFReader * | traceReader, |
const card64 | position, | ||
const cardinal | layer, | ||
const double | scaleFactor | ||
) |
Initialize object with new maximum payload frame size and scale factor. MinFrameSize = scaleFactor * MaxFrameSize.
traceReader | TDTFReader. |
position | Position (for TDTFReader). |
layer | Layer number (for TDTFReader). |
scaleFactor | Scale factor. |
bool Coral::TraceFrameSizeScalability::isFrameSizeScalable | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
bool Coral::TraceFrameSizeScalability::isVariableBitrate | ( | ) | const [virtual] |
Implementation of FrameSizeScalabilityInterface.
Implements Coral::FrameSizeScalabilityInterface.
cardinal Coral::TraceFrameSizeScalability::Layer [protected] |
card64 Coral::TraceFrameSizeScalability::Position [protected] |
double Coral::TraceFrameSizeScalability::ScaleFactor [protected] |
TDTFReader* Coral::TraceFrameSizeScalability::TraceReader [protected] |