upipe/uref_clock.h header reference

Upipe clock attributes for uref More

Header inclusion  

Members  

Functions  

Description  

Upipe clock attributes for uref

Members detail  

#define UREF_CLOCK_GET_CR(dv)  

This macro is declared in upipe/uref_clock.h source file, line 224.

#define UREF_CLOCK_GET_DTS(dv)  

This macro is declared in upipe/uref_clock.h source file, line 185.

#define UREF_CLOCK_GET_PTS(dv)  

This macro is declared in upipe/uref_clock.h source file, line 147.

#define UREF_CLOCK_GET_RAP(dv)  

This macro is declared in upipe/uref_clock.h source file, line 262.

#define UREF_CLOCK_REBASE(dv, dt)  

This macro is declared in upipe/uref_clock.h source file, line 325.

#define UREF_CLOCK_SET(dv, dt, DT)  

This macro is declared in upipe/uref_clock.h source file, line 121.

#define UREF_CLOCK_SET_RAP(dv)  

This macro is declared in upipe/uref_clock.h source file, line 302.

#define UREF_CLOCK_TEMPLATE(dv, DV)  

This macro is declared in upipe/uref_clock.h source file, line 57.

#define _UPIPE_UREF_CLOCK_H_  

This macro is declared in upipe/uref_clock.h source file, line 31.

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

This function is declared in upipe/uref_clock.h source file, line 47.

This function compares the delay between CR and DTS attribute in two refs.

Parameters 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_clock_cmp_dts_pts_delay(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_clock.h source file, line 45.

This function compares the delay between DTS and PTS attribute in two refs.

Parameters 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_clock_cmp_duration(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_clock.h source file, line 50.

This function compares the duration attribute in two refs.

Parameters 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_clock_cmp_index_rap(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_clock.h source file, line 52.

This function compares the frame offset from last random access point attribute in two refs.

Parameters 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_clock_cmp_latency(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_clock.h source file, line 55.

This function compares the latency in uclock units attribute in two refs.

Parameters 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_clock_cmp_rap_cr_delay(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_clock.h source file, line 49.

This function compares the delay between RAP and CR attribute in two refs.

Parameters 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

void uref_clock_delete_cr_dts_delay(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 47.

This function deletes the delay between CR and DTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref

void uref_clock_delete_date_orig(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 118.

This function deletes the orig date.

Parameters list:

  • uref: uref structure

void uref_clock_delete_date_prog(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 117.

This function deletes the prog date.

Parameters list:

  • uref: uref structure

void uref_clock_delete_date_sys(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 116.

This function deletes the sys date.

Parameters list:

  • uref: uref structure

void uref_clock_delete_dts_pts_delay(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 45.

This function deletes the delay between DTS and PTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref

int uref_clock_delete_duration(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 50.

This function deletes the duration attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_clock_delete_index_rap(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 52.

This function deletes the frame offset from last random access point attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_clock_delete_latency(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 55.

This function deletes the latency in uclock units attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

void uref_clock_delete_rap_cr_delay(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 49.

This function deletes the delay between RAP and CR attribute of a uref.

Parameters list:

  • uref: pointer to the uref

int uref_clock_delete_rate(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 53.

This function deletes the playing rate attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

void uref_clock_delete_ref(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 43.

This function deletes a flag indicating the presence of a clock reference attribute from a uref.

Parameters list:

  • uref: pointer to the uref

int uref_clock_get_cr_dts_delay(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_clock.h source file, line 47.

This function returns the delay between CR and DTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_cr_orig(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 259.

This function gets the orig date as a CR.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_cr_prog(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 258.

This function gets the prog date as a CR.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_cr_sys(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 257.

This function gets the sys date as a CR.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

void uref_clock_get_date_orig(const struct uref *uref, uint64_t *date_p, int *type_p)  

This function is declared in upipe/uref_clock.h source file, line 118.

This function gets the orig date.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units
  • type_p: filled in with the type of date

void uref_clock_get_date_prog(const struct uref *uref, uint64_t *date_p, int *type_p)  

This function is declared in upipe/uref_clock.h source file, line 117.

This function gets the prog date.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units
  • type_p: filled in with the type of date

void uref_clock_get_date_sys(const struct uref *uref, uint64_t *date_p, int *type_p)  

This function is declared in upipe/uref_clock.h source file, line 116.

This function gets the sys date.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units
  • type_p: filled in with the type of date

int uref_clock_get_dts_orig(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 221.

This function gets the orig date as a DTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_dts_prog(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 220.

This function gets the prog date as a DTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_dts_pts_delay(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_clock.h source file, line 45.

This function returns the delay between DTS and PTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_dts_sys(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 219.

This function gets the sys date as a DTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_duration(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_clock.h source file, line 50.

This function returns the duration attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

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

This function is declared in upipe/uref_clock.h source file, line 52.

This function returns the frame offset from last random access point attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_latency(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_clock.h source file, line 55.

This function returns the latency in uclock units attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_pts_orig(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 182.

This function gets the orig date as a PTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_pts_prog(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 181.

This function gets the prog date as a PTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_pts_sys(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 180.

This function gets the sys date as a PTS.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_rap_cr_delay(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_clock.h source file, line 49.

This function returns the delay between RAP and CR attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_rap_orig(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 299.

This function gets the orig date as a RAP.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_rap_prog(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 298.

This function gets the prog date as a RAP.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_rap_sys(struct uref *uref, uint64_t *date_p)  

This function is declared in upipe/uref_clock.h source file, line 297.

This function gets the sys date as a RAP.

Parameters list:

  • uref: uref structure
  • date_p: filled in with the date in units (may be NULL)

The return value is an error code

int uref_clock_get_rate(struct uref *uref, struct urational *p)  

This function is declared in upipe/uref_clock.h source file, line 53.

This function returns the playing rate attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)

The return value is an error code

int uref_clock_get_ref(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 43.

This function returns the presence of a flag indicating the presence of a clock reference attribute in a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

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

This function is declared in upipe/uref_clock.h source file, line 47.

This function compares the delay between CR and DTS attribute to given values.

Parameters list:

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

The return value is an error code

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

This function is declared in upipe/uref_clock.h source file, line 45.

This function compares the delay between DTS and PTS attribute to given values.

Parameters list:

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

The return value is an error code

int uref_clock_match_duration(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_clock.h source file, line 50.

This function compares the duration attribute to given values.

Parameters list:

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

The return value is an error code

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

This function is declared in upipe/uref_clock.h source file, line 52.

This function compares the frame offset from last random access point attribute to given values.

Parameters list:

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

The return value is an error code

int uref_clock_match_latency(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_clock.h source file, line 55.

This function compares the latency in uclock units attribute to given values.

Parameters list:

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

The return value is an error code

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

This function is declared in upipe/uref_clock.h source file, line 49.

This function compares the delay between RAP and CR attribute to given values.

Parameters list:

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

The return value is an error code

int uref_clock_rebase_cr_orig(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 342.

This function rebases the orig date as acr.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_cr_prog(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 341.

This function rebases the prog date as acr.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_cr_sys(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 340.

This function rebases the sys date as acr.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_dts_orig(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 346.

This function rebases the orig date as adts.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_dts_prog(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 345.

This function rebases the prog date as adts.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_dts_sys(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 344.

This function rebases the sys date as adts.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_pts_orig(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 350.

This function rebases the orig date as apts.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_pts_prog(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 349.

This function rebases the prog date as apts.

Parameters list:

  • uref: uref structure

The return value is an error code

int uref_clock_rebase_pts_sys(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 348.

This function rebases the sys date as apts.

Parameters list:

  • uref: uref structure

The return value is an error code

void uref_clock_set_cr_dts_delay(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_clock.h source file, line 47.

This function sets the delay between CR and DTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

void uref_clock_set_cr_orig(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 136.

This function sets the orig date as a cr.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_cr_prog(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 135.

This function sets the prog date as a cr.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_cr_sys(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 134.

This function sets the sys date as a cr.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_date_orig(struct uref *uref, uint64_t date, int type)  

This function is declared in upipe/uref_clock.h source file, line 118.

This function sets the orig date.

Parameters list:

  • uref: uref structure
  • date: date in units
  • type: type of date

void uref_clock_set_date_prog(struct uref *uref, uint64_t date, int type)  

This function is declared in upipe/uref_clock.h source file, line 117.

This function sets the prog date.

Parameters list:

  • uref: uref structure
  • date: date in units
  • type: type of date

void uref_clock_set_date_sys(struct uref *uref, uint64_t date, int type)  

This function is declared in upipe/uref_clock.h source file, line 116.

This function sets the sys date.

Parameters list:

  • uref: uref structure
  • date: date in units
  • type: type of date

void uref_clock_set_dts_orig(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 140.

This function sets the orig date as a dts.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_dts_prog(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 139.

This function sets the prog date as a dts.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_dts_pts_delay(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_clock.h source file, line 45.

This function sets the delay between DTS and PTS attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

void uref_clock_set_dts_sys(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 138.

This function sets the sys date as a dts.

Parameters list:

  • uref: uref structure
  • date: date in units

int uref_clock_set_duration(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_clock.h source file, line 50.

This function sets the duration attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

The return value is an error code

int uref_clock_set_index_rap(struct uref *uref, uint8_t v)  

This function is declared in upipe/uref_clock.h source file, line 52.

This function sets the frame offset from last random access point attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

The return value is an error code

int uref_clock_set_latency(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_clock.h source file, line 55.

This function sets the latency in uclock units attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

The return value is an error code

void uref_clock_set_pts_orig(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 144.

This function sets the orig date as a pts.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_pts_prog(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 143.

This function sets the prog date as a pts.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_pts_sys(struct uref *uref, uint64_t date)  

This function is declared in upipe/uref_clock.h source file, line 142.

This function sets the sys date as a pts.

Parameters list:

  • uref: uref structure
  • date: date in units

void uref_clock_set_rap_cr_delay(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_clock.h source file, line 49.

This function sets the delay between RAP and CR attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

int uref_clock_set_rap_orig(struct uref *uref, uint64_t rap)  

This function is declared in upipe/uref_clock.h source file, line 322.

This function sets the CR/RAP delay.

Parameters list:

  • uref: uref structure
  • rap: RAP in units

The return value is an error code

int uref_clock_set_rap_prog(struct uref *uref, uint64_t rap)  

This function is declared in upipe/uref_clock.h source file, line 321.

This function sets the CR/RAP delay.

Parameters list:

  • uref: uref structure
  • rap: RAP in units

The return value is an error code

int uref_clock_set_rap_sys(struct uref *uref, uint64_t rap)  

This function is declared in upipe/uref_clock.h source file, line 320.

This function sets the CR/RAP delay.

Parameters list:

  • uref: uref structure
  • rap: RAP in units

The return value is an error code

int uref_clock_set_rate(struct uref *uref, struct urational v)  

This function is declared in upipe/uref_clock.h source file, line 53.

This function sets the playing rate attribute of a uref.

Parameters list:

  • uref: pointer to the uref
  • v: value to set

The return value is an error code

void uref_clock_set_ref(struct uref *uref)  

This function is declared in upipe/uref_clock.h source file, line 43.

This function sets a flag indicating the presence of a clock reference attribute in a uref.

Parameters list:

  • uref: pointer to the uref

Valid XHTML 1.0 StrictGenerated by cmassiot on Thu Nov 6 12:15:42 2014 using MkDoc