aclvencCallback
Applicability
|
Product |
Supported |
|---|---|
|
Atlas 350 Accelerator Card |
☓ |
|
|
☓ |
|
|
☓ |
|
|
√ |
|
|
√ |
|
|
☓ |
Function Description
Video encoding callback function. This callback function is user-defined.
Prototype
1
|
void (*aclvencCallback)(acldvppPicDesc *input, acldvppStreamDesc *output, void *userdata) |
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
input |
Input |
Pointer to the description of input images. For details about the type definition, see acldvppPicDesc. |
|
output |
Input |
Pointer to the description of the output frame stream after VENC encoding. For details about the type definition, see acldvppStreamDesc. |
|
userdata |
Input |
Pointer to the user-defined data. |
Returns
None
Restrictions
- Do not perform channel destruction in the callback function. Doing so results in a deadlock at app runtime.
- The delay of the callback function processing must meet the frame rate requirement. Otherwise, the real-time performance of the aclvencSendFrame interface in processing video frames is affected.
- Unsubscribe from a callback thread after all callbacks are executed.