upipe-dvbcsa/upipe_dvbcsa_common.h header reference
Header inclusion
Members
Types
- enum upipe_dvbcsa_command
- struct ustring_dvbcsa_cw
Functions
- int upipe_dvbcsa_add_pid(struct upipe *upipe, uint64_t pid)
- int upipe_dvbcsa_del_pid(struct upipe *upipe, uint64_t pid)
- int upipe_dvbcsa_set_key(struct upipe *upipe, const char *key)
- int upipe_dvbcsa_set_max_latency(struct upipe *upipe, uint64_t latency)
- struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw(const struct ustring str)
- struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw48(const struct ustring str)
- struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw64(const struct ustring str)
Macro
Members detail
This macro is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 37.
This macro is the signature for common dvbcsa pipe operations.
This macro is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 26.
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 92.
This function adds a pid to the encryption/decryption list.
Parameter list:
- upipe: description structure of the pipe
- pid: pid to add
The return value is an error code
This enum is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 41.
This enum enumerates the common custom control commands.
Identifier | Value | Description |
---|---|---|
UPIPE_DVBCSA_SENTINEL | UPIPE_CONTROL_LOCAL | sentinel |
UPIPE_DVBCSA_SET_KEY | unknown | set the dvbcsa key (const char *) |
UPIPE_DVBCSA_SET_MAX_LATENCY | unknown | set the maximum latency (uint64_t) |
UPIPE_DVBCSA_ADD_PID | unknown | add a pid to the encryption/decryption list (uint64_t) |
UPIPE_DVBCSA_DEL_PID | unknown | delete a pid from the encryption/decryption list (uint64_t) |
UPIPE_DVBCSA_CONTROL_LOCAL | unknown | custom dvbcsa commands start here |
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 105.
This function deletes a pid from the encryption/decryption list.
Parameter list:
- upipe: description structure of the pipe
- pid: pid to delete
The return value is an error code
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 66.
This function sets the dvbcsa key.
Parameter list:
- upipe: description structure of the pipe
- key: dvbcsa key
The return value is an error code
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 79.
This function sets the maximum latency of the pipe.
Parameter list:
- upipe: description structure of the pipe
- latency: maximum latency
The return value is an error code
This struct is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 111.
This struct stores a parsed dvbcsa control word.
struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw(const struct ustring str)
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 183.
This function parsed a dvbcsa control word from an ustring.
Parameter list:
- str: string to parse from
The return value is a parsed control word
struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw48(const struct ustring str)
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 155.
This function parsed a 48 bits dvbcsa control word from an ustring.
Parameter list:
- str: string to parse from
The return value is a parsed control word
struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw64(const struct ustring str)
This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 125.
This function parse a 64 bits dvbcsa control word from an ustring.
Parameter list:
- str: string to parse from
The return value is a parsed control word