Function: dvpp_get_channel_desc_param
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
√ |
|
√ |
|
√ |
Function Usage
Obtains the description of an image processing channel.
Prototype
- C Prototype
1aclError acldvppGetChannelDescParam(const acldvppChannelDesc *channelDesc, acldvppChannelDescParamType paramType, size_t length, size_t *paramRetSize, void *param)
- Python Function
1paramRetSize, param, ret=acl.media.dvpp_get_channel_desc_param(channelDesc, paramType)
Parameter Description
Parameter |
Description |
|---|---|
channelDesc |
Int, pointer address of the channel description. Before calling this API, call acl.media.dvpp_create_channel_desc to create data of the acldvppChannelDesc type and call acl.media.dvpp_set_channel_desc_param to set the channel attributes. |
paramType |
Int, attribute parameter type. For details, see acldvppChannelDescParamType. |
Return Value Description
Return Value |
Description |
|---|---|
paramRetSize |
Int, actual attribute value length. |
param |
Int, pointer address of the attribute value. |
ret |
Int, error code: 0 on success; else, failure. |