![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
IC Streamer performance measurement. More...
#include <assert.h>#include <string.h>#include "stb_os.h"#include "http_interface.h"#include "glue_memory.h"#include "glue_queue.h"#include "mh5base.h"#include "mh5profile.h"#include "mh5streamer.h"#include "stmr_msp.h"#include "stmr_util.h"#include "stmr_common.h"Go to the source code of this file.
Classes | |
| struct | sMeasureRequest |
Macros | |
| #define | MAX_MEASURE_SIZE (0x7fffffff) |
| #define | USE_MAGIC |
| #define | GOOD_MAGIC 0xdeadbeef |
| #define | BAD_MAGIC 0xfefefefe |
| #define | SET_MAGIC(r) do { r->magic = GOOD_MAGIC; } while (0) |
| #define | VERIFY_MAGIC(r) assert(r->magic == GOOD_MAGIC) |
| #define | CLEAR_MAGIC(r) do { r->magic = BAD_MAGIC; } while (0) |
| #define | DBG(x) |
Typedefs | |
| typedef struct sMeasureRequest | MeasureRequest |
Functions | |
| U32BIT | MHEG5CreateMeasureRequest (U32BIT requestId, char *url, S32BIT maxBytes) |
| Create HTTP streaming performance measurement request. More... | |
| void | MHEG5StartMeasureRequest (U32BIT downloadId) |
| Start HTTP streaming performance measurement request. More... | |
| S32BIT | MHEG5GetMeasureResponseCode (U32BIT downloadId) |
| Return response code for performance measurement request. More... | |
| S32BIT | MHEG5GetMeasureStatus (U32BIT downloadId) |
| Return HTTP status of performance measurement request. More... | |
| U8BIT * | MHEG5GetMeasureRedirect (U32BIT downloadId) |
| Return the redirection URL for a request that was redirected (HTTP status 3xx). More... | |
| void | MHEG5ProcessMeasureRequest (U32BIT downloadId) |
| Process HTTP streaming performance measurement request. More... | |
| void | MHEG5StopMeasureRequest (U32BIT downloadId) |
| Stop HTTP streaming performance measurement request. More... | |
| void | MHEG5DestroyMeasureRequest (U32BIT downloadId) |
| Destroy HTTP streaming performance measurement request. More... | |
| #define BAD_MAGIC 0xfefefefe |
Definition at line 51 of file stmr_msp.c.
| #define CLEAR_MAGIC | ( | r | ) | do { r->magic = BAD_MAGIC; } while (0) |
Definition at line 54 of file stmr_msp.c.
| #define DBG | ( | x | ) |
Definition at line 61 of file stmr_msp.c.
| #define GOOD_MAGIC 0xdeadbeef |
Definition at line 50 of file stmr_msp.c.
| #define MAX_MEASURE_SIZE (0x7fffffff) |
Definition at line 43 of file stmr_msp.c.
| #define SET_MAGIC | ( | r | ) | do { r->magic = GOOD_MAGIC; } while (0) |
Definition at line 52 of file stmr_msp.c.
| #define USE_MAGIC |
Definition at line 47 of file stmr_msp.c.
| #define VERIFY_MAGIC | ( | r | ) | assert(r->magic == GOOD_MAGIC) |
Definition at line 53 of file stmr_msp.c.
| typedef struct sMeasureRequest MeasureRequest |
Create HTTP streaming performance measurement request.
| requestId | Request identifier |
| url | URL for request |
| maxBytes | Maximum number of bytes to use |
Definition at line 119 of file stmr_msp.c.
| void MHEG5DestroyMeasureRequest | ( | U32BIT | downloadId | ) |
Destroy HTTP streaming performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 329 of file stmr_msp.c.
Return the redirection URL for a request that was redirected (HTTP status 3xx).
| downloadId | Download ID for Performance measurement request |
Definition at line 248 of file stmr_msp.c.
Return response code for performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 205 of file stmr_msp.c.
Return HTTP status of performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 226 of file stmr_msp.c.
| void MHEG5ProcessMeasureRequest | ( | U32BIT | downloadId | ) |
Process HTTP streaming performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 269 of file stmr_msp.c.
| void MHEG5StartMeasureRequest | ( | U32BIT | downloadId | ) |
Start HTTP streaming performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 185 of file stmr_msp.c.
| void MHEG5StopMeasureRequest | ( | U32BIT | downloadId | ) |
Stop HTTP streaming performance measurement request.
| downloadId | Download ID for Performance measurement request |
Definition at line 310 of file stmr_msp.c.
1.8.11