upipe-ts/upipe_ts_sync.h header reference

Upipe module syncing on a transport stream More

Header inclusion  

Members  

Type  

Functions  

Description  

This module also accepts upipe_set_output_size, with the following common values:

size (in octets)
description
188
standard size of TS packets according to ISO/IEC 13818-1
196
TS packet followed by an 8-octet timestamp or checksum
204
TS packet followed by a 16-octet checksum

Members detail  

#define UPIPE_TS_SYNC_SIGNATURE  

This macro is declared in upipe-ts/upipe_ts_sync.h source file, line 42.

#define _UPIPE_TS_UPIPE_TS_SYNC_H_  

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

enum upipe_ts_sync_command  

This enum is declared in upipe-ts/upipe_ts_sync.h source file, line 46.

This enum extends upipe_command with specific commands for ts sync.

IdentifierValueDescription
UPIPE_TS_SYNC_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_TS_SYNC_GET_SYNCunknownreturns the configured number of packets to synchronize with (int *)
UPIPE_TS_SYNC_SET_SYNCunknownsets the configured number of packets to synchronize with (int)

int upipe_ts_sync_get_sync(struct upipe *upipe, int *sync_p)  

This function is declared in upipe-ts/upipe_ts_sync.h source file, line 68.

This function returns the configured number of packets to synchronize with.

Parameter list:

  • upipe: description structure of the pipe
  • sync_p: filled in with number of packets

The return value is an error code

struct upipe_mgr * upipe_ts_sync_mgr_alloc(void )  

This function is declared in upipe-ts/upipe_ts_sync.h source file, line 59.

This function returns the management structure for all ts_sync pipes.

The return value is pointer to manager

int upipe_ts_sync_set_sync(struct upipe *upipe, int sync)  

This function is declared in upipe-ts/upipe_ts_sync.h source file, line 82.

This function sets the configured number of packets to synchronize with. The higher the value, the slower the synchronization, but the fewer false positives.

Parameter list:

  • upipe: description structure of the pipe
  • sync: number of packets

The return value is an error code

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:19 2018 using MkDoc