Updated on 2022-03-13 GMT+08:00

Compatibility

To be compatible with the functions in earlier versions, the current version supports the VPC and VENC functions through the following methods:

  • Implementing the VPC function:
    • Pass input parameters to DvppCtl, that is, the DVPP_CTL_VPC_PROC command word and resize_param_in_msg structure parameters.
    • In scenarios that have low requirements on latency and process a large number of low-resolution images, pass input parameters to DvppCtl, that is, the DVPP_CTL_CMDLIST_PROC command word and IMAGE_CONFIG structure parameters.

    This method is not recommended. It is used to be compatible with the functions in earlier versions and will be deleted in later versions. If you use functions that are not recommended, you are advised to migrate them to the recommended VPC function method described in VPC/JPEGE/JPEGD/PNGD Function Interfaces.

  • Implementing the VENC function: Call CreateDvppApi, DvppCtl, and DestroyDvppApi and pass input parameters to DvppCtl, that is, the DVPP_CTL_VENC_PROC command word and venc_in_msg structure parameters.

    This method is not recommended. It is used to be compatible with the functions in earlier versions and will be deleted in later versions. If you use functions that are not recommended, you are advised to migrate them to the recommended VENC function method described in VENC Function Interfaces.