upipe-ts/upipe_ts.h header reference
Upipe declarations common to TS demux and mux More
Header inclusion [link]
Members [link]
Types [link]
- enum upipe_ts_conformance
- struct upipe_ts_conformance_desc
Functions [link]
- enum upipe_ts_conformance upipe_ts_conformance_from_flow_def(struct uref *flow_def)
- enum upipe_ts_conformance upipe_ts_conformance_from_string(const char *conformance)
- const char * upipe_ts_conformance_print(enum upipe_ts_conformance conformance)
- int upipe_ts_conformance_to_flow_def(struct uref *flow_def, enum upipe_ts_conformance conformance)
- const char * upipe_ts_conformance_to_string(enum upipe_ts_conformance conformance)
Constant [link]
- const struct upipe_ts_conformance_desc upipe_ts_conformance_desc[]
Description [link]
Upipe declarations common to TS demux and mux
Members detail [link]
#define _UPIPE_TS_UPIPE_TS_H_ [link]
This macro is declared in upipe-ts/upipe_ts.h source file, line 26.
enum upipe_ts_conformance [link]
This enum is declared in upipe-ts/upipe_ts.h source file, line 35.
This enum is the conformance mode of a transport stream.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_TS_CONFORMANCE_AUTO | 0 | automatic conformance |
| UPIPE_TS_CONFORMANCE_ISO | 1 | no conformance, just ISO 13818-1 |
| UPIPE_TS_CONFORMANCE_DVB_NO_TABLES | 2 | DVB conformance without SI tables (ETSI EN 300 468) |
| UPIPE_TS_CONFORMANCE_DVB | 3 | DVB conformance (ETSI EN 300 468) |
| UPIPE_TS_CONFORMANCE_ATSC | 4 | ATSC conformance |
| UPIPE_TS_CONFORMANCE_ISDB | 5 | ISDB conformance |
struct upipe_ts_conformance_desc [link]
This struct is declared in upipe-ts/upipe_ts.h source file, line 51.
Alternate declarations with same identifier: [1], [2].
This struct describes the conformance mode enumeration.
| Field | Description |
|---|---|
| enum upipe_ts_conformance conformance; | |
| const char * name; | |
| const char * print; |
const struct upipe_ts_conformance_desc upipe_ts_conformance_desc[] [link]
This constant is declared in upipe-ts/upipe_ts.h source file, line 65.
Alternate declarations with same identifier: [1], [2].
This constant is the conformance enumeration.
enum upipe_ts_conformance upipe_ts_conformance_from_flow_def(struct uref *flow_def) [link]
This function is declared in upipe-ts/upipe_ts.h source file, line 137.
This function encodes a conformance from a flow definition packet.
Parameter list:
- flow_def: flow definition packet
The return value is coded conformance
enum upipe_ts_conformance upipe_ts_conformance_from_string(const char *conformance) [link]
This function is declared in upipe-ts/upipe_ts.h source file, line 107.
This function encodes a conformance from a string.
Parameter list:
- conformance: string describing the conformance
The return value is conformance coded conformance
const char * upipe_ts_conformance_print(enum upipe_ts_conformance conformance) [link]
This function is declared in upipe-ts/upipe_ts.h source file, line 74.
This function returns a string describing the conformance.
Parameter list:
- conformance: coded conformance
The return value is a constant string describing the conformance
int upipe_ts_conformance_to_flow_def(struct uref *flow_def, enum upipe_ts_conformance conformance) [link]
This function is declared in upipe-ts/upipe_ts.h source file, line 90.
This function encodes a conformance into a flow definition packet.
Parameter list:
- flow_def: flow definition packet
- conformance: coded conformance
The return value is an error code
const char * upipe_ts_conformance_to_string(enum upipe_ts_conformance conformance) [link]
This function is declared in upipe-ts/upipe_ts.h source file, line 122.
This function returns the string of an encoded conformance.
Parameter list:
- conformance: conformance mode
The return value is conformance string