RTP Audio System
2.0.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 ResourceUtilizationPoint::ccw | ( | const ResourceUtilizationPoint & | p0, |
const ResourceUtilizationPoint & | p1, | ||
const ResourceUtilizationPoint & | p2 | ||
) | [inline, static, private] |
cardinal 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 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 ResourceUtilizationPoint::operator!= | ( | const ResourceUtilizationPoint & | rup | ) | const [inline] |
Operator "!=".
int ResourceUtilizationPoint::operator== | ( | const ResourceUtilizationPoint & | rup | ) | const [inline] |
Operator "==".
cardinal 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. |
void ResourceUtilizationPoint::reset | ( | ) |
Reset.
void 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 ResourceUtilizationPoint::swapResourceUtilizationPoints | ( | ResourceUtilizationPoint & | a, |
ResourceUtilizationPoint & | b | ||
) | [inline, static, private] |
Total bandwidth.
Bandwidth cost.
Frame rate.
Array of layers' bandwidth requirements.
Number of layers.
Layer to DiffServ class mapping possibilities.
Total utilization.