hi_opt_attr

Function

Defines the channel attributes.

Definition

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

For details about basic data types hi_u32 and hi_void, see Basic Data Types.

Members

Member

Description

attr_type

Attribute type. For details, see hi_opt_attr_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.