|
|
This is an array of layer traces.
|
Constructor.
Parameters:
config | TraceConfiguration object with configuration of the trace. |
~ |
[virtual]
Destructor.
void |
Initialize trace array.
Parameters:
maxLayers | Maximum number of layers. |
maxFrames | Maximum number of frames. |
void |
[const]
Calculate empirical envelope.
Parameters:
layer | Layer number to calculate empirical envelope for. |
start | Start position. |
end | End position. |
traceStart | Trace start position. |
traceEnd | Trace end position. |
ee | Initialized EmpiricalEnvelope to write sums into. |
frameCount | true, to calculate empirical envelope for frame count; false for byterate. |
void |
[const]
Calculate optimal intervals refering to given configuration.
Parameters:
costArray | Array to store costs into. |
lengthArray | Array to store lengths into. |
minLength | Minimum length. |
maxLength | Maximum length. |
inline double |
[const]
Calculate traffic cost for an interval.
Parameters:
position | Position. |
length | Length. |
Returns: Cost.
TraceArray* |
[const virtual]
Decrease frame rate to next lower setting.
Returns: TraceArray containing next lower frame rate setting or NULL, if current setting is lowest.
cardinal |
cardinal |
cardinal |
cardinal |
double |
EmpiricalEnvelope* |
[const]
Initialize EmpiricalEnvelope.
Parameters:
buffer | Buffer for empirical envelope. |
eePairs | Number of D-BIND pairs. |
frameCount | true, if empirical envelope is for frame count; false for byterate. |
Returns: Required size.
TraceConfiguration |
[protected]