acldvppSetChannelDescMode
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
x |
Description
Sets the channel mode in an image processing channel description to specify the purpose (selected from VPC, JPEGD, JPEGE, and PNGD) of the channel.
API call sequence: acldvppCreateChannelDesc -> acldvppSetChannelDescMode -> acldvppCreateChannel
Prototype
aclError acldvppSetChannelDescMode(acldvppChannelDesc *channelDesc, uint32_t mode)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Output |
Pointer to the channel description. Call acldvppCreateChannelDesc to create data of the acldvppChannelDesc type in advance. |
mode |
Input |
Channel mode. For details, see the values of acldvppChannelMode. |
Returns
0 on success; else, failure. For details, see aclError.