Loading...

3516DV300输入BT.601

横贯八方
横贯八方  发布于 2021-08-19 09:15:43 316

感觉VI该配置的都配置了,引脚该复用的都复用了,sample里也把参数设置完全了,不知道是不是还差点什么。

下面是VI,PIPE有中断,但是全丢了。

我来回答
回答可得5积分
9个回答
发布于 2021-08-19 09:18:36
最佳答案
[VI] Version: [Hi3516CV500_MPP_V2.0.2.0 B030 Release], Build Time[Sep 10 2019, 19:48:32]


-------------------------------MODULE PARAM ---------------------------------------------------------------------------
      DetectErrFrame        DropErrFrame            VbSource
                   0                   0              Common

-------------------------------VI MODE -------------------------------------------------------------
  Pipe0Mode   Pipe1Mode   Pipe2Mode   Pipe3Mode
    offline     offline     offline     offline
-------------------------------VPSS MODE -----------------------------------------------------------
  Pipe0Mode   Pipe1Mode   Pipe2Mode   Pipe3Mode
    offline     offline     offline     offline

-------------------------------VI DEV ATTR1----------------------------------------------------------------------------
  DevID   DevEn  BindPipe     Width    Height               IntfM     WkM     ComMsk0     ComMsk1   ScanM
      1       Y         Y      1280      1024               BT601    1Mux     1fe0000           0       P

-------------------------------VI DEV ATTR2----------------------------------------------------------------------------
  DevID   AD0   AD1   AD2   AD3     Seq  DataType   DataRev    BasW    BasH   HReph   VReph   WDRMode  CacheLine  DataRate
      1    -1    -1    -1    -1    YUYV       YUV         N    1280    1024    NONE    NONE      None       1024        X1

-------------------------------VI BIND ATTR----------------------------------------------------------------------------
   DevID PipeNum              PipeId
       1       1                   2

-------------------------------VI DEV TIMING ATTR----------------------------------------------------------------------
  DevID DevTimingEn  DevFrmRate  DevWidth   DevHeight

-------------------------------VI PIPE ATTR1---------------------------------------------------------------------------
  PipeID  BypassMode YuvSkip IspBypass     Width    Height    PixFmt  BitWidth    NrEn SharpenEn  CompressMode
       2  BypassNone       N         N      1280      1024     SP422         8       N         N          None

-------------------------------VI PIPE ATTR2---------------------------------------------------------------------------
  DiscProPic    SrcFRate    DstFRate FrameSource  RepeatMode   VCNum     IntType EarlyLine  VbPoolId
           N          -1          -1         DEV        NONE       0       START         0        -1

-------------------------------VI PIPE PRE CROP ATTR-----------------------------------------------------------------------
  PipeID CropEn    CoorX   CoorY   Width  Height

-------------------------------VI PIPE POST CROP ATTR-----------------------------------------------------------------------
  PipeID CropEn    CoorX   CoorY   Width  Height

-------------------------------VI PIPE NR ATTR-------------------------------------------------------------------------
  PipeID        BitWidth    CompressMode          PixFmt          RefSrc            Intf         Version         OptMode

-------------------------------VI PIPE NRX_V2 PARAM--------------------------------------------------------------------
  PipeID         ISO      SFS1      SFS2      SFS4      SFN0      SFN1      SFN3      STH1      STH3

-------------------------------VI PIPE USER PIC ATTR-------------------------------------------------------------------
  PipeID  Enable   ChnID    Mode BgColor   PicID   Width  Height  Stride  PixFmt  PoolID         PhyAddr

-------------------------------VI PIPE DUMP ATTR-----------------------------------------------------------------------
  PipeID    Enable     Depth  DumpType

-------------------------------VI PIPE BNR DUMP ATTR-------------------------------------------------------------------
  PipeID    Enable     Depth

-------------------------------VI CHN ATTR1----------------------------------------------------------------------------
  PipeID   ChnID   Width    Height    Mirror    Flip    SrcFRate    DstFRate    PixFmt      VideoFmt  DynamicRange
       2       0    1280      1024         N       N          -1          -1     SP422        LINEAR          SDR8

-------------------------------VI CHN ATTR2----------------------------------------------------------------------------
  CompressMode     Depth     Align  VbPoolId
          None         0         0        -1

-------------------------------VI EXTCHN ATTR1-------------------------------------------------------------------------
  PipeID   ChnID  Source  SrcChn   Width    Height    SrcFRate    DstFRate    PixFmt  DynamicRange  CompressMode     Depth

-------------------------------VI EXTCHN ATTR2-------------------------------------------------------------------------
  Align  VbPoolId

-------------------------------VI CHN LOW DELAY ATTR-------------------------------------------------------------------
  PipeID   ChnID  Enable  LineCnt   Effect
       2       0       N        0        N

-------------------------------VI CHN CROP INFO------------------------------------------------------------------------
  PipeID   ChnID  CropEn  CoorType   CoorX   CoorY   Width  Height   TrimX   TrimY TrimWid TrimHgt
       2       0       N       RIT       0       0       0       0       0       0       0       0

-------------------------------VI CHN ROTATION INFO--------------------------------------------------------------------
  PipeID   ChnID    Rotation
       2       0           0

-------------------------------VI CHN LDC INFO-------------------------------------------------------------------------
  PipeID   ChnID  Enable  Aspect  XRatio  YRatio   XYRatio   XOffset   YOffset     DistortionRatio
       2       0       N       N       0       0         0         0         0                   0

-------------------------------VI CHN ROTATIO_EX INFO------------------------------------------------------------------
  PipeID   ChnID  Enable  ViewType   Angle   XOffset   YOffset     Width    Height
       2       0       N       ALL       0         0         0         0         0

-------------------------------VI CHN SPREAD INFO----------------------------------------------------------------------
  PipeID   ChnID  Enable    OutW    OutH      Coef
       2       0       N       0       0         0

-------------------------------VI EXTCHN FISHEYE ATTR------------------------------------------------------------------
  PipeID   ChnID  Enable  MntMode  RgnNum  BgEnable  BgColor  LMF  HOffset  VOffset  TCoef   FStrength

-------------------------------VI EXTCHN FISHEYE REGION ATTR-----------------------------------------------------------
  PipeID   ChnID  RgnIndex  ViewMode  InRadius  OutRadius  Pan  Tilt  HorZoom  VerZoom  OutX  OutY  OutW  OutH

-------------------------------VI DIS CONFIG INFO1---------------------------------------------------------------------
  PipeID   ChnID        Mode  Motion PdtType  BufNum CropRatio FrmRate   GyroRange  GyroBitWidth   CamSteady   Scale

-------------------------------VI DIS ATTR INFO------------------------------------------------------------------------
  PipeID   ChnID  DisChn    Enable GdcBypass      MovSub      Roef     Timelag   ViewAngle  bStillCrop    HorLimit    VerLimit    Strength

-------------------------------VI SNAP ATTR INFO-----------------------------------------------------------------------
  PipeID    Type  bLoadCCM  FrameCnt  rptTimes    bZSL  FrmDepth  RollbaskMs  Interval

-------------------------------VI SNAP STATUS INFO---------------------------------------------------------------------
  Status bDoublePipe VideoPipe  SnapPipe     VcNum ProDelayInt

-------------------------------VI CHN OUTPUT RESOLUTION----------------------------------------------------------------
  PipeID   ChnID  Enable  Mirror    Flip   Width  Height  PixFmt  VideoFmt  DynamicRange  CompressMode FrameRate
       2       0       Y       N       N       0       0   SP422    LINEAR          SDR8          None         0

-------------------------------VI PIPE STATUS--------------------------------------------------------------------------
  PipeID  Enable    IntCnt FrameRate LostFrame  VbFail   Width  Height
       2       Y      1300         0      1298       0    1280    1024

-------------------------------VI CHN STATUS---------------------------------------------------------------------------
  PipeID   ChnID  Enable FrameRate LostFrame  VbFail   Width  Height
       2       0       Y         0         0       0       0       0

-------------------------------VI PIPE Statistic-----------------------------------------------------------------------
  PipeID     RecvPic     LostCnt      BufCnt   CurSoftTm   MaxSoftTm   CurTaskTm   MaxTaskTm   LowBandWidth  BeBufNum
       2           0           0           0           0           0           0           0              0         0

-------------------------------VI HW STATISTIC-------------------------------------------------------------------------
  ProcIdx    HWCostTm MaxHWCostTm    CycleCnt MaxCycleCnt
        0           0           0           0           0

-------------------------------VI PROC OFFLINE IRQ STATISTIC----------------------------------------------------------
 ProcIdx       SubmitCnt          IntCnt         ListCnt  TmOutCnt BusErrCnt  DcmpErrCnt StartErrCnt  NodeIdErrCnt
       0               0               0               0         0         0           0           0             0

-------------------------------VI PROC ONLINE IRQ STATISTIC-----------------------------------------------------------
 ProcIdx          IntCnt     FrmStartCnt FrmErrCnt  FrmFlowCnt BusErrCnt    DcmpErrCnt  CfgLossCnt   FirstIntPts
       0               0               0         0           0         0             0           0             0

-------------------------------VI PROC COST TIME STATISTIC-----------------------------------------------------------
 ProcIdx    IntCntPerSec MaxIntCntPerSec  CurIntCostTm  MaxIntCostTm  TotalIntCostTm   IntTmPerSec  MaxIntTmPerSec
       0               0               0             0             0               0             0               0

-------------------------------VI DEV DETECT INFO----------------------------------------------------------------------
   DevID  ValidWidth ValidHeight  TotalWidth
       1         640        1024        1919

-------------------------------VI BAS DETECT INFO----------------------------------------------------------------------
   DevID  ValidWidth ValidHeight  TotalWidth

-------------------------------VI ISP DETECT INFO----------------------------------------------------------------------
   ISPID  ValidWidth ValidHeight  TotalWidth
       2        1280         512        3751
0
发布于 2021-08-19 09:20:52
~ # cat /dev/logmpp
terupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
<3>[    vi] [func]:vi_drv_cap_is_wrong_int [line]:10676 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
<3>[    vi] [func]:vi_drv_cap_is_wrong_int [line]:10676 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
<3>[    vi] [func]:vi_drv_cap_is_wrong_int [line]:10676 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
<3>[    vi] [func]:vi_drv_cap_is_wrong_int [line]:10676 [info]:pipe:2 err intterupt status:0x8011 !! EOF:0 BUFOVF:0 DATATHROW:0 .
0
发布于 2021-08-19 09:36:34

前面设置的是1280x1024,后面就只有一半了

-------------------------------VI DEV ATTR1----------------------------------------------------------------------------
  DevID   DevEn  BindPipe     Width    Height               IntfM     WkM     ComMsk0     ComMsk1   ScanM
      1       Y         Y      1280      1024               BT601    1Mux     1fe0000           0       P

-------------------------------VI DEV ATTR2----------------------------------------------------------------------------
  DevID   AD0   AD1   AD2   AD3     Seq  DataType   DataRev    BasW    BasH   HReph   VReph   WDRMode  CacheLine  DataRate
      1    -1    -1    -1    -1    YUYV       YUV         N    1280    1024    NONE    NONE      None       1024        X1

-------------------------------VI BIND ATTR----------------------------------------------------------------------------
   DevID PipeNum              PipeId
       1       1                   2

-------------------------------VI PIPE ATTR1---------------------------------------------------------------------------
  PipeID  BypassMode YuvSkip IspBypass     Width    Height    PixFmt  BitWidth    NrEn SharpenEn  CompressMode
       2  BypassNone       N         N      1280      1024     SP422         8       N         N          None

-------------------------------VI PIPE ATTR2---------------------------------------------------------------------------
  DiscProPic    SrcFRate    DstFRate FrameSource  RepeatMode   VCNum     IntType EarlyLine  VbPoolId
           N          -1          -1         DEV        NONE       0       START         0        -1


-------------------------------VI CHN ATTR1----------------------------------------------------------------------------
  PipeID   ChnID   Width    Height    Mirror    Flip    SrcFRate    DstFRate    PixFmt      VideoFmt  DynamicRange
       2       0    1280      1024         N       N          -1          -1     SP422        LINEAR          SDR8



-------------------------------VI PIPE STATUS--------------------------------------------------------------------------
  PipeID  Enable    IntCnt FrameRate LostFrame  VbFail   Width  Height
       2       Y      1300         0      1298       0    1280    1024


-------------------------------VI PIPE Statistic-----------------------------------------------------------------------
  PipeID     RecvPic     LostCnt      BufCnt   CurSoftTm   MaxSoftTm   CurTaskTm   MaxTaskTm   LowBandWidth  BeBufNum
       2           0           0           0           0           0           0           0              0         0

后面这里 就只有640或512了


-------------------------------VI DEV DETECT INFO----------------------------------------------------------------------
   DevID  ValidWidth ValidHeight  TotalWidth
       1         640        1024        1919

-------------------------------VI BAS DETECT INFO----------------------------------------------------------------------
   DevID  ValidWidth ValidHeight  TotalWidth

-------------------------------VI ISP DETECT INFO----------------------------------------------------------------------
   ISPID  ValidWidth ValidHeight  TotalWidth
       2        1280         512        3751
0
发布于 2021-08-23 13:40:06

自己顶一下贴

0
发布于 2021-08-30 14:59:15

板子出了些问题,还没修好

0
发布于 2021-09-14 18:36:37

手册里面有教怎么配置dev pipe 和 chn

0
发布于 2021-09-14 18:37:31

BT.601是720x576,时钟至少要两倍才能接收到1280x1024吧

0
发布于 2021-09-14 18:38:19

这个帖子暂时保留了

0
发布于 2021-09-14 18:38:33

等有机会再来解决这个问题

0
+ 添加网盘链接/附件
或将文件直接拖到这里
悬赏:
EBC
文件格式必须为doc,docx,xls,xlsx,pdf,ppt,pptx,txt,zip,rar,tar,7z,gz
网盘
* 网盘链接:
* 提取码:
悬赏:
EBC
易百纳技术社区
确定要删除此文章、专栏、评论吗?
确定
取消
易百纳技术社区