upipe-framers/uref_h26x.h header reference

Upipe h264 & h265 attributes for uref More

Header inclusion  

Members  

Functions  

Description  

Upipe h264 & h265 attributes for uref

Members detail  

#define _UPIPE_FRAMERS_UREF_H26X_H_  

This macro is declared in upipe-framers/uref_h26x.h source file, line 31.

int uref_h26x_cmp_nal_offset(struct uref *uref1, struct uref *uref2, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function compares the nal offset 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_h26x_copy_nal_offset(struct uref *uref, struct uref *uref_src, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function copies the nal offset 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_h26x_delete_nal_offset(struct uref *uref, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function deletes the nal offset attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

void uref_h26x_delete_nal_offsets(struct uref *uref)  

This function is declared in upipe-framers/uref_h26x.h source file, line 124.

This function deletes all NAL offsets.

Parameter list:

  • uref: uref description structure
  • ubuf: ubuf to prepend

The return value is an error code

int uref_h26x_get_nal_offset(struct uref *uref, uint64_t *p, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function returns the nal offset 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_h26x_iterate_nal(struct uref *uref, uint64_t *counter_p, uint64_t *offset_p, uint64_t *size_p, int64_t correction)  

This function is declared in upipe-framers/uref_h26x.h source file, line 60.

This function iterates over the NALs of an uref. Initialize counter_p at 0, and don't modify the arguments between calls to this function.

Parameter list:

  • uref: uref description structure
  • counter_p: index of the NAL in the uref, initialize iteration at 0, will be incremented on every call
  • offset_p: filled in with the offset in octets of the NAL in the uref
  • size_p: filled in with the size in octets of the NAL in the uref, possibly including the next start code
  • correction: correction to apply to the offsets is the uref has been modfied in the meantime

The return value is an error code

int uref_h26x_match_nal_offset(struct uref *uref, uint8_t min, uint8_t max, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function compares the nal offset attribute to given values.

Parameter list:

  • uref: pointer to the uref
  • min: minimum value
  • max: maximum value

The return value is an error code

int uref_h26x_prepend_nal(struct uref *uref, struct ubuf *ubuf)  

This function is declared in upipe-framers/uref_h26x.h source file, line 96.

This function prepends a NAL to the given uref.

Parameter list:

  • uref: uref description structure
  • ubuf: ubuf to prepend

The return value is an error code

int uref_h26x_set_nal_offset(struct uref *uref, uint64_t v, uint64_t nal)  

This function is declared in upipe-framers/uref_h26x.h source file, line 42.

This function sets the nal offset 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