upipe-modules/upipe_match_attr.h header reference
Upipe module dropping urefs not matching certain values for More
Header inclusion
Members
Type
Functions
- struct upipe_mgr * upipe_match_attr_mgr_alloc(void )
- int upipe_match_attr_set_boundaries(struct upipe *upipe, uint64_t min, uint64_t max)
- int upipe_match_attr_set_uint64_t(struct upipe *upipe, int (*match)(struct ::uref *,uint64_t,uint64_t) )
- int upipe_match_attr_set_uint8_t(struct upipe *upipe, int (*match)(struct ::uref *,uint8_t,uint8_t) )
Description
int attributes
Members detail
This macro is declared in upipe-modules/upipe_match_attr.h source file, line 40.
This macro is declared in upipe-modules/upipe_match_attr.h source file, line 32.
This enum is declared in upipe-modules/upipe_match_attr.h source file, line 44.
This enum extends upipe_command with specific commands for match_attr pipes.
Identifier | Value | Description |
---|---|---|
UPIPE_MATCH_ATTR_SENTINEL | UPIPE_CONTROL_LOCAL | |
UPIPE_MATCH_ATTR_SET_UINT8_T | unknown | match uint8_t attr (int (*)(uref*, uint8_t, uint8_t)) |
UPIPE_MATCH_ATTR_SET_UINT64_T | unknown | match uint64_t attr |
UPIPE_MATCH_ATTR_SET_BOUNDARIES | unknown | set boundaries (uint64_t, uint64_t) |
This function is declared in upipe-modules/upipe_match_attr.h source file, line 100.
This function returns the management structure for all match_attr pipes.
The return value is pointer to manager
This function is declared in upipe-modules/upipe_match_attr.h source file, line 91.
This function sets the match boundaries.
Parameter list:
- upipe: description structure of the pipe
- min: min
- min: max
The return value is an error code
int upipe_match_attr_set_uint64_t(struct upipe *upipe, int (*match)(struct ::uref *,uint64_t,uint64_t) )
This function is declared in upipe-modules/upipe_match_attr.h source file, line 76.
This function sets the match callback to check uint64_t attribute with.
Parameter list:
- upipe: description structure of the pipe
- match: callback
The return value is an error code
int upipe_match_attr_set_uint8_t(struct upipe *upipe, int (*match)(struct ::uref *,uint8_t,uint8_t) )
This function is declared in upipe-modules/upipe_match_attr.h source file, line 63.
This function sets the match callback to check uint8_t attribute with.
Parameter list:
- upipe: description structure of the pipe
- match: callback
The return value is an error code