12.14. REGIONΒΆ

Debugging Information

# cat /proc/cvitek/rgn Module: [RGN], Build Time[#2 PREEMPT Mon Sep 23 15:11:43 CST 2024] ------REGION STATUS OF OVERLAY----------------------------------------------  Hdl Type Used PiFmt W H BgColor Phy Virt Stride CnvsNum Cmpr MaxNeedIon  # 0 0 Y ARGB_1555 100 100 0 8672a000 ffffffd004538000 224 1 N 22400 ------REGION CHN STATUS OF OVERLAY-------------------------------------  Hdl Type Mod Dev Chn bShow X Y  # 0 0 VPSS 0 0 Y 20 30 ------REGION STATUS OF COVER----------------------------------------------  Hdl Type Used  # 40 1 Y ------REGION CHN STATUS OF RECT COVER-------------------------------------  Hdl Type Mod Dev Chn bShow  X Y W H Color CoorType  # 40 1 VPSS 0 0 Y  20 20 100 100 FFFF ABS ------REGION STATUS OF COVEREX--------------------------------------------  Hdl Type Used  # 60 2 Y ------REGION CHN STATUS OF RECT COVEREX-----------------------------------  Hdl Type Mod Dev Chn bShow  X Y W H Color Layer  # 60 2 VPSS 0 0 Y  20 20 100 100 FFFF 0 ------REGION STATUS OF OVERLAYEX------------------------------------------  Hdl Type Used PiFmt W H BgColor Phy Virt Stride CnvsNum ------REGION CHN STATUS OF OVERLAYEX--------------------------------------  Hdl Type Mod Dev Chn bShow X Y Layer ------REGION STATUS OF MOSAIC------------------------------------------  Hdl Type Used  # 80 4 Y ------REGION CHN STATUS OF MOSAIC--------------------------------------  Hdl Type Mod Dev Chn bShow  X Y W H BlkSize  # 80 4 VPSS 0 0 Y  20 20 96 96 8*8 

Debugging Information Analysis

recordcurrentRegionresourceInformation.

Parameter Description

Parameter

Description

REGION STATUS OF OVERLAY
OVERLAYStatus

Hdl

OVERLAY handle number.

Type

OVERLAY type; the value is 0.

Used

Whether the resource is occupied.

N: not occupied.

Y: occupied.

PiFmt

OVERLAYPixel format, PIXEL_FORMAT_E.

W

OVERLAYWidth (Unit: pixels).

H

OVERLAYHeight (Unit: pixels).

Color

OVERLAYColor.

Phy

OVERLAYusageMemoryPhysicalAddress.

Virt

OVERLAYusageMemoryVirtual address.

Stride

OVERLAYMemory (Unit: byte).

CnvsNum

OVERLAYMemoryCount.

Cmpr

canvasWhetherCompression.

N: notCompression.

Y: Compression.

MaxNeedIon

OVERLAYMaximumneed toMemory.

REGION CHN STATUS OF OVERLAY
OVERLAYinChannelinDisplayStatus

Hdl

OVERLAY handle number.

Type

OVERLAY type; the value is 0.

Mod

Attached module.

Dev

Device number.

Chn

Channel number.

bShow

Whether to display it on the channel.

N: hidden.

Y: Display.

X

Starting X coordinate displayed on the channel.

Y

Starting Y coordinate displayed on the channel.

REGION STATUS OF COVER
COVERStatus

Hdl

COVER handle number.

Type

COVERType, valueis1.

Used

Whether the resource is occupied.

N: not occupied.

Y: occupied.

REGION CHN STATUS OF RECT COVER
RECT COVERinChannelinDisplayStatus

Hdl

COVER handle number.

Type

COVERType, valueis1.

Mod

Attached module.

Dev

Device number.

Chn

Channel number.

bShow

Whether to display it on the channel.

N: hidden.

Y: Display.

X

Starting X coordinate displayed on the channel.

Y

Starting Y coordinate displayed on the channel.

W

COVERWidth (Unit: pixels).

H

COVERHeight (Unit: pixels).

Color

COVERColor.

CoorType

ratio coordiante or abs coordinate

REGION STATUS OF COVEREX
COVEREXStatus

Hdl

COVEREX handle number.

Type

COVEREXType, valueis2.

Used

Whether the resource is occupied.

N: not occupied.

Y: occupied.

REGION CHN STATUS OF RECT COVEREX
RECT COVEREXinChannelinDisplayStatus

Hdl

COVEREX handle number.

Type

COVEREXType, valueis2.

Mod

Attached module.

Dev

Device number.

Chn

Channel number.

bShow

Whether to display it on the channel.

N: hidden.

Y: Display.

X

Starting X coordinate displayed on the channel.

Y

Starting Y coordinate displayed on the channel.

W

COVEREXWidth (Unit: pixels).

H

COVEREXHeight (Unit: pixels).

Color

COVEREXColor.

Layer

Display layer on the channel.

REGION STATUS OF OVERLAYEX
OVERLAYEXStatus

Hdl

OVERLAYEX handle number.

Type

OVERLAYEX type; the value is 3.

Used

Whether the resource is occupied.

N: not occupied.

Y: occupied.

PiFmt

OVERLAYEXPixel format, PIXEL_FORMAT_E.

W

OVERLAYEXWidth (Unit: pixels).

H

OVERLAYEXHeight (Unit: pixels).

BgColor

OVERLAYEXBackground color.

Phy

OVERLAYEXusageMemoryPhysicalAddress.

Virt

OVERLAYEXusageMemoryVirtual address.

Stride

OVERLAYEXMemory (Unit: byte).

CnvsNum

OVERLAYEXMemoryCount

REGION CHN STATUS OF OVERLAYEX
OVERLAYEXinChannelinDisplayStatus

Hdl

OVERLAYEX handle number.

Type

OVERLAYEX type; the value is 3.

Mod

Attached module.

Dev

Device number.

Chn

Channel number.

bShow

Whether to display it on the channel.

N: hidden.

Y: Display.

X

Starting X coordinate displayed on the channel.

Y

Starting Y coordinate displayed on the channel.

Layer

Display layer on the channel.

REGION STATUS OF MOSAIC
MOSAICStatus

Hdl

MOSAIC handle number.

Type

MOSAIC type; the value is 4.

Used

Whether the resource is occupied.

N: not occupied.

Y: occupied.

REGION CHN STATUS OF RECT MOSAIC
MOSAICinChannelinDisplayStatus

Hdl

MOSAIC handle number.

Type

MOSAIC type; the value is 4.

Mod

Attached module.

Dev

Device number.

Chn

Channel number.

bShow

Whether to display it on the channel.

N: hidden.

Y: Display.

X

Starting X coordinate displayed on the channel.

Y

Starting Y coordinate displayed on the channel.

W

MOSAICWidth (Unit: pixels).

H

MOSAICHeight (Unit: pixels).

BlkSize

MOSAICblockSize.