upipe-x264/upipe_x264.h header reference
Upipe x264 module More
Header inclusion
Members
Type
- enum upipe_x264_command
Functions
- struct upipe_mgr * upipe_x264_mgr_alloc(void )
- int upipe_x264_reconfigure(struct upipe *upipe)
- int upipe_x264_set_default(struct upipe *upipe)
- int upipe_x264_set_default_mpeg2(struct upipe *upipe)
- int upipe_x264_set_default_preset(struct upipe *upipe, const char *preset, const char *tuning)
- int upipe_x264_set_profile(struct upipe *upipe, const char *profile)
- int upipe_x264_set_sc_latency(struct upipe *upipe, uint64_t sc_latency)
- int upipe_x264_set_slice_type_enforce(struct upipe *upipe, bool enforce)
Description
Upipe x264 module
Members detail
This macro is declared in upipe-x264/upipe_x264.h source file, line 40.
This macro is declared in upipe-x264/upipe_x264.h source file, line 33.
This enum is declared in upipe-x264/upipe_x264.h source file, line 44.
This enum extends upipe_command with specific commands for x264.
Identifier | Value | Description |
---|---|---|
UPIPE_X264_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_X264_RECONFIG | unknown | reconfigure encoder with updated parameters |
UPIPE_X264_SET_DEFAULT | unknown | set default params |
UPIPE_X264_SET_DEFAULT_MPEG2 | unknown | set default mpeg2 params |
UPIPE_X264_SET_DEFAULT_PRESET | unknown | set default params for preset (const char *, const char *) |
UPIPE_X264_SET_PROFILE | unknown | enforce profile (const char *) |
UPIPE_X264_SET_SC_LATENCY | unknown | switches to speedcontrol mode with the given latency (uint64_t) |
UPIPE_X264_SET_SLICE_TYPE_ENFORCE | unknown | set slice type enforcement mode (int) |
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
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
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
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
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
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
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
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