upipe-ts/upipe_ts_psi_generator.h header reference
Upipe module generating PSI tables More
Header inclusion
Members
Type
Functions
- struct upipe_mgr * upipe_ts_psig_mgr_alloc(void )
- bool upipe_ts_psig_program_get_pcr_pid(struct upipe *upipe, unsigned int *pcr_pid_p)
- bool upipe_ts_psig_program_set_pcr_pid(struct upipe *upipe, unsigned int pcr_pid)
Description
Members detail
This macro is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 35.
This macro is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 34.
This macro is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 33.
This macro is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 26.
struct upipe_mgr * upipe_ts_psig_mgr_alloc(void )
This function is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 78.
This function returns the management structure for all ts_psig pipes.
The return value is pointer to manager
This enum is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 39.
This enum extends upipe_command with specific commands for ts_psig_program.
Identifier | Value | Description |
---|---|---|
UPIPE_TS_PSIG_PROGRAM_SENTINEL | 0 | |
UPIPE_TS_PSIG_PROGRAM_GET_PCR_PID | 1 | returns the current PCR PID (unsigned int *) |
UPIPE_TS_PSIG_PROGRAM_SET_PCR_PID | 2 | sets the PCR PID (unsigned int) |
bool upipe_ts_psig_program_get_pcr_pid(struct upipe *upipe, unsigned int *pcr_pid_p)
This function is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 56.
This function returns the current PCR PID.
Parameters list:
- upipe: description structure of the pipe
- pcr_pid_p: filled in with the pcr_pid
The return value is false in case of error
bool upipe_ts_psig_program_set_pcr_pid(struct upipe *upipe, unsigned int pcr_pid)
This function is declared in upipe-ts/upipe_ts_psi_generator.h source file, line 69.
This function sets the PCR PID.
Parameters list:
- upipe: description structure of the pipe
- pcr_pid: pcr_pid
The return value is false in case of error