To implement the JPEGD function, the API call requirements differ depending on actual type of APIs (acldvpp/hi_mpi APIs). The main difference is as follows: To use the APIs prefixed with acldvpp, the decoder does not need to be instructed to start or stop receiving stream data. While the decoder needs to be instructed to start or stop receiving stream data if you use the APIs prefixed with hi_mpi. In addition, you can obtain the decode result using the hi_mpi_vdec_get_frame API all in a new thread.