hi_cover

说明

覆盖参数。

定义

hi_cover = {"type": hi_cover_type,
            "rect"/"quad": hi_rect/hi_quad_cover,
            "color": color}

成员

成员名称

描述

type

整型,覆盖类型。

rect

字典,覆盖区域。

当图片格式为YUV422SP、YUV420SP时,要求x、y、width、height值均为偶数。

quad

字典,自定义覆盖区域。

color

整型,覆盖区域的颜色值,低24位有效。