MythTV
master
|
Go to the source code of this file.
Functions | |
uint16_t | get_pid (const uint8_t *pid) |
int | find_pids (uint16_t *vpid, uint16_t *apid, uint16_t *ac3pid, uint8_t *buf, int len) |
int | find_pids_pos (uint16_t *vpid, uint16_t *apid, uint16_t *ac3pid, uint8_t *buf, int len, int *vpos, int *apos, int *ac3pos) |
int | write_video_ts (uint64_t vpts, uint64_t vdts, uint64_t SCR, uint8_t *buf, int *vlength, uint8_t ptsdts, ringbuffer *vrbuffer) |
int | write_audio_ts (int n, uint64_t pts, uint8_t *buf, int *alength, uint8_t ptsdts, ringbuffer *arbuffer) |
int | write_ac3_ts (int n, uint64_t pts, uint8_t *buf, int *alength, uint8_t ptsdts, int nframes, ringbuffer *ac3rbuffer) |
void | write_ts_patpmt (extdata_t *ext, int extcnt, uint8_t prog_num, uint8_t *buf) |
Variables | |
static constexpr ssize_t | TS_SIZE { 188 } |
static constexpr uint8_t | TRANS_ERROR { 0x80 } |
static constexpr uint8_t | PAY_START { 0x40 } |
static constexpr uint8_t | TRANS_PRIO { 0x20 } |
static constexpr uint8_t | PID_MASK_HI { 0x1F } |
static constexpr uint8_t | TRANS_SCRMBL1 { 0x80 } |
static constexpr uint8_t | TRANS_SCRMBL2 { 0x40 } |
static constexpr uint8_t | ADAPT_FIELD { 0x20 } |
static constexpr uint8_t | PAYLOAD { 0x10 } |
static constexpr uint8_t | COUNT_MASK { 0x0F } |
static constexpr uint8_t | DISCON_IND { 0x80 } |
static constexpr uint8_t | RAND_ACC_IND { 0x40 } |
static constexpr uint8_t | ES_PRI_IND { 0x20 } |
static constexpr uint8_t | PCR_FLAG { 0x10 } |
static constexpr uint8_t | OPCR_FLAG { 0x08 } |
static constexpr uint8_t | SPLICE_FLAG { 0x04 } |
static constexpr uint8_t | TRANS_PRIV { 0x02 } |
static constexpr uint8_t | ADAP_EXT_FLAG { 0x01 } |
static constexpr uint8_t | LTW_FLAG { 0x80 } |
static constexpr uint8_t | PIECE_RATE { 0x40 } |
static constexpr uint8_t | SEAM_SPLICE { 0x20 } |
static constexpr uint16_t | TS_VIDPID { 4101 } |
static constexpr uint16_t | TS_MP2PID { 4201 } |
static constexpr uint16_t | TS_AC3PID { 4301 } |
uint16_t get_pid | ( | const uint8_t * | pid | ) |
Definition at line 48 of file ts.cpp.
Referenced by find_pids_pos(), and replex_tsp().
Definition at line 128 of file ts.cpp.
Referenced by find_pids_file(), and find_pids_stdin().
int find_pids_pos | ( | uint16_t * | vpid, |
uint16_t * | apid, | ||
uint16_t * | ac3pid, | ||
uint8_t * | buf, | ||
int | len, | ||
int * | vpos, | ||
int * | apos, | ||
int * | ac3pos | ||
) |
Definition at line 58 of file ts.cpp.
Referenced by find_all_pids_file(), and find_pids().
int write_video_ts | ( | uint64_t | vpts, |
uint64_t | vdts, | ||
uint64_t | SCR, | ||
uint8_t * | buf, | ||
int * | vlength, | ||
uint8_t | ptsdts, | ||
ringbuffer * | vrbuffer | ||
) |
Definition at line 233 of file ts.cpp.
Referenced by writeout_video().
int write_audio_ts | ( | int | n, |
uint64_t | pts, | ||
uint8_t * | buf, | ||
int * | alength, | ||
uint8_t | ptsdts, | ||
ringbuffer * | arbuffer | ||
) |
Definition at line 288 of file ts.cpp.
Referenced by writeout_ext().
int write_ac3_ts | ( | int | n, |
uint64_t | pts, | ||
uint8_t * | buf, | ||
int * | alength, | ||
uint8_t | ptsdts, | ||
int | nframes, | ||
ringbuffer * | ac3rbuffer | ||
) |
Definition at line 331 of file ts.cpp.
Referenced by writeout_ext().
void write_ts_patpmt | ( | extdata_t * | ext, |
int | extcnt, | ||
uint8_t | prog_num, | ||
uint8_t * | buf | ||
) |
Definition at line 381 of file ts.cpp.
Referenced by setup_multiplex(), and writeout_video().
|
staticconstexpr |
Definition at line 35 of file ts.h.
Referenced by find_pids_pos(), and replex_tsp().
|
staticconstexpr |
|
staticconstexpr |
Definition at line 42 of file ts.h.
Referenced by find_pids_pos(), and replex_tsp().
|
staticconstexpr |
Definition at line 61 of file ts.h.
Referenced by write_ts_patpmt(), and write_video_ts().
|
staticconstexpr |
Definition at line 62 of file ts.h.
Referenced by write_audio_ts(), and write_ts_patpmt().
|
staticconstexpr |
Definition at line 63 of file ts.h.
Referenced by write_ac3_ts(), and write_ts_patpmt().