hi_vpc_chn_attr
Description
Defines the attributes of an image processing channel.
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. attr is in the range of [0, 350].
NOTE:
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. Reserved. Manually set this parameter to 0 to avoid incompatibility with future versions. This is a static attribute. |
pic_height |
Maximum channel height in pixels. Reserved. Manually set this parameter to 0 to avoid incompatibility with future versions. This is a static attribute. |