upipe-av/upipe_avcodec_encode.h header reference
Upipe avcodec encode wrapper module More
Header inclusion [link]
Members [link]
Types [link]
- enum upipe_avcenc_command
- enum upipe_avcenc_mgr_command
Functions [link]
- 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 upipe_avcenc_set_slice_type_enforce(struct upipe *upipe, bool enforce)
- 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)
- int uref_avcenc_set_codec_name_va(struct uref *uref, const char *format, ...)
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.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_AVCENC_SENTINEL | 0x8000 | |
| UPIPE_AVCENC_SET_SLICE_TYPE_ENFORCE | 1 | set slice type enforcement mode (int) |
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.
| Identifier | Value | Description |
|---|---|---|
| UPIPE_AVCENC_MGR_SENTINEL | 0x8000 | |
| UPIPE_AVCENC_MGR_SET_FLOW_DEF_FROM_NAME | 1 | 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) [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
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
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
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