hi_opt_attr

Description

Defines the channel attributes.

Prototype

typedef struct {
    hi_opt_attr_type attr_type;
    hi_u32 len;
    hi_void* value;
} hi_opt_attr;

Members

Member

Description

attr_type

Attribute type.

len

Attribute value length, which is fixed to 4.

value

Attribute value, which needs to be set based on the value of each attribute type. For details, see hi_opt_attr_type.