Rate This Document
Findability
Accuracy
Completeness
Readability

CreateVideoEncoder

Function Usage

Creates an encoder instance.

Restrictions

N/A

Prototype

EncoderRetCode CreateVideoEncoder(VideoEncoder** encoder)

Parameters

Parameter

Input/Output

Class

Description

encoder

Output

VideoEncoder interface class

Pointer to the encoder instance. It is used to store the encoder instance created in the interface.

Returns

Data type: EncoderRetCode

The value can be:

  • VIDEO_ENCODER_SUCCESS: The encoder instance is successfully created.
  • VIDEO_ENCODER_CREATE_FAIL: Failed to create an encoder instance.