upipe/uclock.h header reference

structure provided by the application to retrieve system time More

Header inclusion  

Members  

Type  

Functions  

Description  

structure provided by the application to retrieve system time

Members detail  

#define UCLOCK_FREQ  

This macro is declared in upipe/uclock.h source file, line 42.

#define _UPIPE_UCLOCK_H_  

This macro is declared in upipe/uclock.h source file, line 31.

struct uclock  

This struct is declared in upipe/uclock.h source file, line 46.

This struct is a structure allowing to retrieve system time.

FieldDescription
struct urefcount *refcount;pointer to refcount management structure
uint64_t (*uclock_now)(struct uclock *) ;function returning the current system time

uint64_t uclock_now(struct uclock *uclock)  

This function is declared in upipe/uclock.h source file, line 60.

This function returns the current system time.

Parameters list:

  • uclock: pointer to uclock

The return value is current system time in 27 MHz ticks

void uclock_release(struct uclock *uclock)  

This function is declared in upipe/uclock.h source file, line 82.

This function decrements the reference count of a uclock or frees it.

Parameters list:

  • uclock: pointer to uclock

struct uclock * uclock_use(struct uclock *uclock)  

This function is declared in upipe/uclock.h source file, line 70.

This function increments the reference count of a uclock.

Parameters list:

  • uclock: pointer to uclock

The return value is same pointer to uclock

Valid XHTML 1.0 StrictGenerated by cmassiot on Thu Nov 6 12:15:33 2014 using MkDoc