Function: dvpp_set_channel_desc_mode
C Prototype |
aclError acldvppSetChannelDescMode(acldvppChannelDesc *channelDesc, uint32_t mode) |
|---|---|
Python Function |
ret = acl.media.dvpp_set_channel_desc_mode(dvpp_channel_desc, mode) |
Function Usage |
Specifies the channel mode in the channel description, and specifies the function to be implemented by the image data processing channel, including VPC, JPEGD, JPEGE, and PNGD. The Atlas 200/300/500 Inference Product does not support this API in the current version. The Atlas Training Series Product does not support this API in the current version. |
Input Description |
dvpp_channel_desc: int, pointer address of the channel description. Call acl.media.dvpp_create_channel_desc in advance to create acldvppChannelDesc data. mode: int, channel mode. For details, see acldvppChannelMode. |
Return Value |
ret: int, error code.
|
Restrictions |
API calling sequence: |