Help Center/
Atlas 300 Application (Model 3000)/
DVPP API Reference/
Appendix/
Sample Usage of the DVPP Executor/
Usage of PNGD
Updated on 2022-03-13 GMT+08:00
Usage of PNGD
./sample_dvpp_hlt_ddk --in_image_file dvpp_pngd_1920x1080_RGBA.png --out_image_file pngd_out_RGBAtoRGB_1.rgb --test_type 9 --transform 1 ./sample_dvpp_hlt_ddk --in_image_file dvpp_pngd_1920x1080_RGBA.png --out_image_file pngd_out_RGBAtoRGB_2.rgb --test_type 10 --transform 1
In the first command (test_type 9), the DVPP allocates memory. In the second command (test_type 10), the user allocates memory. Both commands decode a PNG image into an RGB888 image.
- Input picture:
- An image whose width is 1920 pixels, height is 1080 pixels, and file name is dvpp_pngd_1920x1080_RGBA.png.
- The input image is in the same directory as the executable file.
- If --transform is set to 1, the RGBA PNG image is converted to the RGB888 format.
- Output image:
- Two 1920 x 1080 images. The file name of the first output image (test_type 9) is pngd_out_RGBAtoRGB_1.rgb, and the file name of the second output image (test_type 10) is pngd_out_RGBAtoRGB_2.rgb.
- The output images are in the same directory as the executable file.
- You can open the pngd_out_RGBAtoRGB_1.rgb and pngd_out_RGBAtoRGB_2.rgb files by using image display software to verify the correctness.
Parent topic: Sample Usage of the DVPP Executor
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.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot