upipe-modules/upipe_trickplay.h header reference
Upipe module facilitating trick play operations More
Header inclusion
Members
Type
- enum upipe_trickp_command
Functions
- int upipe_trickp_get_rate(struct upipe *upipe, struct urational *rate_p)
- struct upipe_mgr * upipe_trickp_mgr_alloc(void )
- int upipe_trickp_set_rate(struct upipe *upipe, struct urational rate)
Description
Upipe module facilitating trick play operations
Members detail
This macro is declared in upipe-modules/upipe_trickplay.h source file, line 38.
This macro is declared in upipe-modules/upipe_trickplay.h source file, line 39.
This macro is declared in upipe-modules/upipe_trickplay.h source file, line 31.
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.
Identifier | Value | Description |
---|---|---|
UPIPE_TRICKP_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_TRICKP_GET_RATE | unknown | returns the current playing rate (struct urational *) |
UPIPE_TRICKP_SET_RATE | unknown | sets 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
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