upipe-framers/uref_h26x_flow.h header reference
Upipe h26x flow definition attributes for uref More
Header inclusion
Members
Type
- enum uref_h26x_encaps
Functions
- int uref_h26x_flow_cmp_encaps(struct uref *uref1, struct uref *uref2)
- int uref_h26x_flow_copy_encaps(struct uref *uref, struct uref *uref_src)
- int uref_h26x_flow_delete_encaps(struct uref *uref)
- int uref_h26x_flow_get_encaps(struct uref *uref, uint8_t *p)
- enum uref_h26x_encaps uref_h26x_flow_infer_encaps(struct uref *flow_def)
- int uref_h26x_flow_match_encaps(struct uref *uref, uint8_t min, uint8_t max)
- int uref_h26x_flow_set_encaps(struct uref *uref, uint8_t v)
Description
Upipe h26x flow definition attributes for uref
Members detail
This macro is declared in upipe-framers/uref_h26x_flow.h source file, line 31.
This enum is declared in upipe-framers/uref_h26x_flow.h source file, line 42.
This enum defines encapsulation types for H26x
Identifier | Value | Description |
---|---|---|
UREF_H26X_ENCAPS_NALU | 0 | NAL units delimited by uref_h26x_get_nal_offset |
UREF_H26X_ENCAPS_ANNEXB | 1 | startcode-based, such as ISO 14496-10 annex B |
UREF_H26X_ENCAPS_LENGTH_UNKNOWN | 2 | unknown length, such as ISO 14496-15 |
UREF_H26X_ENCAPS_LENGTH1 | 3 | 1 octet length, such as ISO 14496-15 |
UREF_H26X_ENCAPS_LENGTH2 | 4 | 2 octet length, such as ISO 14496-15 |
UREF_H26X_ENCAPS_LENGTH4 | 5 | 4 octet length, such as ISO 14496-15 |
This function is declared in upipe-framers/uref_h26x_flow.h source file, line 57.
This function compares the H26x 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_h26x_flow.h source file, line 57.
This function copies the H26x 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_h26x_flow.h source file, line 57.
This function deletes the H26x 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_h26x_flow.h source file, line 57.
This function returns the H26x 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
enum uref_h26x_encaps uref_h26x_flow_infer_encaps(struct uref *flow_def)
This function is declared in upipe-framers/uref_h26x_flow.h source file, line 66.
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_h26x_flow.h source file, line 57.
This function compares the H26x 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_h26x_flow.h source file, line 57.
This function sets the H26x encapsulation type attribute of a uref.
Parameter list:
- uref: pointer to the uref
- v: value to set
The return value is an error code