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 133.

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

Parameter 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 108.

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.

Parameter list:

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

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 185.

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

Parameter 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 262.

This function clears the attributes defining the ubuf_pic manager format.

Parameter list:

  • uref: uref control packet

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

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

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

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

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

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

This function compares the horizontal offset of the aligned macropixel 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_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 60.

This function compares the chroma type attribute in two urefs.

Parameter list:

  • uref1: pointer to the first uref
  • uref2: pointer to the second uref

The return value is 0 if both attributes are absent or identical

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

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

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

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

This function compares the colour full range 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_flow_cmp_hmappend(struct uref *uref1, struct uref *uref2)  

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

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

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

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

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

This function compares the horizontal size 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_flow_cmp_hsize_visible(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 visible size 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_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 54.

This function compares the horizontal subsampling 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_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 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_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 58.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

This function compares the vertical visible size 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_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 56.

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

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 287.

This function compares the format flow definition between two urefs.

Parameter list:

  • uref1: first uref
  • uref2: second uref

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

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

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

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

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

This function copies the alignment in octets 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_flow_copy_align_hmoffset(struct uref *uref, struct uref *uref_src)  

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

This function copies the horizontal offset of the aligned macropixel 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_flow_copy_bar(struct uref *uref, struct uref *uref_src)  

This function is declared in UREF_ATTR_OPAQUE function like macro expansion, line 64 in upipe/uref_pic_flow.h source file, line 97.

This function copies the 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_flow_copy_chroma(struct uref *uref, struct uref *uref_src, uint8_t plane)  

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

This function copies the chroma type attribute from an uref to another.

Parameter list:

  • uref: pointer to the uref
  • uref_src: pointer to the source uref

The return value is an error code

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

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

This function copies the colour primaries 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_flow_copy_dar(struct uref *uref, struct uref *uref_src)  

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

This function copies the display aspect ratio 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_flow_copy_format(struct uref *uref_dst, struct uref *uref_src)  

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

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

Parameter list:

  • uref_dst: destination uref
  • uref_src: source uref

The return value is an error code

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

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

This function copies the frames per second 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_flow_copy_full_range(struct uref *uref, struct uref *uref_src)  

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

This function copies the colour full range 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_flow_copy_hmappend(struct uref *uref, struct uref *uref_src)  

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

This function copies the extra macropixels added after each line 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_flow_copy_hmprepend(struct uref *uref, struct uref *uref_src)  

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

This function copies the extra macropixels added before each line 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_flow_copy_hsize(struct uref *uref, struct uref *uref_src)  

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

This function copies the horizontal size 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_flow_copy_hsize_visible(struct uref *uref, struct uref *uref_src)  

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

This function copies the horizontal visible size 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_flow_copy_hsubsampling(struct uref *uref, struct uref *uref_src, uint8_t plane)  

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

This function copies the horizontal subsampling 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_flow_copy_macropixel(struct uref *uref, struct uref *uref_src)  

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

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

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

This function copies the size of a compound 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_flow_copy_matrix_coefficients(struct uref *uref, struct uref *uref_src)  

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

This function copies the matrix coefficients 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_flow_copy_overscan(struct uref *uref, struct uref *uref_src)  

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

This function copies the overscan 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_flow_copy_planes(struct uref *uref, struct uref *uref_src)  

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

This function copies the number of planes 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_flow_copy_sar(struct uref *uref, struct uref *uref_src)  

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

This function copies the sample aspect ratio 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_flow_copy_transfer_characteristics(struct uref *uref, struct uref *uref_src)  

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

This function copies the transfer characteristics 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_flow_copy_vappend(struct uref *uref, struct uref *uref_src)  

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

This function copies the extra lines added after buffer 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_flow_copy_video_format(struct uref *uref, struct uref *uref_src)  

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

This function copies the video format 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_flow_copy_vprepend(struct uref *uref, struct uref *uref_src)  

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

This function copies the extra lines added before buffer 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_flow_copy_vsize(struct uref *uref, struct uref *uref_src)  

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

This function copies the vertical size 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_flow_copy_vsize_visible(struct uref *uref, struct uref *uref_src)  

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

This function copies the vertical visible size 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_flow_copy_vsubsampling(struct uref *uref, struct uref *uref_src, uint8_t plane)  

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

This function copies the vertical subsampling 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_flow_delete_afd(struct uref *uref)  

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

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

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

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

Parameter 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 73.

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

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_bar(struct uref *uref)  

This function is declared in UREF_ATTR_OPAQUE function like macro expansion, line 53 in upipe/uref_pic_flow.h source file, line 97.

This function deletes the bar data attribute of a uref.

Parameter 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 60.

This function deletes the chroma type attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_colour_primaries(struct uref *uref)  

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

This function deletes the colour primaries attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_dar(struct uref *uref)  

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

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

Parameter 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 62.

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

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_full_range(struct uref *uref)  

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

This function deletes a colour full range attribute from a uref.

Parameter 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 66.

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

Parameter 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 64.

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

Parameter 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 78.

This function deletes the horizontal size attribute of a uref.

Parameter 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 81.

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

Parameter 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 54.

This function deletes the horizontal subsampling attribute of a uref.

Parameter 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.

Parameter 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 58.

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

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_matrix_coefficients(struct uref *uref)  

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

This function deletes the matrix coefficients attribute of a uref.

Parameter 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 76.

This function deletes the overscan attribute of a uref.

Parameter 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.

Parameter 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 75.

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

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_transfer_characteristics(struct uref *uref)  

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

This function deletes the transfer characteristics attribute of a uref.

Parameter 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 70.

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

Parameter list:

  • uref: pointer to the uref

The return value is an error code

int uref_pic_flow_delete_video_format(struct uref *uref)  

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

This function deletes the video format attribute of a uref.

Parameter 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 68.

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

Parameter 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 79.

This function deletes the vertical size attribute of a uref.

Parameter 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 83.

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

Parameter 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 56.

This function deletes the vertical subsampling attribute of a uref.

Parameter list:

  • uref: pointer to the uref

The return value is an error code

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

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

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_flow_get_align(struct uref *uref, uint64_t *p)  

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

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

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

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

This function is declared in UREF_ATTR_OPAQUE function like macro expansion, line 12 in upipe/uref_pic_flow.h source file, line 97.

This function returns the bar data attribute of a uref.

Parameter list:

  • uref: pointer to the uref
  • p: pointer to the retrieved value (modified during execution)
  • size_p: filled in with the size of the value

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 60.

This function returns the chroma type attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_flow_get_colour_primaries(struct uref *uref, const char **p)  

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

This function returns the colour primaries 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_flow_get_dar(struct uref *uref, struct urational *p)  

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

This function returns the display aspect ratio 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_flow_get_fps(struct uref *uref, struct urational *p)  

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

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

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

This function returns the presence of a colour full range attribute in a uref.

Parameter list:

  • uref: pointer to the uref

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 66.

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

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

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

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

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

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

This function returns the horizontal visible size 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_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 54.

This function returns the horizontal subsampling 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_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.

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_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 58.

This function returns the size of a compound 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_flow_get_matrix_coefficients(struct uref *uref, const char **p)  

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

This function returns the matrix coefficients 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_flow_get_overscan(struct uref *uref, bool *p)  

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

This function returns the overscan 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_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.

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_flow_get_sar(struct uref *uref, struct urational *p)  

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

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

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

This function returns the transfer characteristics 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_flow_get_vappend(struct uref *uref, uint8_t *p)  

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

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

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

This function returns the video format 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_flow_get_vprepend(struct uref *uref, uint8_t *p)  

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

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

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

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

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

This function returns the vertical visible size 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_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 56.

This function returns the vertical subsampling 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_flow_infer_dar(struct uref *uref, struct urational *dar_p)  

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

This function infers the DAR from the SAR and overscan in the uref.

Parameter list:

  • uref: uref control packet
  • dar_p: filled in with the calculated display aspect ratio

The return value is an error code

int uref_pic_flow_infer_sar(struct uref *uref, struct urational dar)  

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

This function infers the SAR from the DAR.

Parameter list:

  • uref: uref control packet
  • dar: display aspect ratio

The return value is an error code

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

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

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_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 71.

This function compares the alignment in octets 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_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 60.

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

Parameter list:

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

The return value is an error code

int uref_pic_flow_match_colour_primaries(struct uref *uref, const char *prefix)  

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

This function compares the colour primaries attribute to a given prefix.

Parameter 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 66.

This function compares the extra macropixels added after each line 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_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 64.

This function compares the extra macropixels added before each line 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_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 78.

This function compares the horizontal size 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_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 81.

This function compares the horizontal visible size 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_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 54.

This function compares the horizontal subsampling 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_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.

Parameter 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 58.

This function compares the size of a compound 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_flow_match_matrix_coefficients(struct uref *uref, const char *prefix)  

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

This function compares the matrix coefficients attribute to a given prefix.

Parameter list:

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

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.

Parameter list:

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

The return value is an error code

int uref_pic_flow_match_transfer_characteristics(struct uref *uref, const char *prefix)  

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

This function compares the transfer characteristics attribute to a given prefix.

Parameter list:

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

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 70.

This function compares the extra lines added after buffer 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_flow_match_video_format(struct uref *uref, const char *prefix)  

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

This function compares the video format attribute to a given prefix.

Parameter list:

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

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 68.

This function compares the extra lines added before buffer 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_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 79.

This function compares the vertical size 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_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 83.

This function compares the vertical visible size 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_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 56.

This function compares the vertical subsampling 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_flow_max_subsampling(struct uref *uref, uint8_t *hsub_p, uint8_t *vsub_p)  

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

This function iterates on chroma plane, and returns the highest horizontal and vertical subsampling.

Parameter list:

  • uref: uref control packet
  • hsub_p: filled with the highest horizontal subsampling
  • vsub_p: filled with the highest vertical subsampling

The return value is an error code

int uref_pic_flow_set_afd(struct uref *uref, uint8_t v)  

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

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_flow_set_align(struct uref *uref, uint64_t v)  

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

This function sets the alignment in octets 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_flow_set_align_hmoffset(struct uref *uref, int64_t v)  

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

This function sets the horizontal offset of the aligned macropixel 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_flow_set_bar(struct uref *uref, const uint8_t *v, size_t size)  

This function is declared in UREF_ATTR_OPAQUE function like macro expansion, line 30 in upipe/uref_pic_flow.h source file, line 97.

This function sets the bar data attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_flow_set_bar_from_hex(struct uref *uref, const char *v)  

This function is declared in UREF_ATTR_OPAQUE function like macro expansion, line 44 in upipe/uref_pic_flow.h source file, line 97.

This function sets the bar data attribute of a uref, from an hexadecimal string.

Parameter 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 60.

This function sets the chroma type attribute of a uref.

Parameter list:

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

The return value is an error code

int uref_pic_flow_set_colour_primaries(struct uref *uref, const char *v)  

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

This function sets the colour primaries 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_flow_set_dar(struct uref *uref, struct urational v)  

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

This function sets the display aspect ratio 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_flow_set_fps(struct uref *uref, struct urational v)  

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

This function sets the frames per second 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_flow_set_full_range(struct uref *uref)  

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

This function sets a colour full range attribute in a uref.

Parameter list:

  • uref: pointer to the uref

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 66.

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

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

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

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

This function sets the horizontal size 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_flow_set_hsize_visible(struct uref *uref, uint64_t v)  

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

This function sets the horizontal visible size 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_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 54.

This function sets the horizontal subsampling 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_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.

Parameter 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 58.

This function sets the size of a compound 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_flow_set_matrix_coefficients(struct uref *uref, const char *v)  

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

This function sets the matrix coefficients 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_flow_set_overscan(struct uref *uref, bool v)  

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

This function sets the overscan 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_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.

Parameter 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 75.

This function sets the sample aspect ratio 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_flow_set_transfer_characteristics(struct uref *uref, const char *v)  

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

This function sets the transfer characteristics 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_flow_set_vappend(struct uref *uref, uint8_t v)  

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

This function sets the extra lines added after buffer 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_flow_set_video_format(struct uref *uref, const char *v)  

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

This function sets the video format 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_flow_set_vprepend(struct uref *uref, uint8_t v)  

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

This function sets the extra lines added before buffer 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_flow_set_vsize(struct uref *uref, uint64_t v)  

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

This function sets the vertical size 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_flow_set_vsize_visible(struct uref *uref, uint64_t v)  

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

This function sets the vertical visible size 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_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 56.

This function sets the vertical subsampling attribute of a uref.

Parameter 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 157.

This function finds a plane by its chroma.

Parameter 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 Fri Feb 2 23:57:20 2018 using MkDoc