upipe-modules/upipe_chunk_stream.h header reference

Upipe chunk module - outputs fixed-length blocks from stream More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe chunk module - outputs fixed-length blocks from stream

Members detail  

#define UPIPE_CHUNK_STREAM_SIGNATURE  

This macro is declared in upipe-modules/upipe_chunk_stream.h source file, line 39.

#define _UPIPE_MODULES_UPIPE_CHUNK_STREAM_H_  

This macro is declared in upipe-modules/upipe_chunk_stream.h source file, line 31.

enum upipe_chunk_stream_command  

This enum is declared in upipe-modules/upipe_chunk_stream.h source file, line 43.

This enum extends upipe_command with specific commands for chunk_stream pipes.

IdentifierValueDescription
UPIPE_CHUNK_STREAM_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_CHUNK_STREAM_SET_MTUunknownset chunk size (unsigned int, unsigned int)
UPIPE_CHUNK_STREAM_GET_MTUunknownset chunk size (unsigned int*, unsigned int*)

int upipe_chunk_stream_get_mtu(struct upipe *upipe, unsigned int *mtu_p, unsigned int *align_p)  

This function is declared in upipe-modules/upipe_chunk_stream.h source file, line 61.

This function returns the configured mtu of TS packets.

Parameter list:

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

The return value is an error code

struct upipe_mgr * upipe_chunk_stream_mgr_alloc(void )  

This function is declared in upipe-modules/upipe_chunk_stream.h source file, line 83.

This function returns the management structure for chunk_stream pipes.

The return value is pointer to manager

int upipe_chunk_stream_set_mtu(struct upipe *upipe, unsigned int mtu, unsigned int align)  

This function is declared in upipe-modules/upipe_chunk_stream.h source file, line 74.

This function sets the configured mtu of TS packets.

  • upipe: description structure of the pipe
  • mtu: max packet size, in octets
  • align: packet chunk alignment, in octets

The return value is an error code

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