upipe/uref_pic_flow.h header reference

Upipe picture flow definition attributes for uref More

Header inclusion  

Members  

Functions  

Description  

Upipe picture flow definition attributes for uref

Members detail  

#define _UPIPE_UREF_PIC_FLOW_H_  

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

int uref_pic_flow_add_plane(struct uref *uref, uint8_t hsub, uint8_t vsub, uint8_t macropixel_size, const char *chroma)  

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

This function registers a new plane in the picture flow definition packet.

Parameters list:

  • uref: uref control packet
  • hsub: horizontal subsampling
  • vsub: vertical subsampling
  • macropixel_size: size in octets of a compound
  • chroma: chroma type (see chroma reference)

The return value is an error code

struct uref * uref_pic_flow_alloc_def(struct uref_mgr *mgr, uint8_t macropixel)  

This function is declared in upipe/uref_pic_flow.h source file, line 102.

This function allocates a control packet to define a new picture flow. For each plane, uref_pic_flow_add_plane() has to be called afterwards.

Parameters list:

  • mgr: uref management structure
  • macropixel: number of pixels in a macropixel
  • planes: number of planes

The return value is pointer to uref control packet, or NULL in case of error

int uref_pic_flow_check_chroma(struct uref *uref, uint8_t hsub, uint8_t vsub, uint8_t mpixel_size, const char *chroma)  

This function is declared in upipe/uref_pic_flow.h source file, line 179.

This function checks if there is a plane with the given properties.

Parameters list:

  • uref: uref control packet
  • hsub: horizontal subsampling
  • vsub: vertical subsampling
  • mpixel_size: size in octets of a compound
  • chroma: chroma type

The return value is an error code

void uref_pic_flow_clear_format(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 229.

This function clears the attributes defining the ubuf_pic manager format.

Parameters list:

  • uref: uref control packet

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

This function is declared in upipe/uref_pic_flow.h source file, line 79.

This function compares the alignment in octets 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_pic_flow_cmp_align_hmoffset(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 81.

This function compares the horizontal offset of the aligned macropixel 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_pic_flow_cmp_chroma(struct uref *uref1, struct uref *uref2, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 68.

This function compares the chroma type 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_pic_flow_cmp_hmappend(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 74.

This function compares the extra macropixels added after each line 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_pic_flow_cmp_hmprepend(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 72.

This function compares the extra macropixels added before each line 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_pic_flow_cmp_hsize(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 85.

This function compares the horizontal size 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_pic_flow_cmp_hsize_visible(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 88.

This function compares the horizontal visible size 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_pic_flow_cmp_hsubsampling(struct uref *uref1, struct uref *uref2, uint8_t plane)  

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

This function compares the horizontal subsampling 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_pic_flow_cmp_macropixel(struct uref *uref1, struct uref *uref2)  

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

This function compares the number of pixels in a macropixel 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_pic_flow_cmp_macropixel_size(struct uref *uref1, struct uref *uref2, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 64.

This function compares the size of a compound 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_pic_flow_cmp_overscan(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 84.

This function compares the overscan 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_pic_flow_cmp_planes(struct uref *uref1, struct uref *uref2)  

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

This function compares the number of planes 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_pic_flow_cmp_vappend(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 78.

This function compares the extra lines added after buffer 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_pic_flow_cmp_vprepend(struct uref *uref1, struct uref *uref2)  

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

This function compares the extra lines added before buffer 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_pic_flow_cmp_vsize(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 86.

This function compares the vertical size 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_pic_flow_cmp_vsize_visible(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 90.

This function compares the vertical visible size 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_pic_flow_cmp_vsubsampling(struct uref *uref1, struct uref *uref2, uint8_t plane)  

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

This function compares the vertical subsampling 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

bool uref_pic_flow_compare_format(struct uref *uref1, struct uref *uref2)  

This function is declared in upipe/uref_pic_flow.h source file, line 254.

This function compares the format flow definition between two urefs.

Parameters list:

  • uref1: first uref
  • uref2: second uref

The return value is true if both urefs describe the same format

int uref_pic_flow_copy_format(struct uref *uref_dst, struct uref *uref_src)  

This function is declared in upipe/uref_pic_flow.h source file, line 198.

This function copies the attributes defining the ubuf manager format to another uref.

Parameters list:

  • uref_dst: destination uref
  • uref_src: source uref

The return value is an error code

int uref_pic_flow_delete_align(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 79.

This function deletes the alignment in octets attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_align_hmoffset(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 81.

This function deletes the horizontal offset of the aligned macropixel attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_chroma(struct uref *uref, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 68.

This function deletes the chroma type attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_fps(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 70.

This function deletes the frames per second attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_hmappend(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 74.

This function deletes the extra macropixels added after each line attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_hmprepend(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 72.

This function deletes the extra macropixels added before each line attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_hsize(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 85.

This function deletes the horizontal size attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_hsize_visible(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 88.

This function deletes the horizontal visible size attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_hsubsampling(struct uref *uref, uint8_t plane)  

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

This function deletes the horizontal subsampling attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_macropixel(struct uref *uref)  

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

This function deletes the number of pixels in a macropixel attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_macropixel_size(struct uref *uref, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 64.

This function deletes the size of a compound attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_overscan(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 84.

This function deletes a overscan attribute from a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_planes(struct uref *uref)  

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

This function deletes the number of planes attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_sar(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 83.

This function deletes the sample aspect ratio attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_vappend(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 78.

This function deletes the extra lines added after buffer attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_vprepend(struct uref *uref)  

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

This function deletes the extra lines added before buffer attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_vsize(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 86.

This function deletes the vertical size attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_vsize_visible(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 90.

This function deletes the vertical visible size attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_vsubsampling(struct uref *uref, uint8_t plane)  

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

This function deletes the vertical subsampling attribute of a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

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

This function is declared in upipe/uref_pic_flow.h source file, line 79.

This function returns the alignment in octets 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_pic_flow_get_align_hmoffset(struct uref *uref, int64_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 81.

This function returns the horizontal offset of the aligned macropixel 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_pic_flow_get_chroma(struct uref *uref, const char **p, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 68.

This function returns the chroma type 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_pic_flow_get_fps(struct uref *uref, struct urational *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 70.

This function returns the frames per second 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_pic_flow_get_hmappend(struct uref *uref, uint8_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 74.

This function returns the extra macropixels added after each line 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_pic_flow_get_hmprepend(struct uref *uref, uint8_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 72.

This function returns the extra macropixels added before each line 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_pic_flow_get_hsize(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 85.

This function returns the horizontal size 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_pic_flow_get_hsize_visible(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 88.

This function returns the horizontal visible size 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_pic_flow_get_hsubsampling(struct uref *uref, uint8_t *p, uint8_t plane)  

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

This function returns the horizontal subsampling 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_pic_flow_get_macropixel(struct uref *uref, uint8_t *p)  

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

This function returns the number of pixels in a macropixel 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_pic_flow_get_macropixel_size(struct uref *uref, uint8_t *p, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 64.

This function returns the size of a compound 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_pic_flow_get_overscan(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 84.

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

Parameters list:

  • uref: pointer to the uref

The return value is an error code

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

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

This function returns the number of planes 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_pic_flow_get_sar(struct uref *uref, struct urational *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 83.

This function returns the sample aspect ratio 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_pic_flow_get_vappend(struct uref *uref, uint8_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 78.

This function returns the extra lines added after buffer 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_pic_flow_get_vprepend(struct uref *uref, uint8_t *p)  

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

This function returns the extra lines added before buffer 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_pic_flow_get_vsize(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 86.

This function returns the vertical size 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_pic_flow_get_vsize_visible(struct uref *uref, uint64_t *p)  

This function is declared in upipe/uref_pic_flow.h source file, line 90.

This function returns the vertical visible size 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_pic_flow_get_vsubsampling(struct uref *uref, uint8_t *p, uint8_t plane)  

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

This function returns the vertical subsampling 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_pic_flow_match_align(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 79.

This function compares the alignment in octets 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_pic_flow_match_chroma(struct uref *uref, const char *prefix, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 68.

This function compares the chroma type attribute to a given prefix.

Parameters list:

  • uref: pointer to the uref
  • prefix: prefix to match

The return value is an error code

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

This function is declared in upipe/uref_pic_flow.h source file, line 74.

This function compares the extra macropixels added after each line 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_pic_flow_match_hmprepend(struct uref *uref, uint8_t min, uint8_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 72.

This function compares the extra macropixels added before each line 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_pic_flow_match_hsize(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 85.

This function compares the horizontal size 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_pic_flow_match_hsize_visible(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 88.

This function compares the horizontal visible size 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_pic_flow_match_hsubsampling(struct uref *uref, uint8_t min, uint8_t max, uint8_t plane)  

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

This function compares the horizontal subsampling 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_pic_flow_match_macropixel(struct uref *uref, uint8_t min, uint8_t max)  

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

This function compares the number of pixels in a macropixel 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_pic_flow_match_macropixel_size(struct uref *uref, uint8_t min, uint8_t max, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 64.

This function compares the size of a compound 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_pic_flow_match_planes(struct uref *uref, uint8_t min, uint8_t max)  

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

This function compares the number of planes 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_pic_flow_match_vappend(struct uref *uref, uint8_t min, uint8_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 78.

This function compares the extra lines added after buffer 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_pic_flow_match_vprepend(struct uref *uref, uint8_t min, uint8_t max)  

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

This function compares the extra lines added before buffer 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_pic_flow_match_vsize(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 86.

This function compares the vertical size 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_pic_flow_match_vsize_visible(struct uref *uref, uint64_t min, uint64_t max)  

This function is declared in upipe/uref_pic_flow.h source file, line 90.

This function compares the vertical visible size 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_pic_flow_match_vsubsampling(struct uref *uref, uint8_t min, uint8_t max, uint8_t plane)  

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

This function compares the vertical subsampling 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_pic_flow_set_align(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 79.

This function sets the alignment in octets attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_align_hmoffset(struct uref *uref, int64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 81.

This function sets the horizontal offset of the aligned macropixel attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_chroma(struct uref *uref, const char *v, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 68.

This function sets the chroma type attribute of a uref.

Parameters list:

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

The return value is an error code

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

This function is declared in upipe/uref_pic_flow.h source file, line 70.

This function sets the frames per second attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_hmappend(struct uref *uref, uint8_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 74.

This function sets the extra macropixels added after each line attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_hmprepend(struct uref *uref, uint8_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 72.

This function sets the extra macropixels added before each line attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_hsize(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 85.

This function sets the horizontal size attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_hsize_visible(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 88.

This function sets the horizontal visible size attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_hsubsampling(struct uref *uref, uint8_t v, uint8_t plane)  

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

This function sets the horizontal subsampling attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_macropixel(struct uref *uref, uint8_t v)  

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

This function sets the number of pixels in a macropixel attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_macropixel_size(struct uref *uref, uint8_t v, uint8_t plane)  

This function is declared in upipe/uref_pic_flow.h source file, line 64.

This function sets the size of a compound attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_overscan(struct uref *uref)  

This function is declared in upipe/uref_pic_flow.h source file, line 84.

This function sets a overscan attribute in a uref.

Parameters list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_set_planes(struct uref *uref, uint8_t v)  

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

This function sets the number of planes attribute of a uref.

Parameters list:

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

The return value is an error code

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

This function is declared in upipe/uref_pic_flow.h source file, line 83.

This function sets the sample aspect ratio attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_vappend(struct uref *uref, uint8_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 78.

This function sets the extra lines added after buffer attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_vprepend(struct uref *uref, uint8_t v)  

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

This function sets the extra lines added before buffer attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_vsize(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 86.

This function sets the vertical size attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_vsize_visible(struct uref *uref, uint64_t v)  

This function is declared in upipe/uref_pic_flow.h source file, line 90.

This function sets the vertical visible size attribute of a uref.

Parameters list:

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

The return value is an error code

int uref_pic_flow_set_vsubsampling(struct uref *uref, uint8_t v, uint8_t plane)  

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

This function sets the vertical subsampling attribute of a uref.

Parameters list:

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

The return value is an error code

#define UREF_PIC_FLOW_DEF  

This macro is for internal use only.

This macro is declared in upipe/uref_pic_flow.h source file, line 45.

flow definition prefix for pic allocator

int uref_pic_flow_find_chroma(struct uref *uref, const char *chroma, uint8_t *plane_p)  

This function is for internal use only.

This function is declared in upipe/uref_pic_flow.h source file, line 151.

This function finds a plane by its chroma.

Parameters list:

  • uref: uref control packet
  • chroma: chroma type
  • plane_p: written with the matching plane number

The return value is an error code

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