recovery_dispay_layer_and_surface_init(&surface, &layer_info, &update_rect);
// 设置layer全白色, 也可以使用接口 recovery_dispay_read_image_and_savein_surface 实现从文件系统读图片
+ /*
+ /* image_tool 图片压缩参数如下:
+ <imageRes compress="NONE" format="RGB888" align="16" tile="6"
+ alpha="0" rgb="0" autocmpmode="0" highqualitymode="0"
+ highcmpratiomode="0" ver="1">
+ </imageRes>
+ */
// memset_s((void *)surface.phy_addr, surface.size, 0xFF, surface.size);
recovery_dispay_read_image_and_savein_surface("/system/OTAUpdataRecover.bin",&surface);
ret = uapi_dpu_create_layer(&layer_info, &dpu_handle);