![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
IC Streeamer Task. More...
#include <assert.h>
#include <string.h>
#include "mh5debug.h"
#include "httptype.h"
#include "stb_os.h"
#include "dvb_ics.h"
#include "stmr_queue.h"
#include "stmr_common.h"
Go to the source code of this file.
Macros | |
#define | LOOK_AHEAD_DIFF 1000 |
#define | LOOK_AHEAD_THRESHOLD 2500 |
#define | PDBG(x) TRACE(TICS, x) |
#define | DBG(x) |
Enumerations | |
enum | TaskState { TASK_RUNNING, TASK_STOP_REQUEST, TASK_STOPPED } |
Functions | |
E_MhegErr | MHEG5StreamerStartTask (U32BIT stack, U8BIT priority) |
Start streamer task. The task passes stream data to the external application and generates stream and engine events for the MHEG-5 application. More... | |
void | MHEG5StreamerSendSignalToTask (void) |
Send signal to streamer task to wake it up (if it's asleep) More... | |
void | MHEG5StreamerRegisterUnderflowCallback (void(*callback)(U32BIT requestId, U32BIT playoutTime)) |
Register notification callback for underflow events. If a callback is already registered for the event, it will be replaced. More... | |
void | MHEG5StreamerStopTask (void) |
Stop streamer task. This function blocks until the task is stopped. More... | |
#define DBG | ( | x | ) |
Definition at line 56 of file stmr_task.c.
#define LOOK_AHEAD_DIFF 1000 |
Definition at line 44 of file stmr_task.c.
#define LOOK_AHEAD_THRESHOLD 2500 |
Definition at line 53 of file stmr_task.c.
#define PDBG | ( | x | ) | TRACE(TICS, x) |
Definition at line 55 of file stmr_task.c.
enum TaskState |
Enumerator | |
---|---|
TASK_RUNNING | |
TASK_STOP_REQUEST | |
TASK_STOPPED |
Definition at line 61 of file stmr_task.c.
void MHEG5StreamerRegisterUnderflowCallback | ( | void(*)(U32BIT requestId, U32BIT playoutTime) | callback | ) |
Register notification callback for underflow events. If a callback is already registered for the event, it will be replaced.
Definition at line 136 of file stmr_task.c.
void MHEG5StreamerSendSignalToTask | ( | void | ) |
Send signal to streamer task to wake it up (if it's asleep)
Definition at line 122 of file stmr_task.c.
Start streamer task. The task passes stream data to the external application and generates stream and engine events for the MHEG-5 application.
stack | Stack size for the task |
priority | Task priority |
Definition at line 92 of file stmr_task.c.
void MHEG5StreamerStopTask | ( | void | ) |
Stop streamer task. This function blocks until the task is stopped.
Definition at line 145 of file stmr_task.c.