upipe-dvbcsa/upipe_dvbcsa_common.h header reference

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Macro [link] 

Members detail [link] 

#define UPIPE_DVBCSA_COMMON_SIGNATURE [link] 

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.

#define _UPIPE_DVBCSA_UPIPE_DVBCSA_COMMON_H_ [link] 

This macro is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 26.

int upipe_dvbcsa_add_pid(struct upipe *upipe, uint64_t pid) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 79.

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

enum upipe_dvbcsa_command [link] 

This enum is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 41.

This enum enumerates the common custom control commands.

IdentifierValueDescription
UPIPE_DVBCSA_SENTINEL0x8000sentinel
UPIPE_DVBCSA_SET_KEY1set the dvbcsa key (const char *, const char *)
UPIPE_DVBCSA_SET_MAX_LATENCY2set the maximum latency (uint64_t)
UPIPE_DVBCSA_ADD_PID3add a pid to the encryption/decryption list (uint64_t)
UPIPE_DVBCSA_DEL_PID4delete a pid from the encryption/decryption list (uint64_t)
UPIPE_DVBCSA_CONTROL_LOCAL5custom dvbcsa commands start here

int upipe_dvbcsa_del_pid(struct upipe *upipe, uint64_t pid) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 92.

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

int upipe_dvbcsa_set_key(struct upipe *upipe, const char *even_key, const char *odd_key) [link] 

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

struct ustring_dvbcsa_cw [link] 

This struct is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 98.

This struct stores a parsed dvbcsa control word.

FieldDescription
struct ustring str;matching part of the string
union <anonymous> {value of the parsed control word
dvbcsa_cw_t value;
uint8_t aes[16];
};

struct ustring_dvbcsa_cw ustring_to_dvbcsa_cw(const struct ustring str) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 196.

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_cw128(const struct ustring str) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 115.

This function parse a 128 bits dvb-cisssa 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) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 168.

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) [link] 

This function is declared in upipe-dvbcsa/upipe_dvbcsa_common.h source file, line 138.

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

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc