upipe-framers/uref_mpga_flow.h header reference

Upipe mpga flow definition attributes for uref More

Header inclusion  

Members  

Type  

Functions  

Description  

Upipe mpga flow definition attributes for uref

Members detail  

#define _UPIPE_FRAMERS_UREF_MPGA_FLOW_H_  

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

enum uref_mpga_encaps  

This enum is declared in upipe-framers/uref_mpga_flow.h source file, line 42.

This enum defines encapsulation types for AAC.

IdentifierValueDescription
UREF_MPGA_ENCAPS_RAW0No encapsulation
UREF_MPGA_ENCAPS_ADTS1ADTS encapsulation
UREF_MPGA_ENCAPS_LOAS2
UREF_MPGA_ENCAPS_LATM3

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

int uref_mpga_flow_cmp_encaps(struct uref *uref1, struct uref *uref2)  

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

int uref_mpga_flow_cmp_mode(struct uref *uref1, struct uref *uref2)  

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

int uref_mpga_flow_copy_encaps(struct uref *uref, struct uref *uref_src)  

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

int uref_mpga_flow_copy_mode(struct uref *uref, struct uref *uref_src)  

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

int uref_mpga_flow_delete_encaps(struct uref *uref)  

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

int uref_mpga_flow_delete_mode(struct uref *uref)  

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

int uref_mpga_flow_get_encaps(struct uref *uref, uint8_t *p)  

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

int uref_mpga_flow_get_mode(struct uref *uref, uint8_t *p)  

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

int uref_mpga_flow_match_encaps(struct uref *uref, uint8_t min, uint8_t max)  

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

int uref_mpga_flow_match_mode(struct uref *uref, uint8_t min, uint8_t max)  

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

int uref_mpga_flow_set_encaps(struct uref *uref, uint8_t v)  

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

int uref_mpga_flow_set_mode(struct uref *uref, uint8_t v)  

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

Valid XHTML 1.0 StrictGenerated by cmassiot on Fri Feb 2 23:57:18 2018 using MkDoc