hi_vpc_chn_attr
Function
Defines the attributes of an image processing channel.
Definition
typedef struct {
hi_s32 attr;
hi_u32 pic_width;
hi_u32 pic_height;
} hi_vpc_chn_attr;
For details about basic data types hi_s32 and hi_u32, see Basic Data Types.
Members
Member |
Description |
|---|---|
attr |
Task queue depth, in the range of [0, 350]. A larger value indicates that the queue depth is deeper and more tasks can be delivered in a channel, but leads to linearly increased memory consumption in the system. For the For the For the For the attr is in the range of [0, 350].
If the task queue depth is greater than 350, the value 350 is used in the current version. To avoid incompatibility with future versions, you are advised to set the task queue depth to a value in the range of [Minimum queue depth, 350]. In a scenario where a VPC channel is associated with n threads, you are advised to increase the task queue depth to prevent task delivery from being blocked due to full channel queues. When the number of threads is less than or equal to 32, the default queue depth 32 can be used. When the number of threads is greater than 32, it is recommended that the queue depth be greater than or equal to the number of threads. |
pic_width |
Maximum channel width in pixels. This parameter is reserved and is not supported currently. Manually set this parameter to 0 to avoid incompatibility with future versions. This is a static attribute. |
pic_height |
Maximum channel height in pixels. This parameter is reserved and is not supported currently. Manually set this parameter to 0 to avoid incompatibility with future versions. This is a static attribute. |