aclvencCallback
The
Description
Video encoding callback function. This API is synchronous. This callback function is user-defined.
Restrictions
- Do not perform channel destruction in the callback function. Doing so results in a deadlock at app runtime.
- The latency for handling the callback function must meet the frame rate required for frame feeding. Otherwise, aclvencSendFrame will be unable to process video frames in real time.
- Unsubscribe from a callback thread after all callbacks are executed.
Prototype
void (*aclvencCallback)(acldvppPicDesc *input, acldvppStreamDesc *output, void *userdata)
Parameters
|
Parameter |
Input/Output |
Description |
|---|---|---|
|
input |
Input |
Pointer to the description of input images. |
|
output |
Input |
Pointer to the VENC output stream description. |
|
userdata |
Input |
Pointer to the user-defined data. |
Returns
None
Parent topic: VENC