upipe-blackmagic/upipe_blackmagic_sink.h header reference

Upipe blackmagic sink More

Header inclusion  

Members  

Types  

Functions  

Description  

Upipe blackmagic sink

Members detail  

#define UPIPE_BMD_SINK_INPUT_SIGNATURE  

This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 34.

#define UPIPE_BMD_SINK_SIGNATURE  

This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 33.

#define _UPIPE_BLACKMAGIC_UPIPE_BLACKMAGIC_SINK_H_  

This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 26.

uint32_t upipe_bmd_mode_from_flow_def(struct upipe *upipe, struct uref *flow_def)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 166.

struct upipe * upipe_bmd_sink_alloc(struct upipe_mgr *mgr, struct uprobe *uprobe, struct uprobe *uprobe_pic, struct uprobe *uprobe_subpic)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 161.

This function allocates and initializes a bmd sink pipe.

Parameter list:

  • mgr: management structure for bmd sink type
  • uprobe: structure used to raise events for the super pipe
  • uprobe_pic: structure used to raise events for the pic subpipe
  • uprobe_subpic: structure used to raise events for the subpic subpipe

The return value is pointer to allocated pipe, or NULL in case of failure

enum upipe_bmd_sink_command  

This enum is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 44.

This enum extends upipe_command with specific commands for avformat source.

IdentifierValueDescription
UPIPE_BMD_SINK_SENTINELUPIPE_CONTROL_LOCAL
UPIPE_BMD_SINK_GET_PIC_SUBunknownreturns the pic subpipe (struct upipe **)
UPIPE_BMD_SINK_GET_SUBPIC_SUBunknownreturns the subpic subpipe (struct upipe **)
UPIPE_BMD_SINK_GET_UCLOCKunknownreturns the uclock (struct uclock *) *
UPIPE_BMD_SINK_GET_GENLOCK_STATUSunknownreturns the genlock status (int) *
UPIPE_BMD_SINK_GET_GENLOCK_OFFSETunknownreturns the genlock offset (int) *
UPIPE_BMD_SINK_SET_GENLOCK_OFFSETunknownsets the genlock offset (int) *

enum upipe_bmd_sink_genlock  

This enum is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 37.

IdentifierValueDescription
UPIPE_BMD_SINK_GENLOCK_UNLOCKED0
UPIPE_BMD_SINK_GENLOCK_LOCKED1
UPIPE_BMD_SINK_GENLOCK_UNSUPPORTED2

int upipe_bmd_sink_get_genlock_offset(struct upipe *upipe, int64_t *offset)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 131.

This function returns the bmd_sink genlock offset.

Parameter list:

  • upipe: description structure of the super pipe
  • offset: filled with the genlock offset in pixels

The return value is an error code

int upipe_bmd_sink_get_genlock_status(struct upipe *upipe, int *status)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 118.

This function returns the bmd_sink genlock status.

Parameter list:

  • upipe: description structure of the super pipe
  • status: filled with a upipe_bmd_sink_genlock value

The return value is an error code

int upipe_bmd_sink_get_pic_sub(struct upipe *upipe, struct upipe **upipe_p)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 78.

This function returns the pic subpipe. The refcount is not incremented so you have to use it if you want to keep the pointer.

Parameter list:

  • upipe: description structure of the super pipe
  • upipe_p: filled in with a pointer to the pic subpipe

The return value is an error code

int upipe_bmd_sink_get_subpic_sub(struct upipe *upipe, struct upipe **upipe_p)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 92.

This function returns the subpic subpipe. The refcount is not incremented so you have to use it if you want to keep the pointer.

Parameter list:

  • upipe: description structure of the super pipe
  • upipe_p: filled in with a pointer to the subpic subpipe

The return value is an error code

int upipe_bmd_sink_get_uclock(struct upipe *upipe, struct uclock **uclock_p)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 105.

This function returns the bmd_sink uclock.

Parameter list:

  • upipe: description structure of the super pipe
  • upipe_p: filled in with a pointer to the subpic subpipe

The return value is an error code

struct upipe_mgr * upipe_bmd_sink_mgr_alloc(void )  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 67.

This function returns the management structure for all bmd sinks.

The return value is pointer to manager

int upipe_bmd_sink_set_genlock_offset(struct upipe *upipe, int64_t offset)  

This function is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 144.

This function sets the bmd_sink genlock offset.

Parameter list:

  • upipe: description structure of the super pipe
  • offset: filled with the genlock offset in pixels

The return value is an error code

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