upipe/uref_pic.h header reference

Upipe wrapper for picture ubuf and uref More

Header inclusion  

Members  

Functions  

Description  

Upipe wrapper for picture ubuf and uref

Members detail  

#define _UPIPE_UREF_PIC_H_  

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)  

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

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 uint8_t alpha, const uint8_t threshold)  

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

See also ubuf_pic_blit.

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

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

See also ubuf_pic_clear.

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

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)  

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)  

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

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)  

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)  

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)  

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

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)  

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)  

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)  

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)  

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)  

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)  

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_bf(struct uref *uref, struct uref *uref_src)  

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)  

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_cea_708(struct uref *uref, struct uref *uref_src)  

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)  

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)  

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)  

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)  

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_progressive(struct uref *uref, struct uref *uref_src)  

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)  

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)  

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)  

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)  

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)  

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)  

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_bf(struct uref *uref)  

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)  

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_cea_708(struct uref *uref)  

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)  

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)  

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)  

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)  

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_progressive(struct uref *uref)  

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)  

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)  

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)  

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)  

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)  

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

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

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_bf(struct uref *uref)  

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)  

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_cea_708(struct uref *uref, const uint8_t **p, size_t *size_p)  

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)  

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)  

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)  

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)  

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_progressive(struct uref *uref)  

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)  

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)  

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)  

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)  

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)  

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_match_afd(struct uref *uref, uint8_t min, uint8_t max)  

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)  

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)  

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)  

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)  

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_rpadding(struct uref *uref, uint64_t min, uint64_t max)  

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)  

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)  

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)  

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

See also ubuf_pic_plane_clear.

int uref_pic_plane_iterate(struct uref *uref, const char **chroma_p)  

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

See also ubuf_pic_plane_iterate.

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

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

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)  

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

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)  

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

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)  

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

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)  

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

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)  

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

See also ubuf_pic_resize.

int uref_pic_set_afd(struct uref *uref, uint8_t v)  

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_bf(struct uref *uref)  

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)  

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_cea_708(struct uref *uref, const uint8_t *v, size_t size)  

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)  

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)  

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)  

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)  

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_progressive(struct uref *uref)  

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)  

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)  

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)  

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)  

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)  

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)  

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

See also ubuf_pic_size.

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