Function: dvpp_set_channel_desc_mode
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
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.
Prototype
- C Prototype
1aclError acldvppSetChannelDescMode(acldvppChannelDesc *channelDesc, uint32_t mode)
- Python Function
1ret = acl.media.dvpp_set_channel_desc_mode(dvpp_channel_desc, mode)
Parameter Description
Parameter |
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 Description
Return Value |
Description |
|---|---|
ret |
Int, error code: 0 on success; else, failure. |
Restrictions
API call sequence:
Parent topic: common