VencCreateEncoder
Function Usage
Creates a video encoder and obtains the unique ID of the video encoder instance.
Restrictions
N/A
Prototype
EncoderRetCode VencCreateEncoder(uint32_t *encHandle)
Parameters
Parameter |
Input/Output |
Type |
Description |
|---|---|---|---|
encHandle |
Output |
uint32_t * |
Handle of an encoder object, which uniquely identifies an encoder instance. |
Returns
The returns of EncoderRetCode are as follows:
- VIDEO_ENCODER_SUCCESS: An encoder is successfully created.
- VIDEO_ENCODER_CREATE_FAIL: Failed to create an encoder.