upipe-av/upipe_avcodec_encode.h header reference

Upipe avcodec encode wrapper module More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe avcodec encode wrapper module

Members detail  

#define UPIPE_AVCENC_SIGNATURE  

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

#define _UPIPE_AV_UPIPE_AVCODEC_ENCODE_H_  

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

struct upipe_mgr * upipe_avcenc_mgr_alloc(void )  

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

This function returns the management structure for avcodec encoders.

The return value is pointer to manager

enum upipe_avcenc_mgr_command  

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

This enum extends upipe_mgr_command with specific commands for avcenc.

IdentifierValueDescription
UPIPE_AVCENC_MGR_SENTINELUPIPE_MGR_CONTROL_LOCAL
UPIPE_AVCENC_MGR_SET_FLOW_DEF_FROM_NAMEunknownsets 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)  

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

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 uref_avcenc_cmp_codec_name(struct uref *uref1, struct uref *uref2)  

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)  

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)  

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)  

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)  

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)  

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

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