upipe-modules/upipe_blit.h header reference

Upipe module blitting subpictures into a main picture More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe module blitting subpictures into a main picture

Members detail  

#define UPIPE_BLIT_SIGNATURE  

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

#define UPIPE_BLIT_SUB_SIGNATURE  

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

#define _UPIPE_MODULES_UPIPE_BLIT_H_  

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

enum upipe_blit_command  

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

This enum extends upipe_command with specific commands for upipe_blit pipes.

IdentifierValueDescription
UPIPE_BLIT_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_BLIT_PREPAREunknownprepares the next picture to output (struct upump **)

struct upipe_mgr * upipe_blit_mgr_alloc(void )  

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)  

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

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  

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_sub pipes.

IdentifierValueDescription
UPIPE_BLIT_SUB_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_BLIT_SUB_GET_RECTunknowngets 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_RECTunknownsets 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_GET_ALPHAunknowngets the alpha channel multiplier (uint8_t *)
UPIPE_BLIT_SUB_SET_ALPHAunknownsets the alpha channel multiplier (uint8_t)
UPIPE_BLIT_SUB_GET_ALPHA_THRESHOLDunknowngets the method for alpha blending (uint8_t *)
See also ubuf_pic_blit.
UPIPE_BLIT_SUB_SET_ALPHA_THRESHOLDunknownsets the method for alpha blending (uint8_t)
See also ubuf_pic_blit.
UPIPE_BLIT_SUB_GET_Z_INDEXunknowngets the z-index (int *)
UPIPE_BLIT_SUB_SET_Z_INDEXunknownsets the z-index (int)

int upipe_blit_sub_get_alpha(struct upipe *upipe, uint8_t *alpha_p)  

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

This function gets the multiplier of the alpha channel.

Parameter list:

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

The return value is an error code

int upipe_blit_sub_get_alpha_threshold(struct upipe *upipe, uint8_t *threshold_p)  

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

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)  

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

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)  

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

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

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

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

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

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_rect(struct upipe *upipe, uint64_t loffset, uint64_t roffset, uint64_t toffset, uint64_t boffset)  

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

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)  

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

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

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