MHEG5  18.9.0
MHEG5 Documentation
Macros | Functions
stmr_util.c File Reference

Utilitiy functions for IC Streamer. More...

#include <assert.h>
#include <stdio.h>
#include <string.h>
#include "glue_debug.h"
#include "glue_ulong.h"

Go to the source code of this file.

Macros

#define DBG(x)
 
#define PDBG(x)   TRACE(TICS, x)
 

Functions

void ULL_Print (U64BIT size)
 Print a stream size value (for debug purposes). More...
 
char * ULL_ToString (U64BIT val)
 Convert 64 bit value to string (for debug purposes). More...
 
U32BIT MHEG5GetUniqueId (void)
 Return a unique ID. The ID is a non-zero 32-bit value. It is guaranteed to be unique for the first 0x7fffffff calls. More...
 

Detailed Description

Utilitiy functions for IC Streamer.

Date
21/10/2010
Author
Omri Barel

Definition in file stmr_util.c.

Macro Definition Documentation

#define DBG (   x)

Definition at line 36 of file stmr_util.c.

#define PDBG (   x)    TRACE(TICS, x)

Definition at line 37 of file stmr_util.c.

Function Documentation

U32BIT MHEG5GetUniqueId ( void  )

Return a unique ID. The ID is a non-zero 32-bit value. It is guaranteed to be unique for the first 0x7fffffff calls.

Returns
Unique ID

Definition at line 98 of file stmr_util.c.

void ULL_Print ( U64BIT  size)

Print a stream size value (for debug purposes).

Parameters
sizeStream size
Returns
Nothing

Definition at line 54 of file stmr_util.c.

char* ULL_ToString ( U64BIT  val)

Convert 64 bit value to string (for debug purposes).

Parameters
val64 bit integer
Returns
Pointer to a static string

Definition at line 74 of file stmr_util.c.