Rate This Document
Findability
Accuracy
Completeness
Readability

Parameter Obtaining

The VO module provides the feature of obtaining parameters through the GetParam API.

VIDEO_GET_ENCODER_PARAM

Set module to VIDEO and cmd to VIDEO_GET_ENCODER_PARAM, and input data of the EncodeParams type to obtain encoding parameters. The following is an example:

VmiDataType module = VIDEO;
VmiCmd cmd = VIDEO_GET_ENCODER_PARAM;
EncodeParams encodeParams;
uint8_t* param = &encodeParams;
GetParam(module, cmd, param, sizeof(EncodeParams));