acldvppSetChannelDescMode
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
☓ |
√ |
|
√ |
|
√ |
|
√ |
|
☓ |
Function
Channel mode in the channel description, which specifies the function to be implemented by the image data processing channel. Currently, the VPC, JPEGD, JPEGE, and PNGD functions are supported.
API call sequence : acldvppCreateChannelDesc --> acldvppSetChannelDescMode --> acldvppCreateChannel
Prototype
1 | aclError acldvppSetChannelDescMode(acldvppChannelDesc *channelDesc, uint32_t mode) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Output |
Pointer to the channel description. Call the acldvppCreateChannelDesc API to create data of the acldvppChannelDesc type in advance. |
mode |
Input |
Channel mode. For details about the value of each mode, see the enumerated values of acldvppChannelMode. |
Returns
0 on success; otherwise, failure. For details, see aclError.