To implement the VDEC function, the API call requirements differ depending on actual type of APIs (acldvpp/aclvdec/hi_mpi APIs). The main difference is as follows: To use the APIs prefixed with acldvpp, set callback functions that can be automatically called each time when a frame is decoded. The memory address and memory size of the decoded data can be obtained using the corresponding get method of the acldvpp version. To use the APIs prefixed with hi_mpi, obtain the decode result using the hi_mpi_vdec_get_frame API all in a new thread.