upipe-blackmagic/upipe_blackmagic_sink.h header reference
Upipe blackmagic sink More
Header inclusion
Members
Types
- enum upipe_bmd_sink_command
- enum upipe_bmd_sink_genlock
Functions
- uint32_t upipe_bmd_mode_from_flow_def(struct upipe *upipe, struct uref *flow_def)
- struct upipe * upipe_bmd_sink_alloc(struct upipe_mgr *mgr, struct uprobe *uprobe, struct uprobe *uprobe_pic, struct uprobe *uprobe_subpic)
- int upipe_bmd_sink_get_genlock_offset(struct upipe *upipe, int64_t *offset)
- int upipe_bmd_sink_get_genlock_status(struct upipe *upipe, int *status)
- int upipe_bmd_sink_get_pic_sub(struct upipe *upipe, struct upipe **upipe_p)
- int upipe_bmd_sink_get_subpic_sub(struct upipe *upipe, struct upipe **upipe_p)
- int upipe_bmd_sink_get_uclock(struct upipe *upipe, struct uclock **uclock_p)
- struct upipe_mgr * upipe_bmd_sink_mgr_alloc(void )
- int upipe_bmd_sink_set_genlock_offset(struct upipe *upipe, int64_t offset)
Description
Upipe blackmagic sink
Members detail
This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 34.
This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 33.
This macro is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 26.
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
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.
Identifier | Value | Description |
---|---|---|
UPIPE_BMD_SINK_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_BMD_SINK_GET_PIC_SUB | unknown | returns the pic subpipe (struct upipe **) |
UPIPE_BMD_SINK_GET_SUBPIC_SUB | unknown | returns the subpic subpipe (struct upipe **) |
UPIPE_BMD_SINK_GET_UCLOCK | unknown | returns the uclock (struct uclock *) * |
UPIPE_BMD_SINK_GET_GENLOCK_STATUS | unknown | returns the genlock status (int) * |
UPIPE_BMD_SINK_GET_GENLOCK_OFFSET | unknown | returns the genlock offset (int) * |
UPIPE_BMD_SINK_SET_GENLOCK_OFFSET | unknown | sets the genlock offset (int) * |
This enum is declared in upipe-blackmagic/upipe_blackmagic_sink.h source file, line 37.
Identifier | Value | Description |
---|---|---|
UPIPE_BMD_SINK_GENLOCK_UNLOCKED | 0 | |
UPIPE_BMD_SINK_GENLOCK_LOCKED | 1 | |
UPIPE_BMD_SINK_GENLOCK_UNSUPPORTED | 2 |
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
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
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
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
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
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