3380
- 收藏
- 点赞
- 分享
- 举报
3521A + ADV7611问题求助,编码后应该为黑色的显示紫色,应该为白色的显示绿色
3521A + ADV7611,输入1080p/60fps,采用1路BT1120接口,输入源不管是用盒子还是笔记本,编码出来的图像存成.264文件,采用vlc播放器播放,应该为黑色的显示紫色,应该为白色的显示绿色。
硬件设计上:采用DEV0和DEV1构建1路BT1120与ADV7611连接,采用的位序是反向的。
VI DEV具体设置:
VI_DEV_ATTR_S DEV_ATTR_BT1120 =
{
/*interface mode*/
VI_MODE_BT1120_STANDARD,
/*work mode*/
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0x0000FF00, 0x000000FF},
/* for single/double edge, must be set when double edge*/
VI_CLK_EDGE_SINGLE_UP,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, just support YUV*/
VI_INPUT_DATA_VUVU, //may be need to be revised
/**/
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_NORM_PULSE,VI_VSYNC_VALID_NEG_HIGH,
/**/
/*hsync_hfb hsync_act hsync_hhb*/
{0, 0, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 0, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/*whether use isp*/
VI_PATH_BYPASS,
/*data type*/
VI_DATA_TYPE_YUV,
HI_TRUE
};
ADV7611采用24MHz参考时钟,具体配置如下:HDMI-comp、1080p、内同步。
ADV7611具体配置:
void adv7611_1080P(void)
{
unsigned char val;
adv7611_write(0x98, 0xFF, 0x80); // I2C reset
adv7611_write(0x98, 0xF4, 0x80); // CEC
adv7611_write(0x98, 0xF5, 0x7C); // INFOFRAME
adv7611_write(0x98, 0xF8, 0x4C); // DPLL
adv7611_write(0x98, 0xF9, 0x64); // KSV
adv7611_write(0x98, 0xFA, 0x6C); // EDID
adv7611_write(0x98, 0xFB, 0x68); // HDMI
adv7611_write(0x98, 0xFD, 0x44); // CP
val = adv7611_read(0x98, 0x04); //
val = val | 0x06;
adv7611_write(0x98, 0x04, val); //24MHZ ref clk
//adv7611_write(0x98, 0x01, 0x06); // Prim_Mode =110b HDMI-GR
adv7611_write(0x98, 0x01, 0x05); // Prim_Mode =101b HDMI-COMP
val = adv7611_read(0x98, 0x00);
val = val & 0xC0;
val = val | 0x14;
adv7611_write(0x98, 0x00, val);
adv7611_write(0x98, 0x02, 0xF5); // Auto CSC, YCrCb out, Set op_656 bit
//adv7611_write(0x98, 0x03, 0x40); // 24 bit SDR 444 Mode 0
//adv7611_write(0x98, 0x03, 0x20); // 8-bit 4:2:2 DDR mode 2 (ITU-656 mode)
adv7611_write(0x98, 0x03, 0x80); // 16-Bit SDR ITU-R BT.656 4:2:2 Mode 0
//adv7611_write(0x98, 0x05, 0x28); // AV Codes Off
/*seperate synchr*/
adv7611_write(0x98, 0x05, 0x2C);
adv7611_write(0x98, 0x06, 0xA1); // invert PCLK
adv7611_write(0x98, 0x0B, 0x44); // Power up part
adv7611_write(0x98, 0x0C, 0x42); // Power up part
adv7611_write(0x98, 0x14, 0x7F); // Max Drive Strength
//adv7611_write(0x98, 0x14, 0x6F); // Max Drive Strength
//adv7611_write(0x98, 0x14, 0x7B); // Max Drive Strength
adv7611_write(0x98, 0x15, 0x80); // Disable Tristate of Pins
adv7611_write(0x98, 0x19, 0x83); // LLC DLL phase
adv7611_write(0x98, 0x33, 0x40); // LLC DLL enable
adv7611_write(0x98, 0x20, 0xF8); // Manually assert hot plug on port A
//adv7611_write(0x80, 0x2A, 0x3F); // power down
adv7611_write(0x44, 0xBA, 0x01); // Set HDMI FreeRun
adv7611_write(0x64, 0x40, 0x81); // Disable HDCP 1.1 features
adv7611_write(0x68, 0x9B, 0x03); // ADI recommended setting
adv7611_write(0x68, 0xC1, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC2, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC3, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC4, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC5, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC6, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC7, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC8, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC9, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCA, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCB, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCC, 0x01); // ADI recommended setting
adv7611_write(0x68, 0x00, 0x00); // Set HDMI Input Port A
adv7611_write(0x68, 0x83, 0xFE); // Enable clock terminator for port A
adv7611_write(0x68, 0x6F, 0x0C); // ADI recommended setting
//adv7611_write(0x68, 0x6F, 0x08); // ADI recommended setting
adv7611_write(0x68, 0x85, 0x1F); // ADI recommended setting
adv7611_write(0x68, 0x87, 0x70); // ADI recommended setting
adv7611_write(0x68, 0x8D, 0x04); // LFG
adv7611_write(0x68, 0x8E, 0x1E); // HFG
adv7611_write(0x68, 0x1A, 0x8A); // unmute audio
adv7611_write(0x68, 0x57, 0xDA); // ADI recommended setting
adv7611_write(0x68, 0x58, 0x01); // ADI recommended setting
adv7611_write(0x68, 0x03, 0x98); // DIS_I2C_ZERO_COMPR
adv7611_write(0x68, 0x75, 0x10); // DDC drive strength
}
Vi的log记录如下:
[VIU] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time: [Jan 13 2017, 18:19:34]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap vi_vb_source
10 0 0 28000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT1120S 1Mux ff00 ff UP -1 -1 -1 -1 UVUV ByPass YUV Y Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp422 60 60 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 873 0 12 0 2 2 42 19 frm 1920
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 53 16667 16673 0 0 1 0 0 0 871 59
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 16667 60 861 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
vpss的log记录如下:
[VPSS] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time[Jan 13 2017, 18:19:35]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source
0
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode
0 1920 1080 SP422 auto 0 0 0 0 0 VPSS
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 1 0 0 0 2 2 2 2 ff00 ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 0 RIT 0 0 0 0 1920 1080 1920 1080
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 2656 0 0 2656 0 0 5311 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 2656 1 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 1 1920 1080 SP420 SEG NONE 0 0 1920 1080 0 0 60
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr
2656 2656 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
-----------------------INT WORK STATUS-------------------------
CntPerSec MaxCntPerSec IntCostTm MostCostTm CostTmPerSec MCostTmPerSec
0 0 0 0 0 0
venc的log记录如下:
[VENC] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time[Jan 13 2017, 18:19:42]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache
0
-----VENC CHN ATTR 1-------------------------------------------------------------
ID Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1920 1080 96 Y 1 3876 149364 8 4 0
-----VENC CHN ATTR 2-------------------------------------------------------------
VeStr OsdStr SrcFr TarFr Timeref PixFmt PicAddr
Y N -1 -1 7788 YUV420 0x863e9000
-----VENC CHN RECEIVE STAT-------------------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 11655 11655 0 7770 0 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 3885 0 0 0 3885 0 0 0 3885 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad
0 11594 3950 3950 3950 3950 3949 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
-----VENC STREAM STATE------------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 14 8 1 4344 4340 3876 20008 60
哪位大神帮忙看一下 ,感觉应该是7611驱动的问题 ,但是能核对的寄存器都核对过了,没有发现可疑的配置 。
硬件设计上:采用DEV0和DEV1构建1路BT1120与ADV7611连接,采用的位序是反向的。
VI DEV具体设置:
VI_DEV_ATTR_S DEV_ATTR_BT1120 =
{
/*interface mode*/
VI_MODE_BT1120_STANDARD,
/*work mode*/
VI_WORK_MODE_1Multiplex,
/* r_mask g_mask b_mask*/
{0x0000FF00, 0x000000FF},
/* for single/double edge, must be set when double edge*/
VI_CLK_EDGE_SINGLE_UP,
/*AdChnId*/
{-1, -1, -1, -1},
/*enDataSeq, just support YUV*/
VI_INPUT_DATA_VUVU, //may be need to be revised
/**/
{
/*port_vsync port_vsync_neg port_hsync port_hsync_neg */
VI_VSYNC_PULSE, VI_VSYNC_NEG_HIGH, VI_HSYNC_VALID_SINGNAL,VI_HSYNC_NEG_HIGH,VI_VSYNC_NORM_PULSE,VI_VSYNC_VALID_NEG_HIGH,
/**/
/*hsync_hfb hsync_act hsync_hhb*/
{0, 0, 0,
/*vsync0_vhb vsync0_act vsync0_hhb*/
0, 0, 0,
/*vsync1_vhb vsync1_act vsync1_hhb*/
0, 0, 0}
},
/*whether use isp*/
VI_PATH_BYPASS,
/*data type*/
VI_DATA_TYPE_YUV,
HI_TRUE
};
ADV7611采用24MHz参考时钟,具体配置如下:HDMI-comp、1080p、内同步。
ADV7611具体配置:
void adv7611_1080P(void)
{
unsigned char val;
adv7611_write(0x98, 0xFF, 0x80); // I2C reset
adv7611_write(0x98, 0xF4, 0x80); // CEC
adv7611_write(0x98, 0xF5, 0x7C); // INFOFRAME
adv7611_write(0x98, 0xF8, 0x4C); // DPLL
adv7611_write(0x98, 0xF9, 0x64); // KSV
adv7611_write(0x98, 0xFA, 0x6C); // EDID
adv7611_write(0x98, 0xFB, 0x68); // HDMI
adv7611_write(0x98, 0xFD, 0x44); // CP
val = adv7611_read(0x98, 0x04); //
val = val | 0x06;
adv7611_write(0x98, 0x04, val); //24MHZ ref clk
//adv7611_write(0x98, 0x01, 0x06); // Prim_Mode =110b HDMI-GR
adv7611_write(0x98, 0x01, 0x05); // Prim_Mode =101b HDMI-COMP
val = adv7611_read(0x98, 0x00);
val = val & 0xC0;
val = val | 0x14;
adv7611_write(0x98, 0x00, val);
adv7611_write(0x98, 0x02, 0xF5); // Auto CSC, YCrCb out, Set op_656 bit
//adv7611_write(0x98, 0x03, 0x40); // 24 bit SDR 444 Mode 0
//adv7611_write(0x98, 0x03, 0x20); // 8-bit 4:2:2 DDR mode 2 (ITU-656 mode)
adv7611_write(0x98, 0x03, 0x80); // 16-Bit SDR ITU-R BT.656 4:2:2 Mode 0
//adv7611_write(0x98, 0x05, 0x28); // AV Codes Off
/*seperate synchr*/
adv7611_write(0x98, 0x05, 0x2C);
adv7611_write(0x98, 0x06, 0xA1); // invert PCLK
adv7611_write(0x98, 0x0B, 0x44); // Power up part
adv7611_write(0x98, 0x0C, 0x42); // Power up part
adv7611_write(0x98, 0x14, 0x7F); // Max Drive Strength
//adv7611_write(0x98, 0x14, 0x6F); // Max Drive Strength
//adv7611_write(0x98, 0x14, 0x7B); // Max Drive Strength
adv7611_write(0x98, 0x15, 0x80); // Disable Tristate of Pins
adv7611_write(0x98, 0x19, 0x83); // LLC DLL phase
adv7611_write(0x98, 0x33, 0x40); // LLC DLL enable
adv7611_write(0x98, 0x20, 0xF8); // Manually assert hot plug on port A
//adv7611_write(0x80, 0x2A, 0x3F); // power down
adv7611_write(0x44, 0xBA, 0x01); // Set HDMI FreeRun
adv7611_write(0x64, 0x40, 0x81); // Disable HDCP 1.1 features
adv7611_write(0x68, 0x9B, 0x03); // ADI recommended setting
adv7611_write(0x68, 0xC1, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC2, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC3, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC4, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC5, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC6, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC7, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC8, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xC9, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCA, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCB, 0x01); // ADI recommended setting
adv7611_write(0x68, 0xCC, 0x01); // ADI recommended setting
adv7611_write(0x68, 0x00, 0x00); // Set HDMI Input Port A
adv7611_write(0x68, 0x83, 0xFE); // Enable clock terminator for port A
adv7611_write(0x68, 0x6F, 0x0C); // ADI recommended setting
//adv7611_write(0x68, 0x6F, 0x08); // ADI recommended setting
adv7611_write(0x68, 0x85, 0x1F); // ADI recommended setting
adv7611_write(0x68, 0x87, 0x70); // ADI recommended setting
adv7611_write(0x68, 0x8D, 0x04); // LFG
adv7611_write(0x68, 0x8E, 0x1E); // HFG
adv7611_write(0x68, 0x1A, 0x8A); // unmute audio
adv7611_write(0x68, 0x57, 0xDA); // ADI recommended setting
adv7611_write(0x68, 0x58, 0x01); // ADI recommended setting
adv7611_write(0x68, 0x03, 0x98); // DIS_I2C_ZERO_COMPR
adv7611_write(0x68, 0x75, 0x10); // DDC drive strength
}
Vi的log记录如下:
[VIU] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time: [Jan 13 2017, 18:19:34]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap vi_vb_source
10 0 0 28000 0
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev bDllSlave
0 BT1120S 1Mux ff00 ff UP -1 -1 -1 -1 UVUV ByPass YUV Y Y
-----VI HIGH DEV ATTR---------------------------------------------------------------
Dev InputM WkM ComMsk0 ComMsk1 AD0 AD1 AD2 AD3 Seq CombM CompM ClkM Fix FldP DPath DType DRev
-----VI PHYCHN ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM SkipM Mirror Flip IntEn PixFom SrcRat DstRat SkipMEx SkipMExYMask SkipMExCMask
0 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp422 60 60 N 0x0 0xa
-----VI PHYCHN MINOR ATTR------------------------------------------------------------
PhyChn CapX CapY CapW CapH DstW DstH CapSel ScanM Mirror Flip PixFom MixCap DwScal SrcRat DstRat
-----VI PHYCHN STATUS 1----------------------------------------------------------
PhyChn BindDev Way IntCnt VbFail LosInt TopLos BotLos BufCnt IntT SendT Field Stride
0 0 0 873 0 12 0 2 2 42 19 frm 1920
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 53 16667 16673 0 0 1 0 0 0 871 59
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth Rotate
0 N 16667 60 861 0 0 NONE
-----VI CHN CALL VGS STATUS 1-------------------------------------------------
ViChn UsrBgnNOk UsrCancel UsrEndOk UsrCbOk CvrBgnNOk CvrCancel CvrEndOk CvrCbOk
-----VI CHN CALL VGS STATUS 2-------------------------------------------------
ViChn OsdBgnNOk OsdCancel OsdEndOk OsdCbOk ScaleNOk SclCancel SclEndOk SclCbOk
vpss的log记录如下:
[VPSS] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time[Jan 13 2017, 18:19:35]
-------------------------MODULE PARAM-----------------------------------
vpss_vb_source
0
-------------------------VPSS GRP ATTR-----------------------------------
GrpID MaxW MaxH PixFmt DieMode DciEn NrEn IeEn HistEn EsEn preMode
0 1920 1080 SP422 auto 0 0 0 0 0 VPSS
-----------------------VPSS GRP FRAME CONTROL INFO-------------------------
GrpID bFilter Width Height SrcFRate DstFRate bUserCtrl
0 0 0 0 -1 -1 Y
-------------------------VPSS GRP PARAM-----------------------------------
GrpID Cont IeStr SfStr TfStr CfStr CTfStr CvbsStr mdz HtfRe edz WtfRe DeMotion DieStr
0 8 0 24 12 12 16 24 6 52 63 36 0 0
-------------------------VPSS CHN PARAM---------------------------------
GrpID ChnID ChnSp
0 0 40
-----------------------VPSS GRP PRESCALE INFO-------------------------
GrpID bPreScl Width Height
-------------------------VPSS CHN ATTR-----------------------------------
GrpId PhyChnId Enable SpEn UVInvert FrmWkEn LW RW TW BW Color OverlayMask
0 0 1 0 0 0 2 2 2 2 ff00 ff
-------------------------VPSS CROP INFO-----------------------------------
GrpId CropEn CoorType CoorX CoorY Width Height OriW OriH TrimWid TrimHgt
0 0 RIT 0 0 0 0 1920 1080 1920 1080
-------------------------VPSS GRP PIC QUEUE-------------------------
GrpID FreeLen BusyLen Delay Backup
0 7 0 0 1
-----------------------VPSS GRP WORK STATUS-------------------------
GrpID RecvPic ViLost VdecLost NewDo OldDo NewUnDo OldUnDo StartFl bStart
0 2656 0 0 2656 0 0 5311 0 1
-----------------------VPSS CHN WORK STATUS-------------------------
GrpID ChnID WorkMode Depth SendOk bConfident SrcFRate DstFRate bDouble
0 0 AUTO 0 2656 1 -1 -1 --
----------------------VPSS CHN OUTPUT RESOLUTION-----------------------
GrpID ChnID Enable Width Height pixfmt cmpMode AspectRatio videoX videoY videoW videoH BgColor Rotation FrameRate
0 0 1 1920 1080 SP420 SEG NONE 0 0 1920 1080 0 0 60
-------------------------DRV WORK STATUS-----------------------------------
StartSuc0 LinkInt StartErr0 NodeIdErr0 BusErr
2656 2656 0 0 0
-------------------------DRV NODE QUEUE-----------------------------------
FreeNum WaitNum OrderWaitNum Busy00 Busy01 Sel0
457 0 0 0 0 0
-----------------------INT WORK STATUS-------------------------
CntPerSec MaxCntPerSec IntCostTm MostCostTm CostTmPerSec MCostTmPerSec
0 0 0 0 0 0
venc的log记录如下:
[VENC] Version: [Hi3521A_MPP_V1.0.5.0 B030 Release], Build Time[Jan 13 2017, 18:19:42]
-----MODULE PARAM--------------------------------------------------------------
VencBufferCache
0
-----VENC CHN ATTR 1-------------------------------------------------------------
ID Width Height Type ByFrame Timeout Sequence LeftBytes LeftFrm CurPacks prio
0 1920 1080 96 Y 1 3876 149364 8 4 0
-----VENC CHN ATTR 2-------------------------------------------------------------
VeStr OsdStr SrcFr TarFr Timeref PixFmt PicAddr
Y N -1 -1 7788 YUV420 0x863e9000
-----VENC CHN RECEIVE STAT-------------------------------------------------------------
ID Start StartEx RecvLeft EncLeft
0 1 0 0 0
-----VENC VPSS QUERY-----------------------------------------------------------
ID Query QueryOk QueryFR Invld Full VbFail QueryFail InfoErr Stop
0 11655 11655 0 7770 0 0 0 0 0
-----VENC SEND1----------------------------------------------------------------
ID VpssSnd VInfErr OthrSnd OInfErr Send Stop Full CropErr DrectSnd SizeErr
0 3885 0 0 0 3885 0 0 0 3885 0
-----VENC SEND2----------------------------------------------------------------
ID SendVgs StartOk StartFail IntOk IntFail SrcAdd SrcSub DestAdd DestSub
0 0 0 0 0 0 0 0 0 0
-----VENC PIC QUEUE STATE------------------------------------------------------
ID Free Busy Vgs
0 5 1 0
-----VENC CHNL INFO------------------------------------------------------------
ID Inq InqOk Start StartOk Config VencInt ChaResLost OverLoad
0 11594 3950 3950 3950 3950 3949 0 0
-----VENC CROP INFO------------------------------------------------------------
ID CropEn StartX StartY Width Height
0 N 0 0 0 0
-----VENC STREAM STATE------------------------------------------------------------
ID FreeCnt BusyCnt UserCnt UserGet UserRls GetTimes Interval FrameRate
0 14 8 1 4344 4340 3876 20008 60
哪位大神帮忙看一下 ,感觉应该是7611驱动的问题 ,但是能核对的寄存器都核对过了,没有发现可疑的配置 。
我来回答
回答4个
时间排序
认可量排序
认可0
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2018-07-29 20:23:23
-
2018-12-27 14:55:07
-
2019-09-02 12:03:04
-
2017-11-30 18:19:47
-
2018-12-11 22:22:53
-
2017-07-10 16:28:57
-
2016-03-17 19:06:13
-
2018-12-26 14:49:53
-
2016-07-07 15:04:59
-
2018-03-31 02:20:38
-
2018-07-01 18:30:27
-
2018-07-01 18:32:08
-
2017-06-28 13:44:53
-
2017-06-02 09:53:34
-
2020-04-13 16:05:15
-
2019-04-17 14:18:40
-
2019-12-05 14:43:14
-
2017-10-10 09:34:28
-
132017-08-09 14:29:01
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
50如何获取vpss chn的图像修改后发送至vo
-
5FPGA通过Bt1120传YUV422数据过来,vi接收不到数据——3516dv500
-
50SS928 运行PQtools 拼接 推到设备里有一半画面会异常
-
53536AV100的sample_vdec输出到CVBS显示
-
10海思板子mpp怎么在vi阶段改变视频数据尺寸
-
10HI3559AV100 多摄像头同步模式
-
9海思ss928单路摄像头vio中加入opencv处理并显示
-
10EB-RV1126-BC-191板子运行自己编码的程序
-
10求HI3519DV500_SDK_V2.0.1.1
-
5有偿求HI3516DV500 + OV5647驱动
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认