upipe-ts/upipe_rtp_fec.h header reference
Upipe rtp-fec (ffmpeg) module More
Header inclusion [link]
Members [link]
Type [link]
- enum rtp_fec_command
Functions [link]
- struct upipe * upipe_rtp_fec_alloc(struct upipe_mgr *mgr, struct uprobe *uprobe, struct uprobe *uprobe_main, struct uprobe *uprobe_col, struct uprobe *uprobe_row)
- int upipe_rtp_fec_get_col_sub(struct upipe *upipe, struct upipe **upipe_p)
- int upipe_rtp_fec_get_columns(struct upipe *upipe, uint64_t *columns)
- int upipe_rtp_fec_get_latency(struct upipe *upipe, uint64_t *latency)
- int upipe_rtp_fec_get_main_sub(struct upipe *upipe, struct upipe **upipe_p)
- int upipe_rtp_fec_get_packets_lost(struct upipe *upipe, uint64_t *lost)
- int upipe_rtp_fec_get_packets_recovered(struct upipe *upipe, uint64_t *recovered)
- int upipe_rtp_fec_get_row_sub(struct upipe *upipe, struct upipe **upipe_p)
- int upipe_rtp_fec_get_rows(struct upipe *upipe, uint64_t *rows)
- struct upipe_mgr * upipe_rtp_fec_mgr_alloc(void )
- int upipe_rtp_fec_set_max_latency(struct upipe *upipe, uint64_t max_latency)
- int upipe_rtp_fec_set_pt(struct upipe *upipe, unsigned int pt)
Description [link]
Upipe rtp-fec (ffmpeg) module
Members detail [link]
#define UPIPE_RTP_FEC_INPUT_SIGNATURE [link]
This macro is declared in upipe-ts/upipe_rtp_fec.h source file, line 34.
#define UPIPE_RTP_FEC_SIGNATURE [link]
This macro is declared in upipe-ts/upipe_rtp_fec.h source file, line 33.
#define _UPIPE_TS_UPIPE_RTP_FEC_H_ [link]
This macro is declared in upipe-ts/upipe_rtp_fec.h source file, line 26.
enum rtp_fec_command [link]
This enum is declared in upipe-ts/upipe_rtp_fec.h source file, line 38.
This enum extends upipe_command with specific commands for avcodec decode.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_RTP_FEC_SENTINEL | 0x8000 | |
| UPIPE_RTP_FEC_GET_MAIN_SUB | 1 | returns the main subpipe (struct upipe **) |
| UPIPE_RTP_FEC_GET_COL_SUB | 2 | returns the fec-column subpipe (struct upipe **) |
| UPIPE_RTP_FEC_GET_ROW_SUB | 3 | returns the fec-row subpipe (struct upipe **) |
| UPIPE_RTP_FEC_GET_PACKETS_LOST | 4 | returns the number of non recovered packets (uint64_t *) |
| UPIPE_RTP_FEC_GET_PACKETS_RECOVERED | 5 | returns the number of recovered packets (uint64_t *) |
| UPIPE_RTP_FEC_GET_ROWS | 6 | returns the number of rows (uint64_t *) |
| UPIPE_RTP_FEC_GET_COLUMNS | 7 | returns the number of columns (uint64_t *) |
| UPIPE_RTP_FEC_SET_PT | 8 | sets expected payload type (unsigned) |
| UPIPE_RTP_FEC_SET_MAX_LATENCY | 9 | sets max latency (uint64_t) |
| UPIPE_RTP_FEC_GET_LATENCY | 10 | returns the current latency (uint64_t *) |
struct upipe * upipe_rtp_fec_alloc(struct upipe_mgr *mgr, struct uprobe *uprobe, struct uprobe *uprobe_main, struct uprobe *uprobe_col, struct uprobe *uprobe_row) [link]
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 191.
This function allocates and initializes a rtp fec pipe.
Parameter list:
- mgr: management structure for rtp fec type
- uprobe: structure used to raise events for the super pipe
- uprobe_pic: structure used to raise events for the pic subpipe
- uprobe_sound: structure used to raise events for the sound subpipe
- uprobe_subpic: structure used to raise events for the subpic subpipe
The return value is pointer to allocated pipe, or NULL in case of failure
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 114.
This function returns the pic subpipe. The refcount is not incremented so you have to use it if you want to keep the pointer.
Parameter list:
- upipe: description structure of the super pipe
- upipe_p: filled in with a pointer to the pic subpipe
The return value is an error code
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 72.
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 166.
This function returns the current latency
Parameter list:
- upipe: description structure of the pipe
- latency: filled with the current latency
The return value is an error code
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 100.
This function returns the pic subpipe. The refcount is not incremented so you have to use it if you want to keep the pointer.
Parameter list:
- upipe: description structure of the super pipe
- upipe_p: filled in with a pointer to the pic subpipe
The return value is an error code
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 79.
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 86.
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 128.
This function returns the pic subpipe. The refcount is not incremented so you have to use it if you want to keep the pointer.
Parameter list:
- upipe: description structure of the super pipe
- upipe_p: filled in with a pointer to the pic subpipe
The return value is an error code
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 65.
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 175.
This function returns the management structure for rtp_fec pipes.
The return value is pointer to manager
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 153.
This function sets the maximum latency
Parameter list:
- upipe: description structure of the pipe
- max_latency: maximum latency (0 = disable)
The return value is an error code
This function is declared in upipe-ts/upipe_rtp_fec.h source file, line 140.
This function sets the expected payload type
Parameter list:
- upipe: description structure of the super pipe
- pt: expected payload type
The return value is an error code