upipe/upipe_helper_uclock.h header reference
Upipe helper functions for uclock More
Header inclusion
Members
Macro
Description
Upipe helper functions for uclock
Members detail
This macro is declared in upipe/upipe_helper_uclock.h source file, line 81.
This macro declares four functions dealing with the uclock.
You must add one pointer to your private upipe structure, for instance:
Supposing the name of your structure is upipe_foo, it declares:
Typically called in your upipe_foo_alloc() function.
Typically called from your upipe_foo_control() handler, such as:
case UPIPE_ATTACH_UREF_MGR: {
return upipe_foo_attach_uclock(upipe);
}Checks if the uclock is available, and asks for it otherwise.
Typically called from your upipe_foo_free() function.
Parameters list:
- STRUCTURE: name of your private upipe structure
- UCLOCK: name of the struct uclock * field of your private upipe structure
This macro is declared in upipe/upipe_helper_uclock.h source file, line 31.