12.14. REGION¶
【Debug Information】
# cat /proc/cvitek/rgn
Module: [RGN], Build Time[#1 SMP PREEMPT Wed Feb 24 15:02:47 CST 2021]
------REGION STATUS OF COVER----------------------------------------------
Hdl Type Used
# 1 1 Y
------REGION CHN STATUS OF RECT COVER-------------------------------------
Hdl Type Mod Dev Chn bShow
X Y W H Color Layer CoorType
# 1 1 VPSS 0 1 Y
30 0 100 100 FFFF 0 ABS
------REGION STATUS OF COVEREX--------------------------------------------
Hdl Type Used
------REGION CHN STATUS OF RECT COVEREX-----------------------------------
Hdl Type Mod Dev Chn bShow
X Y W H Color Layer
------REGION STATUS OF OVERLAYEX------------------------------------------
Hdl Type Used PiFmt W H BgColor Phy
Virt Stride CnvsNum
# 2 0 Y ARGB_1555 300 200 0 136375000 7f78785000 608 2
------REGION CHN STATUS OF OVERLAYEX--------------------------------------
Hdl Type Mod Dev Chn bShow X Y Layer
# 2 0 VPSS 0 0 Y 10 10 0
【Analysis】
Record the resource information of current region.
【Parameter Description】
Parameter |
Decription |
|
---|---|---|
REGION STATUS OFCOVER |
Hdl |
Handle number of COVER |
Type |
COVER type with a value of 1. |
|
Used |
Whether the resource is occupied. N: not occupied Y: occupied |
|
REGION CHN STATUS OFRECT COVER |
Hdl |
Handle number of COVER |
Type |
COVER type with a value of 1. |
|
Mod |
Module of Attach |
|
Dev |
Device number |
|
Chn |
channel number |
|
bShow |
Whether it is displayed in this channel. N: not displayed Y: display |
|
X |
The starting X coordinate displayed in the channel. |
|
Y |
The starting y coordinate displayed in the channel. |
|
W |
COVER width (Unit: pixels) |
|
H |
COVER height (Unit: pixels) |
|
Color |
COVER color |
|
Layer |
The layer displayed in the channel. |
|
CoorType |
ratio coordiante or abs coordinate |
|
REGION STATUS OFCOVEREX |
Hdl |
Handle number of COVEREX |
Type |
COVEREX type, value: 2。 |
|
Used |
Whether the resource is occupied. N: not occupied Y: occupied |
|
REGION CHN STATUS OFRECT COVEREX |
Hdl |
Handle number of COVEREX |
Type |
COVEREX type, value: 2。 |
|
Mod |
Module of Attach |
|
Dev |
Device number |
|
Chn |
channel number |
|
bShow |
Whether it is displayed in this channel. N: not displayed Y: display |
|
X |
The starting X coordinate displayed in the channel. |
|
Y |
The starting y coordinate displayed in the channel. |
|
W |
COVEREX width (Unit: pixels) |
|
H |
COVEREX height (Unit: pixels) |
|
Color |
COVEREX color |
|
Layer |
The layer displayed in the channel. |
|
REGION STATUS OFOVERLAYEX |
Hdl |
Handle number of OVERLAYEX |
Type |
OVERLAYEX type, value: 0。 |
|
Used |
Whether the resource is occupied. N: not occupied Y: occupied |
|
PiFmt |
OVERLAYEX pixel format. Refer to PIXEL_FORMAT_E。 |
|
W |
OVERLAYEX width (Unit: pixels) |
|
H |
OVERLAYEX height (Unit: pixels) |
|
BgColor |
OVERLAYEX background color |
|
Phy |
The physical address of the memory occupied by OVERLAYEX |
|
Virt |
The virtual address of memory occupied by OVERLAYEX |
|
Stride |
OVERLAYEX memory span in bytes. |
|
CnvsNum |
Number of OVERLAYEX memory |
|
REGION CHN STATUS OFOVERLAYEX |
Hdl |
Handle number of OVERLAYEX |
Type |
OVERLAYEX type, value: 0。 |
|
Mod |
Module of Attach |
|
Dev |
Device number |
|
Chn |
channel number |
|
bShow |
Whether it is displayed in this channel. N: not displayed Y: display |
|
X |
The starting X coordinate displayed in the channel. |
|
Y |
The starting y coordinate displayed in the channel. |
|
Layer |
The layer displayed in the channel. |