upipe-ts/upipe_ts_check.h header reference

Upipe module checking that a buffer contains a given number of More

Header inclusion  

Members  

Type  

Functions  

Description  

aligned TS packets

Members detail  

#define UPIPE_TS_CHECK_SIGNATURE  

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

#define _UPIPE_TS_UPIPE_TS_CHECK_H_  

This macro is declared in upipe-ts/upipe_ts_check.h source file, line 27.

enum upipe_ts_check_command  

This enum is declared in upipe-ts/upipe_ts_check.h source file, line 38.

This enum extends upipe_command with specific commands for ts check.

IdentifierValueDescription
UPIPE_TS_CHECK_SENTINEL0
UPIPE_TS_CHECK_GET_SIZE1returns the configured size of TS packets (int *)
UPIPE_TS_CHECK_SET_SIZE2sets the configured size of TS packets (int)

bool upipe_ts_check_get_size(struct upipe *upipe, int *size_p)  

This function is declared in upipe-ts/upipe_ts_check.h source file, line 60.

This function returns the configured size of TS packets.

Parameters list:

  • upipe: description structure of the pipe
  • size_p: filled in with the configured size, in octets

The return value is false in case of error

struct upipe_mgr * upipe_ts_check_mgr_alloc(void )  

This function is declared in upipe-ts/upipe_ts_check.h source file, line 51.

This function returns the management structure for all ts_check pipes.

The return value is pointer to manager

bool upipe_ts_check_set_size(struct upipe *upipe, int size)  

This function is declared in upipe-ts/upipe_ts_check.h source file, line 78.

This function sets the configured size of TS packets. Common values are:

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

Parameters list:

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

The return value is false in case of error

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