upipe/uref_pic.h header reference

Upipe wrapper for picture ubuf and uref More

Header inclusion [link] 

Members [link] 

Functions [link] 

Macro [link] 

Description [link] 

Upipe wrapper for picture ubuf and uref

Members detail [link] 

#define _UPIPE_UREF_PIC_H_ [link] 

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

struct uref * uref_pic_alloc(struct uref_mgr *uref_mgr, struct ubuf_mgr *ubuf_mgr, int hsize, int vsize) [link] 

This function is declared in upipe/uref_pic.h source file, line 76.

This function returns a new uref pointing to a new ubuf pointing to a picture. This is equivalent to the two operations sequentially, and is a shortcut.

Parameter list:

  • uref_mgr: management structure for this uref type
  • ubuf_mgr: management structure for this ubuf type
  • hsize: horizontal size in pixels
  • vsize: vertical size in lines

The return value is pointer to uref or NULL in case of failure

int uref_pic_blit(struct uref *uref, struct ubuf *ubuf, int dest_hoffset, int dest_voffset, int src_hoffset, int src_voffset, int extract_hsize, int extract_vsize, const int alpha, const int threshold) [link] 

This function is declared in upipe/uref_pic.h source file, line 222.

See also ubuf_pic_blit.

int uref_pic_clear(struct uref *uref, int hoffset, int voffset, int hsize, int vsize, int fullrange) [link] 

This function is declared in upipe/uref_pic.h source file, line 210.

See also ubuf_pic_clear.

int uref_pic_cmp_afd(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function compares the active format description 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_pic_cmp_bf(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 56.

This function compares the bottom field present 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_pic_cmp_bpadding(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the bottom padding 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_pic_cmp_c_not_y(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 62.

This function compares the whether ancillary data is found in chroma space 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_pic_cmp_hposition(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the horizontal position 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_pic_cmp_key(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the key picture 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_pic_cmp_lpadding(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the left padding 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_pic_cmp_number(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function compares the picture number 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_pic_cmp_original_height(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function compares the original picture height before chunking 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_pic_cmp_progressive(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 54.

This function compares the progressive 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_pic_cmp_rpadding(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function compares the right padding 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_pic_cmp_tf(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the top field present 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_pic_cmp_tff(struct uref *uref1, struct uref *uref2) [link] 

This function is declared in upipe/uref_pic.h source file, line 57.

This function compares the top field first 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_pic_cmp_tpadding(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the top padding 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_pic_cmp_vposition(struct uref *uref1, struct uref *uref2) [link] 

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

This function compares the vertical position 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_pic_copy_afd(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function copies the active format description 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_pic_copy_bar_data(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 60.

This function copies the afd bar data 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_pic_copy_bf(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 56.

This function copies the bottom field present 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_pic_copy_bpadding(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the bottom padding 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_pic_copy_c_not_y(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 62.

This function copies the whether ancillary data is found in chroma space 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_pic_copy_cea_708(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 59.

This function copies the cea-708 captions 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_pic_copy_hposition(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the horizontal position 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_pic_copy_key(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the key picture 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_pic_copy_lpadding(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the left padding 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_pic_copy_number(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function copies the picture number 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_pic_copy_original_height(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function copies the original picture height before chunking 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_pic_copy_progressive(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 54.

This function copies the progressive 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_pic_copy_rpadding(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function copies the right padding 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_pic_copy_tf(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the top field present 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_pic_copy_tff(struct uref *uref, struct uref *uref_src) [link] 

This function is declared in upipe/uref_pic.h source file, line 57.

This function copies the top field first 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_pic_copy_tpadding(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the top padding 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_pic_copy_vposition(struct uref *uref, struct uref *uref_src) [link] 

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

This function copies the vertical position 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_pic_delete_afd(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function deletes the active format description attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_bar_data(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 60.

This function deletes the afd bar data attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_bf(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 56.

This function deletes a bottom field present attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_bpadding(struct uref *uref) [link] 

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

This function deletes the bottom padding attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_c_not_y(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 62.

This function deletes a whether ancillary data is found in chroma space attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_cea_708(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 59.

This function deletes the cea-708 captions attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_hposition(struct uref *uref) [link] 

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

This function deletes the horizontal position attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_key(struct uref *uref) [link] 

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

This function deletes a key picture attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_lpadding(struct uref *uref) [link] 

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

This function deletes the left padding attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_number(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function deletes the picture number attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_original_height(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function deletes the original picture height before chunking attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_progressive(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 54.

This function deletes a progressive attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_rpadding(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function deletes the right padding attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_tf(struct uref *uref) [link] 

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

This function deletes a top field present attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_tff(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 57.

This function deletes a top field first attribute from a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_tpadding(struct uref *uref) [link] 

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

This function deletes the top padding attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_delete_vposition(struct uref *uref) [link] 

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

This function deletes the vertical position attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

#define uref_pic_foreach_plane(UREF, CHROMA) [link] 

This macro is declared in upipe/uref_pic.h source file, line 118.

helper for uref_pic_iterate_plane

int uref_pic_get_afd(struct uref *uref, uint8_t *p) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function returns the active format description 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_pic_get_bar_data(struct uref *uref, const uint8_t **p, size_t *size_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 60.

This function returns the afd bar data 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_pic_get_bf(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 56.

This function returns the presence of a bottom field present attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_bpadding(struct uref *uref, uint64_t *p) [link] 

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

This function returns the bottom padding 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_pic_get_c_not_y(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 62.

This function returns the presence of a whether ancillary data is found in chroma space attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_cea_708(struct uref *uref, const uint8_t **p, size_t *size_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 59.

This function returns the cea-708 captions 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_pic_get_hposition(struct uref *uref, uint64_t *p) [link] 

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

This function returns the horizontal position 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_pic_get_key(struct uref *uref) [link] 

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

This function returns the presence of a key picture attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_lpadding(struct uref *uref, uint64_t *p) [link] 

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

This function returns the left padding 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_pic_get_number(struct uref *uref, uint64_t *p) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function returns the picture number 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_pic_get_original_height(struct uref *uref, uint64_t *p) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function returns the original picture height before chunking 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_pic_get_progressive(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 54.

This function returns the presence of a progressive attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_rpadding(struct uref *uref, uint64_t *p) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function returns the right padding 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_pic_get_tf(struct uref *uref) [link] 

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

This function returns the presence of a top field present attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_tff(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 57.

This function returns the presence of a top field first attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_get_tpadding(struct uref *uref, uint64_t *p) [link] 

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

This function returns the top padding 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_pic_get_vposition(struct uref *uref, uint64_t *p) [link] 

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

This function returns the vertical position 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_pic_iterate_plane(struct uref *uref, const char **chroma_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 104.

See also ubuf_pic_iterate_plane.

int uref_pic_match_afd(struct uref *uref, uint8_t min, uint8_t max) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function compares the active format description 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_pic_match_bpadding(struct uref *uref, uint64_t min, uint64_t max) [link] 

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

This function compares the bottom padding 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_pic_match_hposition(struct uref *uref, uint64_t min, uint64_t max) [link] 

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

This function compares the horizontal position 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_pic_match_lpadding(struct uref *uref, uint64_t min, uint64_t max) [link] 

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

This function compares the left padding 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_pic_match_number(struct uref *uref, uint64_t min, uint64_t max) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function compares the picture number 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_pic_match_original_height(struct uref *uref, uint64_t min, uint64_t max) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function compares the original picture height before chunking 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_pic_match_rpadding(struct uref *uref, uint64_t min, uint64_t max) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function compares the right padding 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_pic_match_tpadding(struct uref *uref, uint64_t min, uint64_t max) [link] 

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

This function compares the top padding 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_pic_match_vposition(struct uref *uref, uint64_t min, uint64_t max) [link] 

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

This function compares the vertical position 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_pic_plane_clear(struct uref *uref, const char *chroma, int hoffset, int voffset, int hsize, int vsize, int fullrange) [link] 

This function is declared in upipe/uref_pic.h source file, line 170.

See also ubuf_pic_plane_clear.

int uref_pic_plane_iterate(struct uref *uref, const char **chroma_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 114.

This declaration involves expansion of the UBASE_DEPRECATED macro.

DO NOT USE: deprecated, use uref_pic_iterate_plane instead

int uref_pic_plane_read(struct uref *uref, const char *chroma, int hoffset, int voffset, int hsize, int vsize, const uint8_t **buffer_p) [link] 

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

See also ubuf_pic_plane_read.

int uref_pic_plane_size(struct uref *uref, const char *chroma, size_t *stride_p, uint8_t *hsub_p, uint8_t *vsub_p, uint8_t *macropixel_size_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 127.

See also ubuf_pic_plane_size.

int uref_pic_plane_unmap(struct uref *uref, const char *chroma, int hoffset, int voffset, int hsize, int vsize) [link] 

This function is declared in upipe/uref_pic.h source file, line 159.

See also ubuf_pic_plane_unmap.

int uref_pic_plane_write(struct uref *uref, const char *chroma, int hoffset, int voffset, int hsize, int vsize, uint8_t **buffer_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 149.

See also ubuf_pic_plane_write.

int uref_pic_replace(struct uref *uref, struct ubuf_mgr *ubuf_mgr, int hskip, int vskip, int new_hsize, int new_vsize) [link] 

This function is declared in upipe/uref_pic.h source file, line 249.

This function allocates a new ubuf of size new_hsize/new_vsize, and copies part of the old picture ubuf to the new one, switches the ubufs and frees the old one.

Parameter list:

  • uref: pointer to uref structure
  • ubuf_mgr: management structure for the new ubuf
  • hskip: number of pixels to skip at the beginning of each line (if < 0, extend the picture leftwards)
  • vskip: number of lines to skip at the beginning of the picture (if < 0, extend the picture upwards)
  • new_hsize: final horizontal size of the buffer, in pixels (if set to -1, keep same line ends)
  • new_vsize: final vertical size of the buffer, in lines (if set to -1, keep same last line)

The return value is an error code

int uref_pic_resize(struct uref *uref, int hskip, int vskip, int new_hsize, int new_vsize) [link] 

This function is declared in upipe/uref_pic.h source file, line 200.

See also ubuf_pic_resize.

int uref_pic_set_afd(struct uref *uref, uint8_t v) [link] 

This function is declared in upipe/uref_pic.h source file, line 58.

This function sets the active format description attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_bar_data(struct uref *uref, const uint8_t *v, size_t size) [link] 

This function is declared in upipe/uref_pic.h source file, line 60.

This function sets the afd bar data attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_bf(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 56.

This function sets a bottom field present attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_bpadding(struct uref *uref, uint64_t v) [link] 

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

This function sets the bottom padding attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_c_not_y(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 62.

This function sets a whether ancillary data is found in chroma space attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_cea_708(struct uref *uref, const uint8_t *v, size_t size) [link] 

This function is declared in upipe/uref_pic.h source file, line 59.

This function sets the cea-708 captions attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_hposition(struct uref *uref, uint64_t v) [link] 

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

This function sets the horizontal position attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_key(struct uref *uref) [link] 

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

This function sets a key picture attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_lpadding(struct uref *uref, uint64_t v) [link] 

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

This function sets the left padding attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_number(struct uref *uref, uint64_t v) [link] 

This function is declared in upipe/uref_pic.h source file, line 44.

This function sets the picture number attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_original_height(struct uref *uref, uint64_t v) [link] 

This function is declared in upipe/uref_pic.h source file, line 61.

This function sets the original picture height before chunking attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_progressive(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 54.

This function sets a progressive attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_rpadding(struct uref *uref, uint64_t v) [link] 

This function is declared in upipe/uref_pic.h source file, line 51.

This function sets the right padding attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_tf(struct uref *uref) [link] 

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

This function sets a top field present attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_tff(struct uref *uref) [link] 

This function is declared in upipe/uref_pic.h source file, line 57.

This function sets a top field first attribute in a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_set_tpadding(struct uref *uref, uint64_t v) [link] 

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

This function sets the top padding attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_set_vposition(struct uref *uref, uint64_t v) [link] 

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

This function sets the vertical position attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_size(struct uref *uref, size_t *hsize_p, size_t *vsize_p, uint8_t *macropixel_p) [link] 

This function is declared in upipe/uref_pic.h source file, line 95.

See also ubuf_pic_size.

int uref_split_fields(struct uref *uref, struct uref **odd, struct uref **even) [link] 

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

See also ubuf_split_fields.

Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc