upipe-av/upipe_avcodec_encode.h header reference
Upipe avcodec encode wrapper module More
Header inclusion
Members
Type
Functions
- struct upipe_mgr * upipe_avcenc_mgr_alloc(void )
 - int upipe_avcenc_mgr_set_flow_def_from_name(struct upipe_mgr *mgr, struct uref *flow_def, const char *name)
 - int uref_avcenc_cmp_codec_name(struct uref *uref1, struct uref *uref2)
 - int uref_avcenc_copy_codec_name(struct uref *uref, struct uref *uref_src)
 - int uref_avcenc_delete_codec_name(struct uref *uref)
 - int uref_avcenc_get_codec_name(struct uref *uref, const char **p)
 - int uref_avcenc_match_codec_name(struct uref *uref, const char *prefix)
 - int uref_avcenc_set_codec_name(struct uref *uref, const char *v)
 
Description
Upipe avcodec encode wrapper module
Members detail
This macro is declared in upipe-av/upipe_avcodec_encode.h source file, line 40.
This macro is declared in upipe-av/upipe_avcodec_encode.h source file, line 32.
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
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.
| Identifier | Value | Description | 
|---|---|---|
| UPIPE_AVCENC_MGR_SENTINEL | UPIPE_MGR_CONTROL_LOCAL | |
| UPIPE_AVCENC_MGR_SET_FLOW_DEF_FROM_NAME | unknown | sets 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
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
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
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
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
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
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