RTP Trace System
1.0
|
Resource Utilization Point. More...
#include <resourceutilizationpoint.h>
Resource Utilization Point.
This class is a resource/utilization point used for the bandwidth mapping algorithm.
static integer Coral::ResourceUtilizationPoint::ccw | ( | const ResourceUtilizationPoint & | p0, |
const ResourceUtilizationPoint & | p1, | ||
const ResourceUtilizationPoint & | p2 | ||
) | [inline, static, private] |
cardinal Coral::ResourceUtilizationPoint::grahamScanResourceUtilizationList | ( | ResourceUtilizationPoint * | rup, |
const cardinal | count | ||
) | [static] |
Compute convex hull on resource/utilization list using Graham Scan algorithm.
rup | List. |
count | Number of entries in list. |
cardinal Coral::ResourceUtilizationPoint::mergeResourceUtilizationLists | ( | ResourceUtilizationPoint * | destination, |
ResourceUtilizationPoint ** | listArray, | ||
const cardinal * | listSizeArray, | ||
const cardinal | listCount | ||
) | [static] |
Merge resource/utilization lists.
destination | Destination list. |
listArray | Array of lists to merge. |
listSizeArray | Array of list sizes. |
listCount | Number of lists. |
int Coral::ResourceUtilizationPoint::operator!= | ( | const ResourceUtilizationPoint & | rup | ) | const [inline] |
Operator "!=".
int Coral::ResourceUtilizationPoint::operator== | ( | const ResourceUtilizationPoint & | rup | ) | const [inline] |
Operator "==".
Reset.
static cardinal Coral::ResourceUtilizationPoint::ResourceUtilizationPoint::optimizeResourceUtilizationList | ( | ResourceUtilizationPoint * | rup, |
const cardinal | count | ||
) | [static] |
Optimize resource/utilization list by utilization: Eliminate points which have higher resource requirements or cost than higher-utilized points following.
rup | List. |
count | Number of entries in list. |
static void Coral::ResourceUtilizationPoint::ResourceUtilizationPoint::sortResourceUtilizationList | ( | ResourceUtilizationPoint * | rup, |
const integer | start, | ||
const integer | end | ||
) | [static] |
Sort resource/utilization list by utilization.
rup | List. |
start | First point number. |
end | Last point number. |
static void Coral::ResourceUtilizationPoint::swapResourceUtilizationPoints | ( | ResourceUtilizationPoint & | a, |
ResourceUtilizationPoint & | b | ||
) | [inline, static, private] |
Total bandwidth.
Bandwidth cost.
Frame rate.
BandwidthInfo Coral::ResourceUtilizationPoint::LayerBandwidthInfo[RTPConstants::RTPMaxQualityLayers] |
Array of layers' bandwidth requirements.
Number of layers.
Layer to DiffServ class mapping possibilities.
Total utilization.