LayerInfo

Overview

Related Modules:

Display

Description:

Defines layer information.

LayerInfo must be passed to the OpenLayer function, which creates a layer based on the layer information.

Summary

Data Fields

Variable Name Description
width int32_t
height int32_t
type LayerType
bpp int32_t
pixFormat PixelFormat

Details

Field Documentation

bpp


1. int32_t LayerInfo::bpp

Description:

Number of bits occupied by each pixel

height


1. int32_t LayerInfo::height

Description:

Layer height

pixFormat


1. [PixelFormat]($api-api-SmartVision-Devices-Codec.md#ga60883d4958a60b91661e97027a85072a) LayerInfo::pixFormat

Description:

Pixel format of the layer

type


1. [LayerType]($api-api-SmartVision-Devices-Display.md#ga56943a0946e5f15e5e58054b8e7a04a4) LayerInfo::type

Description:

Layer type, which can be a graphics layer, overlay layer, and sideband layer

width


1. int32_t LayerInfo::width

Description:

Layer width