12.16. VOΒΆ

Debugging Information

# cat /proc/cvitek/vo -------------------------------DEVICE CONFIG------------------------------  DevID DevEn IntfType IntfSync BkClr DevFrt  # 0 Y MIPI 720x1280@60 3FF 106 -------------------------------VIDEO LAYER STATUS 1-----------------------  LayerId VideoEn PixFmt ImgW ImgH DispX DispY DispW DispH DispFrt  # 0 Y YUV_PLANAR_420 720 1280 0 0 720 1280 25 -------------------------------VIDEO LAYER STATUS 2 (continue)------------  LayerId DevId EnChNum Luma Cont Hue Satu BufLen  # 0 0 1 128 128 0 128 3 -------------------------------CHN BASIC INFO-----------------------------  LayerId ChnId ChnEn Prio ChnX ChnY ChnW ChnH RotAngle  # 0 # 0 Y 0 0 0 720 1280 90 -------------------------------CHN PLAY INFO------------------------------  LayerId ChnId Show Pause Thrshd ChnFrt ChnGap(us) DispPts PreDonePts  # 0 # 0 N N 3 24 41666 1580552617 1580472618 

Debugging Information Analysis

recordcurrentVOUsestatusanditsAttributeConfiguration, includingDeviceStatus, Video layerStatusandChannelStatus. canused to dynamicGetcurrentVOUseStatuswithtodebugorTest.

Parameter Description

Parameter

Description

DEVICE CONFIG

DevID

DeviceID.

Value Range: [0,VO_MAX_DEV_NUM)

DevEn

DeviceWhether to enable.

N: prohibited;

Y: Enable.

IntfType

InterfaceType.

Value Range:

CVBS, YPBPR, VGA, BT656, BT1120, LCD, LCD_18BIT, LCD_24BIT, LCD_30BIT, MIPI, MIPI_SLAVE, HDMI, I80

IntfSync

Interfacetiming.

Value Range: [0,VO_OUTPUT_BUTT).

BkClr

Devicebackground color. RGB888Format.

DevFrt

DeviceFrame rate, that isflush, withtimingRelated.

VIDEO LAYER STATUS 1

LayerId

Video layerID.

Value Range: [0,VO_MAX_LAYER_NUM).

VideoEn

Video layerWhether to enable.

N: prohibited;

Y: Enable.

PixFmt

InputImagePixel format.

ImgW

Video layercanvasWidth.

ImgH

Video layercanvasHeight.

DispX

DisplayRegionstartHorizontal coordinate.

DispY

DisplayRegionstartVertical coordinate.

DispW

DisplayRegionWidth.

DispH

DisplayRegionHeight.

DispFrt

Video layerDisplayFrame rate.

VIDEO LAYER STATUS 2(continue)

LayerId

Video layerID.

Value Range: [0,VO_MAX_LAYER_NUM).

DevId

Video layerBindDeviceID.

Value Range: [0,VO_MAX_DEV_NUM).

EnChNum

Channelmake cannumber. that isthisVideo layerhasmultiple itemChanneltoEnableStatus.

Value Range: [0,VO_MAX_CHN_NUM).

Luma

Brightness.

Value Range: [0, 255].

Cont

Contrast.

Value Range: [0, 255].

Hue

hue.

Value Range: [0, 255].

Satu

Saturation.

Value Range: [0, 255].

BufLen

DisplaybufferLength.

CHN BASIC INFO

LayerId

Video layerID.

Value Range: [0,VO_MAX_LAYER_NUM).

ChnId

ChannelID.

Value Range: [0,VO_MAX_CHN_NUM).

ChnEn

ChannelWhether to enable.

Y: is;

N:.

Prio

Channelpriority.

Value Range: [0,VO_MAX_CHN_NUM).

ChnX

ChannelstartHorizontal coordinate.

ChnY

ChannelstartVertical coordinate.

ChnW

ChannelWidth.

ChnH

ChannelHeight.

RotAngle

Channel rotation angle.

value range area: [0,ROTATION_BUTT)

CHN PLAY INFO

LayerId

Video layerID.

Value Range: [0,VO_MAX_LAYER_NUM).

ChnId

ChannelID.

Value Range: [0,VO_MAX_CHN_NUM).

Show

ChannelWhetherDisplay.

N: hide;

Y: Display.

Pause

ChannelWhethercurrently.

N: prohibited;

Y: Enable.

Thrshd

Channel MaximumcanReceiveImageFramenumber.

ChnFrt

ChannelFrame rate. Channelplayback canthroughthisnumbervalue.

ChnGap(us)

ChannelFrame. withChannel Frame rate. Unit: us.

DispPts

currentcurrentlyinDisplay FrameTimestamp. Unit: us.

PreDonePts

beforeoneframecompleteDisplay FrameTimestamp. Unit: us.