upipe-av/upipe_avcodec_encode.h header reference

Upipe avcodec encode wrapper module More

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe avcodec encode wrapper module

Members detail [link] 

#define UPIPE_AVCENC_SIGNATURE [link] 

This macro is declared in upipe-av/upipe_avcodec_encode.h source file, line 40.

#define _UPIPE_AV_UPIPE_AVCODEC_ENCODE_H_ [link] 

This macro is declared in upipe-av/upipe_avcodec_encode.h source file, line 32.

enum upipe_avcenc_command [link] 

This enum is declared in upipe-av/upipe_avcodec_encode.h source file, line 46.

This enum extends upipe_command with specific commands for avcenc.

IdentifierValueDescription
UPIPE_AVCENC_SENTINEL0x8000
UPIPE_AVCENC_SET_SLICE_TYPE_ENFORCE1set slice type enforcement mode (int)

struct upipe_mgr * upipe_avcenc_mgr_alloc(void ) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 70.

This function returns the management structure for avcodec encoders.

The return value is pointer to manager

enum upipe_avcenc_mgr_command [link] 

This enum is declared in upipe-av/upipe_avcodec_encode.h source file, line 73.

This enum extends upipe_mgr_command with specific commands for avcenc.

IdentifierValueDescription
UPIPE_AVCENC_MGR_SENTINEL0x8000
UPIPE_AVCENC_MGR_SET_FLOW_DEF_FROM_NAME1sets the flow definition from code name (struct uref *, const char *)

int upipe_avcenc_mgr_set_flow_def_from_name(struct upipe_mgr *mgr, struct uref *flow_def, const char *name) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 92.

This function configures the given flow definition to be able to encode to the av codec described by name.

Parameter list:

  • mgr: pointer to manager
  • flow_def: flow definition packet
  • name: codec name

The return value is an error code

int upipe_avcenc_set_slice_type_enforce(struct upipe *upipe, bool enforce) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 61.

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

int uref_avcenc_cmp_codec_name(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function compares the avcenc codec name attribute in two urefs.

Parameter list:

  • uref1: pointer to the first uref
  • uref2: pointer to the second uref

The return value is 0 if both attributes are absent or identical

int uref_avcenc_copy_codec_name(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function copies the avcenc codec name attribute from an uref to another.

Parameter list:

  • uref: pointer to the uref
  • uref_src: pointer to the source uref

The return value is an error code

int uref_avcenc_delete_codec_name(struct uref *uref) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function deletes the avcenc codec name attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_avcenc_get_codec_name(struct uref *uref, const char **p) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function returns the avcenc codec name attribute of a uref.

Parameter list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_avcenc_match_codec_name(struct uref *uref, const char *prefix) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function compares the avcenc codec name attribute to a given prefix.

Parameter list:

  • uref: pointer to the uref
  • prefix: prefix to match

The return value is an error code

int uref_avcenc_set_codec_name(struct uref *uref, const char *v) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function sets the avcenc codec name attribute of a uref.

Parameter list:

  • uref: pointer to the uref
  • v: value to set

The return value is an error code

int uref_avcenc_set_codec_name_va(struct uref *uref, const char *format, ...) [link] 

This function is declared in upipe-av/upipe_avcodec_encode.h source file, line 43.

This function sets the avcenc codec name attribute of a uref.

Parameter list:

  • uref: pointer to the uref
  • format: printf-style format of the value, followed by a variable list of arguments.

The return value is an error code

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc