Image and Video Encoding and Decoding
The Matrix module provides APIs for image processing and video encoding/decoding. You can perform image/video decoding on the device to reduce the data traffic between the host and device, the data transmission time, and the bandwidth pressure.
On the host, the HIAI_DMalloc API provided by the Matrix module is called to allocate memory on the device. The allocated memory is used as the input of image and video encoding and decoding. It is recommended that the start address of the memory for data storage be 128-byte aligned. On the device, after image or video pre-processing, the DVPP calls the HIAI_DVPP_DMalloc API provided by the Matrix module to allocate memory. The memory is used to store the image/video pre-processing output.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot