upipe-modules/upipe_trickplay.h header reference

Upipe module facilitating trick play operations More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe module facilitating trick play operations

Members detail  

#define UPIPE_TRICKP_SIGNATURE  

This macro is declared in upipe-modules/upipe_trickplay.h source file, line 38.

#define UPIPE_TRICKP_SUB_SIGNATURE  

This macro is declared in upipe-modules/upipe_trickplay.h source file, line 39.

#define _UPIPE_MODULES_UPIPE_TRICKPLAY_H_  

This macro is declared in upipe-modules/upipe_trickplay.h source file, line 31.

enum upipe_trickp_command  

This enum is declared in upipe-modules/upipe_trickplay.h source file, line 43.

This enum extends upipe_command with specific commands for trickp pipes.

IdentifierValueDescription
UPIPE_TRICKP_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_TRICKP_GET_RATEunknownreturns the current playing rate (struct urational *)
UPIPE_TRICKP_SET_RATEunknownsets the playing rate (struct urational)

int upipe_trickp_get_rate(struct upipe *upipe, struct urational *rate_p)  

This function is declared in upipe-modules/upipe_trickplay.h source file, line 66.

This function returns the current playing rate.

Parameter list:

  • upipe: description structure of the pipe
  • rate_p: filled with the current rate

The return value is an error code

struct upipe_mgr * upipe_trickp_mgr_alloc(void )  

This function is declared in upipe-modules/upipe_trickplay.h source file, line 56.

This function returns the management structure for all trickp pipes.

The return value is pointer to manager

int upipe_trickp_set_rate(struct upipe *upipe, struct urational rate)  

This function is declared in upipe-modules/upipe_trickplay.h source file, line 79.

This function sets the playing rate.

Parameter list:

  • upipe: description structure of the pipe
  • rate: new rate (1/1 = normal play, 0 = pause)

The return value is an error code

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc