MHEG5  15.3.0
source/ics/src/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"

Defines

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

Functions

void ULL_Print (U64BIT size)
 Print a stream size value (for debug purposes).
char * ULL_ToString (U64BIT val)
 Convert 64 bit value to string (for debug purposes).
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.

Detailed Description

Utilitiy functions for IC Streamer.

Date:
21/10/2010
Author:
Omri Barel

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
void ULL_Print ( U64BIT  size)

Print a stream size value (for debug purposes).

Parameters:
sizeStream size
Returns:
Nothing
char* ULL_ToString ( U64BIT  val)

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

Parameters:
val64 bit integer
Returns:
Pointer to a static string
 All Data Structures Files Functions Variables Typedefs Defines