![]() |
DSMCC
22.11.0
|
Section Buffer Manager (for use by Section Filter Manager and client) Provides mechanism to allocate and release buffers for section data without cost of using standard malloc and free. More...
Classes | |
struct | s_SbmInstance |
Macros | |
#define | INVALID_OFFSET 0xFFFFFFFF |
Typedefs | |
typedef struct s_SbmInstance | S_SbmInstance |
Functions | |
U8BIT * | SBM_AllocateBuffer (H_SbmInstance sbm, U8BIT size1) |
Allocate buffer for a DVB section. More... | |
void | SBM_ReleaseBuffer (H_SbmInstance sbm, U8BIT *buffer) |
Release DVB section buffer allocated with SBM_AllocateBuffer. More... | |
H_SbmInstance | SBM_CreateInstance (S_SbmSetup *pSetup) |
Create Section Buffer Manager instance, using setup structure. More... | |
void | SBM_DestroyInstance (H_SbmInstance sbm, void **pBufMtx) |
Destroy Section Filter Manager instance, and return mutexes so that they may be destroyed by client. More... | |
Section Buffer Manager (for use by Section Filter Manager and client) Provides mechanism to allocate and release buffers for section data without cost of using standard malloc and free.
U8BIT* SBM_AllocateBuffer | ( | H_SbmInstance | sbm, |
U8BIT | size1 | ||
) |
Allocate buffer for a DVB section.
H_SbmInstance | sbm SBM instance handle. |
U8BIT | size1 First 'size' byte in DVB section data That is 'section_data_ptr[1]' or section size (less 3) in 256 byte units. |
H_SbmInstance SBM_CreateInstance | ( | S_SbmSetup * | pSetup | ) |
Create Section Buffer Manager instance, using setup structure.
S_SbmSetup | setup setup parameters |
void SBM_DestroyInstance | ( | H_SbmInstance | sbm, |
void ** | pBufMtx | ||
) |
Destroy Section Filter Manager instance, and return mutexes so that they may be destroyed by client.
H_SbmInstance | sbm SBM instance handle. |
void** | pBufMtx Pointer to mtx_sem provided in setup |
void SBM_ReleaseBuffer | ( | H_SbmInstance | sbm, |
U8BIT * | buffer | ||
) |
Release DVB section buffer allocated with SBM_AllocateBuffer.
H_SbmInstance | sbm SBM instance handle. |
U8BIT* | buffer Pointer to DVB section data buffer |