DVBCore  22.11.0
Open Source DVB Engine
Classes | Macros | Functions
ap_temi.c File Reference

TEMI timeline support. More...

#include <stdio.h>
#include <string.h>
#include "techtype.h"
#include "dbgfuncs.h"
#include "stbhwc.h"
#include "stbhwos.h"
#include "stbhwdmx.h"
#include "stbheap.h"
#include "ap_temi.h"
#include "stbdpc.h"
#include "ap_dbacc.h"

Classes

struct  S_TIMELINE_STATUS
 
struct  S_TEMI_STATUS
 
struct  S_TEMI_EVENT
 
struct  S_TEMI_NOTIFICATION
 

Macros

#define DBG_ERR(x, ...)   STB_SPDebugNoCnWrite("%s:%d " x, __FUNCTION__, __LINE__, ##__VA_ARGS__)
 
#define DBG_TEMI(x, ...)
 
#define DBG_PRS(x, ...)
 
#define MAX_TEMI_FILTERS   2
 
#define TEMI_DISAPPEARANCE_TIMEOUT   2500
 
#define TEMI_TASK_STACK_SIZE   5 * 1024
 
#define TEMI_TASK_PRIORITY   9
 
#define TEMI_TASK_QUEUE_SIZE   50
 
#define TEMI_NOTIFY_TASK_STACK_SIZE   5 * 1024
 
#define TEMI_NOTIFY_TASK_PRIORITY   0
 
#define TEMI_NOTIFY_TASK_QUEUE_SIZE   10
 

Functions

void TEMI_Initialise (void)
 Initialises TEMI timeline monitoring.
 
void TEMI_Finalise (void)
 Finalises TEMI timeline monitoring.
 
U16BIT TEMI_StartMonitoring (U8BIT path, U8BIT component_tag, U8BIT timeline_id, TEMI_CALLBACK cb)
 Start specified TEMI timeline monitoring. More...
 
void TEMI_StopMonitoring (U16BIT filt_id)
 Stop specified TEMI timeline monitoring. More...
 
S_TEMI_TIMESTAMP TEMI_GetCurrentTimestamp (U16BIT filt_id)
 Get the current timestamp of the specified TEMI timeline. More...
 

Detailed Description

TEMI timeline support.

Function Documentation

S_TEMI_TIMESTAMP TEMI_GetCurrentTimestamp ( U16BIT  filt_id)

Get the current timestamp of the specified TEMI timeline.

Parameters
filter_idRequired TEMI timeline identifier.
Returns
Current Temi timestamp.
U16BIT TEMI_StartMonitoring ( U8BIT  path,
U8BIT  component_tag,
U8BIT  timeline_id,
TEMI_CALLBACK  cb 
)

Start specified TEMI timeline monitoring.

Parameters
pathRequired decode path number.
component_tagComponent tag to monitor.
timeline_idTimeline ID to monitor.
cbFunction to report TEMI notifications
Returns
New TEMI timeline identifier or invalid id.
void TEMI_StopMonitoring ( U16BIT  filt_id)

Stop specified TEMI timeline monitoring.

Parameters
filter_idRequired TEMI timeline identifier.