upipe-x264/upipe_x264.h header reference

Upipe x264 module More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe x264 module

Members detail  

#define UPIPE_X264_SIGNATURE  

This macro is declared in upipe-x264/upipe_x264.h source file, line 40.

#define _UPIPE_X264_UPIPE_X264_H_  

This macro is declared in upipe-x264/upipe_x264.h source file, line 33.

enum upipe_x264_command  

This enum is declared in upipe-x264/upipe_x264.h source file, line 44.

This enum extends upipe_command with specific commands for x264.

IdentifierValueDescription
UPIPE_X264_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_X264_RECONFIGunknownreconfigure encoder with updated parameters
UPIPE_X264_SET_DEFAULTunknownset default params
UPIPE_X264_SET_DEFAULT_MPEG2unknownset default mpeg2 params
UPIPE_X264_SET_DEFAULT_PRESETunknownset default params for preset (const char *, const char *)
UPIPE_X264_SET_PROFILEunknownenforce profile (const char *)
UPIPE_X264_SET_SC_LATENCYunknownswitches to speedcontrol mode with the given latency (uint64_t)
UPIPE_X264_SET_SLICE_TYPE_ENFORCEunknownset slice type enforcement mode (int)

struct upipe_mgr * upipe_x264_mgr_alloc(void )  

This function is declared in upipe-x264/upipe_x264.h source file, line 158.

This function returns the management structure for x264 pipes.

The return value is pointer to manager

int upipe_x264_reconfigure(struct upipe *upipe)  

This function is declared in upipe-x264/upipe_x264.h source file, line 75.

This function reconfigures encoder with updated parameters.

Parameter list:

  • upipe: description structure of the pipe

The return value is an error code

int upipe_x264_set_default(struct upipe *upipe)  

This function is declared in upipe-x264/upipe_x264.h source file, line 85.

This function sets default parameters (and runs CPU detection).

Parameter list:

  • upipe: description structure of the pipe

The return value is an error code

int upipe_x264_set_default_mpeg2(struct upipe *upipe)  

This function is declared in upipe-x264/upipe_x264.h source file, line 95.

This function sets default mpeg2 parameters (and runs CPU detection).

Parameter list:

  • upipe: description structure of the pipe

The return value is an error code

int upipe_x264_set_default_preset(struct upipe *upipe, const char *preset, const char *tuning)  

This function is declared in upipe-x264/upipe_x264.h source file, line 109.

This function sets default parameters for specified preset.

Parameter list:

  • upipe: description structure of the pipe
  • preset: x264 preset
  • tuning: x264 tuning

The return value is an error code

int upipe_x264_set_profile(struct upipe *upipe, const char *profile)  

This function is declared in upipe-x264/upipe_x264.h source file, line 122.

This function enforces profile.

Parameter list:

  • upipe: description structure of the pipe
  • profile: x264 profile

The return value is an error code

int upipe_x264_set_sc_latency(struct upipe *upipe, uint64_t sc_latency)  

This function is declared in upipe-x264/upipe_x264.h source file, line 136.

This function switches x264 into speedcontrol mode, with the given latency (size of sc buffer).

Parameter list:

  • upipe: description structure of the pipe
  • latency: size (in units of a 27 MHz) of the speedcontrol buffer

The return value is an error code

int upipe_x264_set_slice_type_enforce(struct upipe *upipe, bool enforce)  

This function is declared in upipe-x264/upipe_x264.h source file, line 149.

This function sets the slice type enforcement mode (true or false).

Parameter list:

  • upipe: description structure of the pipe
  • enforce: true if the incoming slice types must be enforced

The return value is an error code

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