12.17. VPSSΒΆ
Debugging Information
# cat /proc/soph/vpss Module: [VPSS], Build Time[#1 SMP PREEMPT Wed Feb 24 15:02:47 CST 2021] -------------------------------MODULE PARAM------------------------------- vpss_vb_source CommonVB -------------------------------VPSS MODE---------------------------------- vpss_mode dev0 dev1 dual input_isp input_mem -------------------------------VPSS GRP ATTR---------------------------------------------- GrpID MaxW MaxH PixFmt SrcFRate DstFRate dev # 0 1920 1080 YUV_PLANAR_420 -1 -1 0 # 1 1920 1080 YUV_PLANAR_420 -1 -1 1 -------------------------------VPSS GRP AMP CTRL---------------------------------------------- GrpID Brightness Contrast Saturation Hue # 0 50 50 50 50 # 1 50 50 50 50 -------------------------------VPSS CHN ATTR------------------------------ GrpID PhyChnID Enable MirrorEn FlipEn SrcFRate DstFRate Depth Aspect videoX videoY videoW videoH BgColor # 0 # 0 Y N N 30 30 0 AUTO 0 0 0 0 0x0 # 1 # 0 Y N N 30 30 0 AUTO 0 0 0 0 0x0 # 1 # 1 Y N N 0 0 0 NONE 0 0 0 0 0x0 # 1 # 2 N N N 0 0 0 NONE 0 0 0 0 0x0 -------------------------------VPSS GRP CROP INFO------------------------- GrpID CropEn CoorType CoorX CoorY Width Height # 0 N RAT 0 0 0 0 # 0 N RAT 0 0 0 0 -------------------------------VPSS CHN CROP INFO------------------------- GrpID ChnID CropEn CoorType CoorX CoorY Width Height # 0 # 0 N RAT 0 0 0 0 # 1 # 0 N RAT 0 0 0 0 # 1 # 1 N RAT 0 0 0 0 # 1 # 2 N RAT 0 0 0 0 -------------------------------VPSS GRP WORK STATUS----------------------------------------------------- GrpID RecvCnt LostCnt StartFailCnt bStart CostTime(us) MaxCostTime(us) HwCostTime(us) HwMaxCostTime(us) # 0 905 0 0 Y 7241 9007 7029 7038 # 1 905 0 0 Y 7241 9007 7029 7038 -------------------------------VPSS CHN OUTPUT RESOLUTION----------------- GrpID ChnID Enable Width Height Pixfmt Videofmt VbPool SendOK FrameRate # 0 # 0 Y 1920 1080 YUV_PLANAR_420 LINEAR 0* 905 24 # 1 # 0 Y 1280 720 YUV_PLANAR_420 LINEAR 1 905 24 # 1 # 1 Y 1280 720 RGB_888 LINEAR 1 905 24 # 1 # 2 N 0 0 RGB_888 LINEAR 0 0 0 -------------------------------VPSS CHN ROTATE INFO----------------------- GrpID ChnID Rotate # 0 # 0 0 # 1 # 0 0 # 1 # 1 0 # 1 # 2 0 -------------------------------VPSS CHN LDC INFO----------------------- GrpID ChnID Enable Aspect XRatio YRatio XYRatio XOffset YOffset DistortionRatio # 0 # 0 N N 0 0 0 0 0 0 # 1 # 0 N N 0 0 0 0 0 0 # 1 # 1 N N 0 0 0 0 0 0 # 1 # 2 N N 0 0 0 0 0 0 -------------------------------VPSS HW STATUS----------------------- ID Online Status StartCnt IntCnt DutyRatio # 0 N Idle 0 0 0 # 1 N Idle 0 0 0 -------------------------------VPSS CHN BUF WRAP ATTR--------------------- GrpID ChnID Enable BufLineWrapBufSize # 0 # 0 N 0 0 # 1 # 0 N 0 0 # 1 # 1 N 0 0 # 1 # 2 N 0 0 Debugging Information Analysis
recordcurrentVPSSAttributeConfigurationandStatusInformation.
Parameter Description
Parameter | Description | |
|---|---|---|
MODULE PARAM | vpss_vb_source | VideocachepoolType. CommonVB: commonVB UserVB: UserVB UserIon: UserIon |
VPSS MODE | vpss_mode | vpssMode, singleoruserdual mode. |
dev0 | vpss dev0InputSource, isporusermemory. | |
dev1 | vpss dev1InputSource, isporusermemory. single modecaseunderonlyhasdev1. | |
VPSS GRP ATTR VPSS GRPAttribute | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
MaxW | groupInputImageMaximumWidth. | |
MaxH | groupInputImageMaximumHeight. | |
PixFmt | groupInputImagePixel format. | |
SrcFRate | GRPsourceFrame rate. | |
DstFRate | GRPDestinationFrame rate. | |
dev | GroupUseHardwaredevnumber. | |
VPSS GRP AMP CTRL VPSS GRPColorControlAttribute | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
Brightness | Brightness. | |
Contrast | Contrast. | |
Saturation | Saturation. | |
Hue | chroma. | |
VPSS CHN ATTR VPSS eachPhysicalChannel attributes | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
PhyChnID | PhysicalChannelIDnumber. Valid range: [0, VPSS_MAX_PHY_CHN_NUM). | |
Enable | Whether to enablethisChannel. N: Disabled; Y: Open. | |
MirrorEn | Whether to enablemirrorFunction. N: Disabled; Y: Open. | |
FlipEn | Whether to enableflipFunction. N: Disabled; Y: Open. | |
SrcFRate | ChannelFrame rateControl: sourceFrame rate. | |
DstFRate | ChannelFrame rateControl: DestinationFrame rate. | |
Depth | UserGetChannelImageLength. | |
Aspect | aspect ratioMode. NONE: Closeaspect ratioAUTO: automaticMode MANUAL: manualMode | |
videoX | VideoPositionXCoordinate. manualModeValid. | |
videoY | VideoPositionYCoordinate. manualModeValid. | |
videoW | VideoWidth. manualModeValid. | |
videoH | VideoHeight. manualModeValid. | |
BgColor | aspect ratioBackground color. Valid range: [0x0, 0xFFFFFF] | |
VPSS GRP CROP INFO VPSS groupCROPInformation | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
CropEn | Whether to enableCROPFunction. N: Disabled; Y: Open. | |
CoorType | CoordinateType. RAT: RelativeCoordinate; ABS: AbsoluteCoordinate. | |
CoorX | HorizontaldirectionstartCoordinate. | |
CoorY | Starting coordinate in the vertical direction. | |
Width | CROP RECT width must not exceed the maximum image width. | |
Height | CROP RECT height must not exceed the maximum image height. | |
VPSS CHN CROP INFO ChannelCROPInformation | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
ChnID | CHN ID number. Valid range: [0, VPSS_MAX_PHY_CHN_NUM). | |
CropEn | Whether to enableCROPFunction. N: Disabled; Y: Open. | |
CoorType | CoordinateType. RAT: RelativeCoordinate; ABS: AbsoluteCoordinate | |
CoorX | HorizontaldirectionstartCoordinate. | |
CoorY | Starting coordinate in the vertical direction. | |
Width | CROP RECT width must not exceed the maximum image width. | |
Height | CROP RECT height must not exceed the maximum image height. | |
VPSS GRP WORKSTATUS VPSS GRP OperationStatusInformation | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
RecvCnt | ReceivetoImagenumber | |
LostCnt | fullwhilediscardImagenumber. | |
StartFailCnt | StartFailurecount. | |
bStart | WhetherstartReceiveImage. | |
CostTime(us) | currentcompletetime. | |
MaxCostTime(us) | on timeexecutetime. | |
HwCostTime(us) | currentcompleteHardwaretime | |
HwMaxCostTime(us) | onHardware timeexecutetime. | |
VPSS CHN OUTPUT RESOLUTION VPSSChannelInformation | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
ChnID | Channel ID number. Valid range: [0, VPSS_MAX_PHY_CHN_NUM). | |
Enable | ChannelEnable. N: Close Y: Open. | |
Width | target image Width, withpixelsas the unit. | |
Height | target image Height, withpixelsas the unit. | |
Pixfmt | target imagePixel format. | |
Videofmt | target imageVideo format. | |
VbPool | thisChannelBindvb pool. If *, thenTablethisChannelattachthisvb pool. | |
SendOK | SuccessSendImageQuantity. | |
FrameRate | ChannelOutputreal-timeFrame rate. | |
VPSS CHN ROTATE INFO ChannelRotationInformation | GrpID | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
ChnID | Channel ID number. Valid range: [0, VPSS_MAX_PHY_CHN_NUM). | |
Rotate | RotationangleEnumeration. | |
VPSS CHN LDC INFO VPSSPhysicalChannelLDCAttribute | GrpID VPSS | GRP ID number. Valid range: [0, VPSS_MAX_GRP_NUM). |
ChnID | Channel ID number. Valid range: [0, VPSS_MAX_PHY_CHN_NUM). | |
Enable | LDCswitch. N: Disabled; Y: Open. | |
Aspect | Whetheraspect ratio. N: notaspect ratio; Y: aspect ratio. | |
XRatio | X directionfield of viewSizeParameter, notaspect ratiotimeValid. | |
YRatio | Y directionfield of viewSizeParameter, notaspect ratiotimeValid. | |
XYRatio | field of viewSizeParameter, aspect ratiotimeValid. | |
XOffset | correctionincenter pointXCoordinate. | |
YOffset | correctionincenter pointYCoordinate. | |
DistortionRatio | correctionintensitynumber. | |
VPSS HW STATUS VPSSHardwareOperationStatus | ID | vpssHardwarenumber |
Online | Whetheronline. N: offline Y: online | |
Status | HWOperationStatus. Idle: idle Running: runin End: runend | |
StartCnt | bootcount. | |
IntCnt | interruptcount. | |
DutyRatio | thisvpssHardwareempty. | |
VPSS CHN BUF WRAPATTR vpss chnslice bufAttribute | GrpID | GRP ID number. |
ChnID | CHN ID number. | |
Enable | WhetherEnable. | |
BufLine | Slice bufnumber. | |
BufLineWrapBufSize | Slice bufSize. |