Creates the decoder context API and initialize context to nullptr in advance before creation.
context The encoder context pointer.outBufCount The count of JPU internal output buffers. The range of values is [1, 31], default value 5.imageFormat Output picture format.0 means the API was successfully executed, otherwise the execution failed.imageFormat supports HB_VP_IMAGE_FORMAT_NV12, HB_VP_IMAGE_FORMAT_YUV420, HB_VP_IMAGE_FORMAT_YUV444 and HB_VP_IMAGE_FORMAT_YUV444_P format.16x16 units, so the decoded resolution changes to the 16x16 aligned resolution.Release the encoder context API.
context The encoder context pointer.0 means the API was successfully executed, otherwise the execution failed.The API for calling the JPEG decoding.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImg Pointer the memory address where the decoded picture is stored.srcBuf Pointer the memory address where JPEG data is stored.context The decoder context pointer.0 means the API was successfully executed, otherwise the execution failed.HB_VP_IMAGE_FORMAT_YUV444, the input JPEG data is required to be in the format of HB_VP_IMAGE_FORMAT_YUV444 or HB_VP_IMAGE_FORMAT_YUV444.The API for calling the JPEG decoding output buffer.
taskHandle Task handles are responsible for the interaction of the operator with the UCP architecture.dstImg Pointer the memory address where the decoded picture is stored.0 means the API was successfully executed, otherwise the execution failed.dstImg is allocated internally by the JPU.