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"
 | 
| 
#define  | LOOK_AHEAD_DIFF   1000 | 
|   | 
| 
#define  | LOOK_AHEAD_THRESHOLD   2500 | 
|   | 
| 
#define  | PDBG(x)   TRACE(TICS, x) | 
|   | 
| 
#define  | DBG(x) | 
|   | 
 | 
| enum   | TaskState { TASK_RUNNING, 
TASK_STOP_REQUEST, 
TASK_STOPPED
 } | 
|   | 
IC Streeamer Task. 
- Date
 - 21/10/2010 
 
- Author
 - Omri Barel 
 
 
      
        
          | 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. 
- Returns
 - Nothing 
 
 
 
      
        
          | void MHEG5StreamerSendSignalToTask  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Send signal to streamer task to wake it up (if it's asleep) 
- Returns
 - Nothing 
 
 
 
      
        
          | 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. 
- Parameters
 - 
  
    | stack | Stack size for the task  | 
    | priority | Task priority  | 
  
   
- Returns
 - E_MhegErr 
 
 
 
      
        
          | void MHEG5StreamerStopTask  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
Stop streamer task. This function blocks until the task is stopped. 
- Returns
 - void