upipe-modules/upipe_blit.h header reference

Upipe module blitting subpictures into a main picture More

Header inclusion [link] 

Members [link] 

Types [link] 

Functions [link] 

Description [link] 

Upipe module blitting subpictures into a main picture

Members detail [link] 

#define UPIPE_BLIT_SIGNATURE [link] 

This macro is declared in upipe-modules/upipe_blit.h source file, line 39.

#define UPIPE_BLIT_SUB_SIGNATURE [link] 

This macro is declared in upipe-modules/upipe_blit.h source file, line 40.

#define _UPIPE_MODULES_UPIPE_BLIT_H_ [link] 

This macro is declared in upipe-modules/upipe_blit.h source file, line 32.

enum upipe_blit_command [link] 

This enum is declared in upipe-modules/upipe_blit.h source file, line 60.

This enum extends upipe_command with specific commands for upipe_blit pipes.

IdentifierValueDescription
UPIPE_BLIT_SENTINEL0x8000
UPIPE_BLIT_PREPARE1prepares the next picture to output (struct upump **)

struct upipe_mgr * upipe_blit_mgr_alloc(void ) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 47.

This function returns the management structure for blit pipes.

The return value is pointer to manager

int upipe_blit_prepare(struct upipe *upipe, struct upump **upump_p) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 106.

This function prepares the next picture to output.

Parameter list:

  • upipe: description structure of the pipe
  • upump_p: reference to pump that generated the buffer

The return value is an error code

enum upipe_blit_sub_command [link] 

This enum is declared in upipe-modules/upipe_blit.h source file, line 69.

This enum extends upipe_command with specific commands for upipe_blit_sub pipes.

IdentifierValueDescription
UPIPE_BLIT_SUB_SENTINEL0x8000
UPIPE_BLIT_SUB_GET_RECT1gets the offsets of the rect onto which the input of this subpipe will be blitted (uint64_t *, uint64_t *, uint64_t *, uint64_t *)
UPIPE_BLIT_SUB_SET_RECT2sets the offsets of the rect onto which the input of this subpipe will be blitted (uint64_t, uint64_t, uint64_t, uint64_t)
UPIPE_BLIT_SUB_SET_MARGIN3sets the margins of the rect onto which the input of this subpipe will be blitted (struct urational, struct urational, struct urational, struct urational)
UPIPE_BLIT_SUB_GET_ALPHA4gets the alpha channel multiplier (int *)
UPIPE_BLIT_SUB_SET_ALPHA5sets the alpha channel multiplier (int)
UPIPE_BLIT_SUB_GET_ALPHA_THRESHOLD6gets the method for alpha blending (int *)
See also ubuf_pic_blit.
UPIPE_BLIT_SUB_SET_ALPHA_THRESHOLD7sets the method for alpha blending (int)
See also ubuf_pic_blit.
UPIPE_BLIT_SUB_GET_Z_INDEX8gets the z-index (int *)
UPIPE_BLIT_SUB_SET_Z_INDEX9sets the z-index (int)

int upipe_blit_sub_get_alpha(struct upipe *upipe, int *alpha_p) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 177.

This function gets the multiplier of the alpha channel.

Parameter list:

  • upipe: description structure of the pipe
  • alpha_p: filled in with the multiplier of the alpha channel

The return value is an error code

int upipe_blit_sub_get_alpha_threshold(struct upipe *upipe, int *threshold_p) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 204.

This function gets the method for alpha blending for this subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • threshold_p: filled in with method for alpha blending ()

The return value is an error code

int upipe_blit_sub_get_rect(struct upipe *upipe, uint64_t *loffset_p, uint64_t *roffset_p, uint64_t *toffset_p, uint64_t *boffset_p) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 124.

This function gets the offsets (from the respective borders of the frame) of the rectangle onto which the input of the subpipe will be blitted.

Parameter list:

  • upipe: description structure of the pipe
  • loffset_p: filled in with the offset from the left border
  • roffset_p: filled in with the offset from the right border
  • toffset_p: filled in with the offset from the top border
  • boffset_p: filled in with the offset from the bottom border

The return value is an error code

int upipe_blit_sub_get_z_index(struct upipe *upipe, int *z_index_p) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 230.

This function gets the z-index for this subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • z_index_p: filled in with z-index

The return value is an error code

int upipe_blit_sub_set_alpha(struct upipe *upipe, int alpha) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 190.

This function sets the multiplier of the alpha channel.

Parameter list:

  • upipe: description structure of the pipe
  • alpha: multiplier of the alpha channel

The return value is an error code

int upipe_blit_sub_set_alpha_threshold(struct upipe *upipe, int threshold) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 217.

This function sets the method for alpha blending for this subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • threshold: method for alpha blending ()

The return value is an error code

int upipe_blit_sub_set_margin(struct upipe *upipe, struct urational lmargin, struct urational rmargin, struct urational tmargin, struct urational bmargin) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 163.

This function sets the margins (from the respective borders of the frame) of the rectangle onto which the input of the subpipe will be blitted.

Parameter list:

  • upipe: description structure of the pipe
  • lmargin: margin from the left border in ratio of the total width
  • rmargin: margin from the right border in ratio of the total width
  • tmargin: margin from the top border in ratio of the total height
  • bmargin: margin from the bottom border in ratio of the total height

The return value is an error code

int upipe_blit_sub_set_rect(struct upipe *upipe, uint64_t loffset, uint64_t roffset, uint64_t toffset, uint64_t boffset) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 142.

This function sets the offsets (from the respective borders of the frame) of the rectangle onto which the input of the subpipe will be blitted.

Parameter list:

  • upipe: description structure of the pipe
  • loffset: offset from the left border
  • roffset: offset from the right border
  • toffset: offset from the top border
  • boffset: offset from the bottom border

The return value is an error code

int upipe_blit_sub_set_z_index(struct upipe *upipe, int z_index) [link] 

This function is declared in upipe-modules/upipe_blit.h source file, line 243.

This function sets the z-index for this subpipe.

Parameter list:

  • upipe: description structure of the pipe
  • z_index: z-index

The return value is an error code

enum uprobe_blit_event [link] 

This enum is declared in upipe-modules/upipe_blit.h source file, line 51.

This enum extends uprobe_event with specific events for upipe_blit pipes.

IdentifierValueDescription
UPROBE_BLIT_SENTINEL0x8000
UPROBE_BLIT_PREPARE_READY1upipe_blit is ready for upipe_blit_prepare (struct upump **)
Valid XHTML 1.0 StrictGenerated by cmassiot on Sun Dec 14 18:31:17 2025 using MkDoc