upipe-blackmagic/ubuf_pic_blackmagic.h header reference
Upipe ubuf manager for picture formats with blackmagic storage More
Header inclusion
Members
Functions
- struct ubuf * ubuf_pic_bmd_alloc(struct ubuf_mgr *mgr, void *VideoFrame)
- struct ubuf_mgr * ubuf_pic_bmd_mgr_alloc(uint16_t ubuf_pool_depth, uint32_t PixelFormat)
Macro
Description
Members detail
This macro is declared in upipe-blackmagic/ubuf_pic_blackmagic.h source file, line 45.
This macro is a simple signature to make sure the ubuf_alloc internal API is used properly.
This macro is declared in upipe-blackmagic/ubuf_pic_blackmagic.h source file, line 31.
This function is declared in upipe-blackmagic/ubuf_pic_blackmagic.h source file, line 56.
This function returns a new ubuf from a blackmagic picture allocator.
Parameters list:
- mgr: management structure for this ubuf type
- VideoFrame: pointer to IDeckLinkVideoFrame
The return value is pointer to ubuf or NULL in case of failure
struct ubuf_mgr * ubuf_pic_bmd_mgr_alloc(uint16_t ubuf_pool_depth, uint32_t PixelFormat)
This function is declared in upipe-blackmagic/ubuf_pic_blackmagic.h source file, line 68.
This function allocates a new instance of the ubuf manager for picture formats using blackmagic.
Parameters list:
- ubuf_pool_depth: maximum number of ubuf structures in the pool
- PixelFormat: blackmagic pixel format
The return value is pointer to manager, or NULL in case of error