upipe-ts/upipe_ts_mux.h header reference

Upipe higher-level module muxing elementary streams in a TS More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe higher-level module muxing elementary streams in a TS

Members detail  

#define UPIPE_TS_MUX_INPUT_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 36.

#define UPIPE_TS_MUX_MGR_GET_SET_MGR(name, NAME)  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 343.

#define UPIPE_TS_MUX_MGR_GET_SET_MGR2(name, NAME)  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 361.

#define UPIPE_TS_MUX_PROGRAM_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 35.

#define UPIPE_TS_MUX_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 34.

#define _UPIPE_TS_UPIPE_TS_MUX_H_  

This macro is declared in upipe-ts/upipe_ts_mux.h source file, line 26.

enum upipe_ts_mux_command  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 50.

This enum extends upipe_command with specific commands for ts mux.

IdentifierValueDescription
UPIPE_TS_MUX_SENTINEL0
UPIPE_TS_MUX_GET_CONFORMANCE1returns the current conformance (int *)
UPIPE_TS_MUX_SET_CONFORMANCE2sets the conformance (int)
UPIPE_TS_MUX_GET_PAT_INTERVAL3returns the current PAT interval (uint64_t *)
UPIPE_TS_MUX_SET_PAT_INTERVAL4sets the PAT interval (uint64_t)
UPIPE_TS_MUX_GET_PMT_INTERVAL5returns the current PMT interval (uint64_t *)
UPIPE_TS_MUX_SET_PMT_INTERVAL6sets the PMT interval (uint64_t)
UPIPE_TS_MUX_GET_PCR_INTERVAL7returns the current PCR interval (uint64_t *)
UPIPE_TS_MUX_SET_PCR_INTERVAL8sets the PCR interval (uint64_t)
UPIPE_TS_MUX_GET_OCTETRATE9returns the current mux octetrate (uint64_t *)
UPIPE_TS_MUX_SET_OCTETRATE10sets the mux octetrate (uint64_t)
UPIPE_TS_MUX_GET_PADDING_OCTETRATE11returns the current padding octetrate (uint64_t *)
UPIPE_TS_MUX_SET_PADDING_OCTETRATE12sets the padding octetrate (uint64_t)
UPIPE_TS_MUX_GET_MODE13returns the current mode (int *)
UPIPE_TS_MUX_SET_MODE14sets the mode (int)
UPIPE_TS_MUX_GET_MTU15returns the configured MTU (unsigned int *)
UPIPE_TS_MUX_SET_MTU16sets the MTU (unsigned int)
UPIPE_TS_MUX_GET_VERSION17returns the current version number of the table (unsigned int *)
UPIPE_TS_MUX_SET_VERSION18sets the version number of the table (unsigned int)

int upipe_ts_mux_get_conformance(struct upipe *upipe, enum upipe_ts_conformance *conformance_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 101.

This function returns the current conformance mode. It cannot return UPIPE_TS_CONFORMANCE_AUTO.

Parameters list:

  • upipe: description structure of the pipe
  • conformance_p: filled in with the conformance

The return value is an error code

int upipe_ts_mux_get_mode(struct upipe *upipe, enum upipe_ts_mux_mode *mode_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 263.

This function returns the current mode. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • mode_p: filled in with the mode

The return value is an error code

int upipe_ts_mux_get_mtu(struct upipe *upipe, unsigned int *mtu_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 289.

This function returns the configured mtu of TS packets. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • mtu_p: filled in with the configured mtu, in octets

The return value is an error code

int upipe_ts_mux_get_octetrate(struct upipe *upipe, uint64_t *octetrate_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 209.

This function returns the current mux octetrate. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • octetrate_p: filled in with the octetrate

The return value is an error code

int upipe_ts_mux_get_padding_octetrate(struct upipe *upipe, uint64_t *octetrate_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 236.

This function returns the current padding octetrate.

Parameters list:

  • upipe: description structure of the pipe
  • octetrate_p: filled in with the octetrate

The return value is an error code

int upipe_ts_mux_get_pat_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 128.

This function returns the current PAT interval.

Parameters list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_pcr_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 182.

This function returns the current PCR interval.

Parameters list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_pmt_interval(struct upipe *upipe, uint64_t *interval_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 155.

This function returns the current PMT interval.

Parameters list:

  • upipe: description structure of the pipe
  • interval_p: filled in with the interval

The return value is an error code

int upipe_ts_mux_get_version(struct upipe *upipe, unsigned int *version_p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 316.

This function returns the current version of the PSI table. It may also be called on upipe_ts_psi_generator.

Parameters list:

  • upipe: description structure of the pipe
  • version_p: filled in with the version

The return value is an error code

struct upipe_mgr * upipe_ts_mux_mgr_alloc(void )  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 339.

This function returns the management structure for all ts_mux pipes.

The return value is pointer to manager

enum upipe_ts_mux_mgr_command  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 342.

This enum is a list of specific commands for ts mux managers.

IdentifierValueDescription
UPIPE_TS_MUX_MGR_GET_TS_AGG_MGR0returns the current manager for ts_agg subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_AGG_MGR1sets the manager for ts_agg subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_JOIN_MGR2returns the current manager for ts_join subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_JOIN_MGR3sets the manager for ts_join subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_ENCAPS_MGR4returns the current manager for ts_encaps subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_ENCAPS_MGR5sets the manager for ts_encaps subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_PESE_MGR6returns the current manager for ts_pese subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_PESE_MGR7sets the manager for ts_pese subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_PSIG_MGR8returns the current manager for ts_psig subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_PSIG_MGR9sets the manager for ts_psig subpipes (struct upipe_mgr *)
UPIPE_TS_MUX_MGR_GET_TS_PSII_MGR10returns the current manager for ts_psii subpipes (struct upipe_mgr **)
UPIPE_TS_MUX_MGR_SET_TS_PSII_MGR11sets the manager for ts_psii subpipes (struct upipe_mgr *)

int upipe_ts_mux_mgr_get_ts_agg_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 391.

This function returns the current manager for ts_agg subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_agg manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 392.

This function returns the current manager for ts_encaps subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_encaps manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 390.

This function returns the current manager for ts_join subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_join manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_pese_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 393.

This function returns the current manager for ts_pese subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_pese manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 394.

This function returns the current manager for ts_psig subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_psig manager

The return value is an error code

int upipe_ts_mux_mgr_get_ts_psii_mgr(struct upipe_mgr *mgr, struct upipe_mgr *p)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 395.

This function returns the current manager for ts_psii subpipes.

Parameters list:

  • mgr: pointer to manager
  • p: filled in with the ts_psii manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_agg_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 391.

This function sets the manager for ts_agg subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_agg manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_encaps_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 392.

This function sets the manager for ts_encaps subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_encaps manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_join_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 390.

This function sets the manager for ts_join subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_join manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_pese_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 393.

This function sets the manager for ts_pese subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_pese manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_psig_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 394.

This function sets the manager for ts_psig subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_psig manager

The return value is an error code

int upipe_ts_mux_mgr_set_ts_psii_mgr(struct upipe_mgr *mgr, struct upipe_mgr *m)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 395.

This function sets the manager for ts_psii subpipes.

Parameters list:

  • mgr: pointer to manager
  • m: pointer to ts_psii manager

The return value is an error code

enum upipe_ts_mux_mode  

This enum is declared in upipe-ts/upipe_ts_mux.h source file, line 40.

This enum defines the modes of multiplexing, by order of strictness.

IdentifierValueDescription
UPIPE_TS_MUX_MODE_VBR0variable octetrate
UPIPE_TS_MUX_MODE_CAPPED1capped octetrate, drop extra packets
UPIPE_TS_MUX_MODE_CBR2constant octetrate, drop extra packets

int upipe_ts_mux_set_conformance(struct upipe *upipe, enum upipe_ts_conformance conformance)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 115.

This function sets the conformance mode.

Parameters list:

  • upipe: description structure of the pipe
  • conformance: conformance mode

The return value is an error code

int upipe_ts_mux_set_mode(struct upipe *upipe, enum upipe_ts_mux_mode mode)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 276.

This function sets the mode. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • mode: new mode

The return value is an error code

int upipe_ts_mux_set_mtu(struct upipe *upipe, unsigned int mtu)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 302.

This function sets the configured mtu of TS packets. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • mtu: configured mtu, in octets

The return value is an error code

int upipe_ts_mux_set_octetrate(struct upipe *upipe, uint64_t octetrate)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 222.

This function sets the mux octetrate. It may also be called on upipe_ts_aggregate.

Parameters list:

  • upipe: description structure of the pipe
  • octetrate: new octetrate

The return value is an error code

int upipe_ts_mux_set_padding_octetrate(struct upipe *upipe, uint64_t octetrate)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 249.

This function sets the padding octetrate.

Parameters list:

  • upipe: description structure of the pipe
  • octetrate: new octetrate

The return value is an error code

int upipe_ts_mux_set_pat_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 142.

This function sets the PAT interval. It takes effect at the end of the current period.

Parameters list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_pcr_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 195.

This function sets the PCR interval. It may also be called on a program subpipe.

Parameters list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_pmt_interval(struct upipe *upipe, uint64_t interval)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 169.

This function sets the PMT interval. It takes effect at the end of the current period. It may also be called on a program subpipe.

Parameters list:

  • upipe: description structure of the pipe
  • interval: new interval

The return value is an error code

int upipe_ts_mux_set_version(struct upipe *upipe, unsigned int version)  

This function is declared in upipe-ts/upipe_ts_mux.h source file, line 330.

This function sets the version of the PSI table. It may also be called on upipe_ts_psi_generator.

Parameters list:

  • upipe: description structure of the pipe
  • version: new version

The return value is an error code

Valid XHTML 1.0 StrictGenerated by cmassiot on Thu Nov 6 12:15:29 2014 using MkDoc