12.9. VDECΒΆ
Debugging Information
# cat /proc/cvitek/vdec Module: [VDEC] System Build Time [#1 PREEMPT Thu Sep 12 19:57:57 CST 2024] VdecMaxChnNum: 64 MiniBufMode: 0 enVdecVBSource: 0 ParallelMode: 0 MaxPicWidth: 4096 MaxPicHeight: 2160 MaxSliceNum: 200 VdhMsgNum: 0 VdhBinSize: 0 VdhExtMemLevel: 0 MaxJpegeWidth: 8192 MaxJpegeHeight: 8192 SupportProgressive: 0 DynamicAllocate: 0 CapStrategy: 0 ----- CHN COMM ATTR & PARAMS -------------------------------------- ID: 0 TYPE: H264 MaxW: 4096 MaxH: 2304 Width: 1088 Height: 1920 Stride: 1152 PixelFormat: YUV420 PTS: 0 PA: 0x843dc000 StrInputMode: FRAME/NOBLOCK StrBufSize: 5537792 FrmBufSize: 0 ParamPixelFormat YUV420 FrmBufCnt: 3 TmvBufSize: 0 ID: 0 DispNum: 2 DispMode: PLAYBACK SetUserPic: N EnUserPic: N Rotation: 0 PicPoolId: -1 TmvPoolId: -1 STATE: START ----- CHN VIDEO ATTR & PARAMS ------------------------------------- ID: 0 VfmwID: 1 RefNum: 0 TemporalMvp: N ErrThr: 0 DecMode: IPB OutPutOrder: DISP Compress: NONE VideoFormat: 0 MaxVPS: 0 MaxSPS: 0 MaxPPS: 0 MaxSlice: 200 ----- CHN PICTURE ATTR & PARAMS--------------------------------- ID: 0 Alpha: 0 -----VDEC CHN PERFORMANCE------------------------------------------------ ID: 0 No.SendStreamPerSec: 72 No.DecFramePerSec: 3 HwDecTime: 10105 us Debugging Information Analysis
recordcurrentDecoding channelUsestatusanditsAttributeConfiguration. canused to checkAttributeConfigurationandcurrentDecoding channelstatisticsStatus.
Parameter Description
Parameter | Description | |
|---|---|---|
MODULE PARAM | VdecMaxChnNum | VDEC SupportMaximumDecoding channelnumber |
MiniBufMode | WhetherUsestreamBufferMode 0: Disable 1: Enable (ModeonlyinFrameModecaseunderValid) | |
enVdecVBSource | allocate VDEC VideoBufferMode (VB) 1: module VB 2: private VB 3: user VB | |
ParallelMode | VDH DecodingMode 0: Mode 1: Mode | |
MaxPicWidth | Video DecodingSupportMaximumWidth | |
MaxPicHeight | Video DecodingSupportMaximumHeight | |
MaxSliceNum | Video DecodingSupportMaximumnumber | |
VdhMsgNum | VDH poolQuantity | |
VdhBinSize | used to storage VDH DecodingDataBufferSize | |
VdhExtMemLevel | used to VDH DecodingProcessoroutsideMemoryallocateHorizontal | |
MaxJpegeWidth | pendingDecodingImageMaximumWidth | |
MaxJpegeHeight | pendingDecodingImageMaximumHeight | |
SupportProgressive | WhetherSupportprogressivescanFormat 0: no 1: yes | |
DynamicAllocate | SupportprogressiveFormattimeallocateMode 0: staticallocate 1: dynamicallocate | |
CapStrategy | DecodingImageMaximumWidthandHeightcapabilitystrategy 0: toModulecapabilitystrategy 1: toChannelcapabilitystrategy | |
CHN COMM ATTR & PARAMS | ID | Decoding channel number |
TYPE | Decoding channelType PT_H264 PT_MJPEG PT_JPEG | |
MaxW | ConfigurationDecodingImageMaximumWidth | |
MaxH | ConfigurationDecodingImageMaximumHeight | |
Width | DecodingImageWidth | |
Height | DecodingImageHeight | |
Stride | DecodingImageAlignmentWidth | |
PixelFormat | ImageOutputFormat | |
PTS | DecodingTimestamp | |
PA | storagecurrentFrameAddress | |
StrInputMode | VDEC ChannelDatastreamtransmitMode Modecanistwo: Frame, streamand: withFrame, streamandModetransmit. Frame, streamandModetransmit BLOCK, NOBLOCK and TIMEOUT: streamin blocking, non-blockingandTimeoutModeunderDatastream | |
StrBufSize | DatastreamBufferSize | |
FrmBufSize | FrameBufferSize, onlyin VB ModeunderValid | |
ParamPixelFormat | CreateDecoding channelSetFrameFormat, used to calculateFrameBufferrequiredSize | |
FrmBufCnt | FrameBufferQuantity, onlyin VB ModeunderValid | |
TmvBufSize | TMV BufferSize. thisParameteronlyinprivate VB ModeunderValid. | |
DispNum | DisplayFramenumber Value Range: [0, 16] | |
DispMode | DisplayMode Value Range: PLAYBACK and PREVIEW | |
SetUserPic | WhetherSetUserImage | |
EnUserPic | WhetherEnableUserImage | |
Rotation | VDEC ImageRotationangle | |
PicPoolId | FrameBuffer VB pool ID, onlyinprivate VB andUser VB ModeunderValid. | |
TmvPoolId | Tmv VB pool ID, onlyinprivate VB andUser VB ModeunderValid. | |
STATE | VDEC ChannelWhetherstartReceiveDatastream START (start): ChannelstartReceiveDatastream. STOP (stop): ChannelstopReceiveDatastream. | |
CHN VIDEO ATTR & PARAMS | ID | Decoding channel number |
VfmwID | Videofirmware (VFMW) Channel ID | |
RefNum | refer toFrameQuantity Value Range: [0, 16] | |
TemporalMvp | WhetherSupporttimemotionprediction | |
ErrThr | streamBitratethreshold | |
DecMode | DecodingMode | |
OutPutOrder | DecodingImageOutputsequence | |
Compress | DecodingOutputImageWhethercanbeCompression | |
VideoFormat | pendingDecodingImageDataFormat | |
MaxVPS | Support VPS MaximumQuantity, onlyhas H.265 DecodingValid | |
MaxSPS | Support SPS Quantityon | |
MaxPPS | Support PPS Quantityon | |
MaxSlice | SupportMaximumnumber | |
CHN PICTURE ATTR & PARAMS | ID | Decoding channel number |
Alpha | ARGB Format JPEG Imagefull alpha value | |
VDEC CHN PERFORMANCE | ID | Decoding channel number |
No.SendStreamPerSec | eachsecondsSendBitstreamFramenumber | |
No.DecFramePerSec | eachsecondscompleteDecodingFramenumber | |
HwDecTime | HardwareDecodingtime |