Parameter Setting
The VO module provides the feature of setting parameters through the SetParam API.
VIDEO_SET_ENCODER_PARAM
Set module to DATA_VIDEO and cmd to VIDEO_SET_ENCODER_PARAM, and input data of the EncodeParams type to set encoding parameters. The following is an example:
1 2 3 4 5 | VmiDataType module = DATA_VIDEO; VmiCmd cmd = VIDEO_SET_ENCODER_PARAM; EncodeParams encodeParams; uint8_t* param = &encodeParams; SetParam(module, cmd, param, sizeof(EncodeParams)); |
Parent topic: Video Output Development