aclvencCallback
Applicability
|
Product |
Supported |
|---|---|
|
|
x |
|
|
x |
|
|
√ |
|
|
√ |
|
|
x |
Description
Video encoding callback function. This callback function is user-defined.
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
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.
Parent topic: VENC