upipe-framers/uref_mpga_flow.h header reference
Upipe mpga flow definition attributes for uref More
Header inclusion
Members
Type
- enum uref_mpga_encaps
 
Functions
- enum uref_mpga_encaps uref_mpga_encaps_from_string(const char *encaps)
 - int uref_mpga_flow_cmp_encaps(struct uref *uref1, struct uref *uref2)
 - int uref_mpga_flow_cmp_mode(struct uref *uref1, struct uref *uref2)
 - int uref_mpga_flow_copy_encaps(struct uref *uref, struct uref *uref_src)
 - int uref_mpga_flow_copy_mode(struct uref *uref, struct uref *uref_src)
 - int uref_mpga_flow_delete_encaps(struct uref *uref)
 - int uref_mpga_flow_delete_mode(struct uref *uref)
 - int uref_mpga_flow_get_encaps(struct uref *uref, uint8_t *p)
 - int uref_mpga_flow_get_mode(struct uref *uref, uint8_t *p)
 - enum uref_mpga_encaps uref_mpga_flow_infer_encaps(struct uref *flow_def)
 - int uref_mpga_flow_match_encaps(struct uref *uref, uint8_t min, uint8_t max)
 - int uref_mpga_flow_match_mode(struct uref *uref, uint8_t min, uint8_t max)
 - int uref_mpga_flow_set_encaps(struct uref *uref, uint8_t v)
 - int uref_mpga_flow_set_mode(struct uref *uref, uint8_t v)
 
Description
Upipe mpga flow definition attributes for uref
Members detail
This macro is declared in upipe-framers/uref_mpga_flow.h source file, line 31.
This enum is declared in upipe-framers/uref_mpga_flow.h source file, line 42.
This enum defines encapsulation types for AAC.
| Identifier | Value | Description | 
|---|---|---|
| UREF_MPGA_ENCAPS_RAW | 0 | No encapsulation | 
| UREF_MPGA_ENCAPS_ADTS | 1 | ADTS encapsulation | 
| UREF_MPGA_ENCAPS_LOAS | 2 | |
| UREF_MPGA_ENCAPS_LATM | 3 | 
enum uref_mpga_encaps uref_mpga_encaps_from_string(const char *encaps)
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 79.
This function encodes an encapsulation from a string.
Parameter list:
- encaps: string describing the encapsulation
 
The return value is codec encapsulation
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 53.
This function compares the AAC encapsulation type 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-framers/uref_mpga_flow.h source file, line 54.
This function compares the MPEG audio mode 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-framers/uref_mpga_flow.h source file, line 53.
This function copies the AAC encapsulation type 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-framers/uref_mpga_flow.h source file, line 54.
This function copies the MPEG audio mode 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-framers/uref_mpga_flow.h source file, line 53.
This function deletes the AAC encapsulation type attribute of a uref.
Parameter list:
- uref: pointer to the uref
 
The return value is an error code
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 54.
This function deletes the MPEG audio mode attribute of a uref.
Parameter list:
- uref: pointer to the uref
 
The return value is an error code
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 53.
This function returns the AAC encapsulation type 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-framers/uref_mpga_flow.h source file, line 54.
This function returns the MPEG audio mode 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
enum uref_mpga_encaps uref_mpga_flow_infer_encaps(struct uref *flow_def)
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 63.
This function infers the encapsulation type from a flow definition packet.
Parameter list:
- flow_def: flow definition packet
 
The return value is encapsulation type
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 53.
This function compares the AAC encapsulation type attribute to given values.
Parameter list:
- uref: pointer to the uref
 - min: minimum value
 - max: maximum value
 
The return value is an error code
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 54.
This function compares the MPEG audio mode attribute to given values.
Parameter list:
- uref: pointer to the uref
 - min: minimum value
 - max: maximum value
 
The return value is an error code
This function is declared in upipe-framers/uref_mpga_flow.h source file, line 53.
This function sets the AAC encapsulation type 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-framers/uref_mpga_flow.h source file, line 54.
This function sets the MPEG audio mode attribute of a uref.
Parameter list:
- uref: pointer to the uref
 - v: value to set
 
The return value is an error code