Feeds images to the encoder for encoding. This API is asynchronous.
The Ascend 910 AI Processor does not support this API in the current version.
aclError aclvencSendFrame(aclvencChannelDesc *channelDesc,
acldvppPicDesc *input,
void *reserve,
aclvencFrameConfig *config,
void *userdata)
Parameter |
Input/Output |
Description |
|---|---|---|
channelDesc |
Input |
Pointer to the channel description. Must be the same as the channelDesc argument passed to the aclvencCreateChannel call. Specify the video encoding callback function in the channel description. |
input |
Input |
Pointer to the input image description. The user needs to allocate input buffer in advance.
|
reserve |
Input |
Reserved. |
config |
Input |
Pointer to the single-frame configuration. |
userdata |
Input |
Pointer to the user-defined data. |
0 on success; else, failure.
For the API call sequence, see VENC.