Public Member Functions | Protected Member Functions | Protected Attributes

QA Class Reference

Inheritance diagram for QA:
MediaApp Application Process

List of all members.

Public Member Functions

 QA (const char *page)
virtual AppDataget_data (int &size, AppData *req_data=0)
void UpdateState ()
double UpdateInterval ()

Protected Member Functions

virtual int command (int argc, const char *const *argv)
virtual void stop ()
void check_availability (int layer, const MediaSegment &s)
RapAgentrap ()
double MWM (double srtt)
double rate ()
double BufNeed (double side, double slope)
int AllZero (double *arr, int len)
double TotalBuf (int n, double *buffer)
AppDataoutput (int &size, int layer)
void DumpInfo (double t, double last_t, double rate, double avgrate, double srtt)
double bufOptScen1 (int layer, int layers, double currrate, double slope, int backoffs)
double bufOptScen2 (int layer, int layers, double currrate, double slope, int backoffs)
void drain_buf (double *DrainArr, double bufToDrain, double *FinalDrainArray, double *bufAvail, int layers, double rate, double srtt)
void DrainPacket (double bufToDrain, double *FinalDrainArray, int layers, double rate, double srtt, double *FinalBuffer)
void DrainBuffers ()
void debug (const char *fmt,...)
void panic (const char *fmt,...)
void check_layers (int layer, MediaSegment &tmp)

Protected Attributes

int layer_
double playTime_
double startTime_
double buffer_ [MAX_LAYER]
double drained_ [MAX_LAYER]
double bw_ [MAX_LAYER]
int playing_ [MAX_LAYER]
int sending_ [MAX_LAYER]
double avgrate_
double rate_weight_
int poffset_
MediaSegmentList outlist_ [MAX_LAYER]
int pref_ [MAX_LAYER]
int debug_
double pref_srtt_

The documentation for this class was generated from the following files: