4289
- 收藏
- 点赞
- 分享
- 举报
HI3531A开发板
本帖最后由 cangcanglang 于 2017-2-23 17:33 编辑
购买了论坛的里的[url=http://www.ebaina.com/bbs/forum.php?mod=viewthread&tid=11956&extra=page%3D1]HI3531A开发板[/url]回来学习。
第一次用海思,很多东西还在摸索,在调试过程中遇到一些疑问。
1、按照烧写.txt中的步骤加载驱动
[code]./load3531a -a -ad 2823 -osmem 256
./load3531a -a -ad 2823 -osmem 128
insmod tp2802.ko[/code]
2、没有找到哪里有节点,直接运行海思SDK中的vio例子,HDMI显示器上画出9宫格,其中三路随机雪花条纹,其余的现实蓝色。
3、HI3531A官方vio例子是8路1080p,而论坛的板子是16路1080p,之后我按照海思文档说明,修改了vio代码,配置成16路1080p模式。
修改的diff差异可在这里
https://code.csdn.net/cangcanglang/mpp/commit/58f6a4863a1d8459eba1dff9acadd95c24656942
查看。
不知道这样改对不对,此时HDMI检测到1080P@60,整个屏幕显示蓝色,没有9宫格。
我感觉这可能因为是聚集内存方式时,vi输入的一路1080p就已经占满了屏幕分辨率。
另外还看到有一个mask1和mask2的值需要设置,datasheet上列出了8路等方式的mask设置,没有给出16x1080p的mask如何设置,而且看到说这个值和硬件连线相关的。
在16路1080p/720p模式,vio例程具体需要修改哪几个地方?
=========================
下面是我运行
[code]# ./sample_vio 0 &[/code]
是debug sysfs的信息。
[code]# cat /proc/umap/vi
[VIU] Version: [Hi3531A_MPP_V1.0.2.0 B040 Release], Build Time: [Dec 19 2015, 17:42:33]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
10 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
2 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
3 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
4 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
5 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
6 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
7 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
-----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
0 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
2 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
4 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
6 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
8 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
10 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
12 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
14 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
16 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
18 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
20 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
22 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
24 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
26 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
28 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
30 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
-----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 0 0 0 0 0 0 0 0 (null) 0
2 0 1 0 0 0 0 0 0 0 0 (null) 0
4 1 0 0 0 0 0 0 0 0 0 (null) 0
6 1 1 0 0 0 0 0 0 0 0 (null) 0
8 2 0 0 0 0 0 0 0 0 0 (null) 0
10 2 1 0 0 0 0 0 0 0 0 (null) 0
12 3 0 0 0 0 0 0 0 0 0 (null) 0
14 3 1 0 0 0 0 0 0 0 0 (null) 0
16 4 0 0 0 0 0 0 0 0 0 (null) 0
18 4 1 0 0 0 0 0 0 0 0 (null) 0
20 5 0 0 0 0 0 0 0 0 0 (null) 0
22 5 1 0 0 0 0 0 0 0 0 (null) 0
24 6 0 0 0 0 0 0 0 0 0 (null) 0
26 6 1 0 0 0 0 0 0 0 0 (null) 0
28 7 0 0 0 0 0 0 0 0 0 (null) 0
30 7 1 0 0 0 0 0 0 0 0 (null) 0
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0
12 0 0 0 0 0 0 0 0 0 0 0
14 0 0 0 0 0 0 0 0 0 0 0
16 0 0 0 0 0 0 0 0 0 0 0
18 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 0 0 0 0 0 0 0 0
22 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 0 0 0 0 0 0 0 0
28 0 0 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth
0 N 0 0 0 0 0
2 N 0 0 0 0 0
4 N 0 0 0 0 0
6 N 0 0 0 0 0
8 N 0 0 0 0 0
10 N 0 0 0 0 0
12 N 0 0 0 0 0
14 N 0 0 0 0 0
16 N 0 0 0 0 0
18 N 0 0 0 0 0
20 N 0 0 0 0 0
22 N 0 0 0 0 0
24 N 0 0 0 0 0
26 N 0 0 0 0 0
28 N 0 0 0 0 0
30 N 0 0 0 0 0
-----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[/code]
[code]# cat /proc/umap/vo
[VOU] Version: [Hi3531A_MPP_V1.0.2.0 B040 Release], Build Time[Dec 19 2015, 17:42:33]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
0 Y VGA BT1120 1080P@60 ff 60
1 Y HDMI 1080P@60 ff 60
2 Y CVBS PAL ff 25
-----MODULE PARAM--------------------------------------------------------------
DevId detectCycle
0 30
2 30
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
0 -
1 -
2 N
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
0 Y N 420 1920 1080 1920 1080 60 N 10000000 0
1 Y N 420 1920 1080 1920 1080 60 N 10000000 0
3 Y N 420 720 576 720 576 25 N 10000000 0
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
0 Y 9 0 50 50 50 50
1 Y 9 0 50 50 50 50
3 Y 9 0 50 50 50 50
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress
0 0 N N Multi N
1 1 N N Multi N
3 2 N N Single N
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
0 0 Y 0 N 0 0 640 360 -1 -1 N both N 0 0
0 1 Y 0 N 640 0 640 360 -1 -1 N both N 0 0
0 2 Y 0 N 1280 0 640 360 -1 -1 N both N 0 0
0 3 Y 0 N 0 360 640 360 -1 -1 N both N 0 0
0 4 Y 0 N 640 360 640 360 -1 -1 N both N 0 0
0 5 Y 0 N 1280 360 640 360 -1 -1 N both N 0 0
0 6 Y 0 N 0 720 640 360 -1 -1 N both N 0 0
0 7 Y 0 N 640 720 640 360 -1 -1 N both N 0 0
0 8 Y 0 N 1280 720 640 360 -1 -1 N both N 0 0
1 0 Y 0 N 0 0 640 360 -1 -1 N both N 0 0
1 1 Y 0 N 640 0 640 360 -1 -1 N both N 0 0
1 2 Y 0 N 1280 0 640 360 -1 -1 N both N 0 0
1 3 Y 0 N 0 360 640 360 -1 -1 N both N 0 0
1 4 Y 0 N 640 360 640 360 -1 -1 N both N 0 0
1 5 Y 0 N 1280 360 640 360 -1 -1 N both N 0 0
1 6 Y 0 N 0 720 640 360 -1 -1 N both N 0 0
1 7 Y 0 N 640 720 640 360 -1 -1 N both N 0 0
1 8 Y 0 N 1280 720 640 360 -1 -1 N both N 0 0
3 0 Y 0 N 0 0 240 192 -1 -1 N both N 0 0
3 1 Y 0 N 240 0 240 192 -1 -1 N both N 0 0
3 2 Y 0 N 480 0 240 192 -1 -1 N both N 0 0
3 3 Y 0 N 0 192 240 192 -1 -1 N both N 0 0
3 4 Y 0 N 240 192 240 192 -1 -1 N both N 0 0
3 5 Y 0 N 480 192 240 192 -1 -1 N both N 0 0
3 6 Y 0 N 0 384 240 192 -1 -1 N both N 0 0
3 7 Y 0 N 240 384 240 192 -1 -1 N both N 0 0
3 8 Y 0 N 480 384 240 192 -1 -1 N both N 0 0
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
0 0 N Y N N N N 3 60 16666
0 1 N Y N N N N 3 60 16666
0 2 N Y N N N N 3 60 16666
0 3 N Y N N N N 3 60 16666
0 4 N Y N N N N 3 60 16666
0 5 N Y N N N N 3 60 16666
0 6 N Y N N N N 3 60 16666
0 7 N Y N N N N 3 60 16666
0 8 N Y N N N N 3 60 16666
1 0 N Y N N N N 3 60 16666
1 1 N Y N N N N 3 60 16666
1 2 N Y N N N N 3 60 16666
1 3 N Y N N N N 3 60 16666
1 4 N Y N N N N 3 60 16666
1 5 N Y N N N N 3 60 16666
1 6 N Y N N N N 3 60 16666
1 7 N Y N N N N 3 60 16666
1 8 N Y N N N N 3 60 16666
3 0 N Y N N N N 3 25 40000
3 1 N Y N N N N 3 25 40000
3 2 N Y N N N N 3 25 40000
3 3 N Y N N N N 3 25 40000
3 4 N Y N N N N 3 25 40000
3 5 N Y N N N N 3 25 40000
3 6 N Y N N N N 3 25 40000
3 7 N Y N N N N 3 25 40000
3 8 N Y N N N N 3 25 40000
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
0 0 0 0 0 0 -1 0
0 1 0 0 0 0 -1 0
0 2 0 0 0 0 -1 0
0 3 0 0 0 0 -1 0
0 4 0 0 0 0 -1 0
0 5 0 0 0 0 -1 0
0 6 0 0 0 0 -1 0
0 7 0 0 0 0 -1 0
0 8 0 0 0 0 -1 0
1 0 0 0 0 0 -1 0
1 1 0 0 0 0 -1 0
1 2 0 0 0 0 -1 0
1 3 0 0 0 0 -1 0
1 4 0 0 0 0 -1 0
1 5 0 0 0 0 -1 0
1 6 0 0 0 0 -1 0
1 7 0 0 0 0 -1 0
1 8 0 0 0 0 -1 0
3 0 0 0 0 0 -1 0
3 1 0 0 0 0 -1 0
3 2 0 0 0 0 -1 0
3 3 0 0 0 0 -1 0
3 4 0 0 0 0 -1 0
3 5 0 0 0 0 -1 0
3 6 0 0 0 0 -1 0
3 7 0 0 0 0 -1 0
3 8 0 0 0 0 -1 0
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
0 0 0 0 0 0 0 0 0 -1 -1 0 0
0 1 0 0 0 0 0 0 0 -1 -1 3 3
0 2 0 0 0 0 0 0 0 -1 -1 6 6
0 3 0 0 0 0 0 0 0 -1 -1 1 1
0 4 0 0 0 0 0 0 0 -1 -1 4 4
0 5 0 0 0 0 0 0 0 -1 -1 7 7
0 6 0 0 0 0 0 0 0 -1 -1 2 2
0 7 0 0 0 0 0 0 0 -1 -1 5 5
0 8 0 0 0 0 0 0 0 -1 -1 8 8
1 0 0 0 0 0 0 0 0 -1 -1 0 0
1 1 0 0 0 0 0 0 0 -1 -1 3 3
1 2 0 0 0 0 0 0 0 -1 -1 6 6
1 3 0 0 0 0 0 0 0 -1 -1 1 1
1 4 0 0 0 0 0 0 0 -1 -1 4 4
1 5 0 0 0 0 0 0 0 -1 -1 7 7
1 6 0 0 0 0 0 0 0 -1 -1 2 2
1 7 0 0 0 0 0 0 0 -1 -1 5 5
1 8 0 0 0 0 0 0 0 -1 -1 8 8
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
0 0 F F F F 0 end end 0 0 0 8 0
0 1 F F F F 0 end end 0 0 0 8 0
0 2 F F F F 0 end end 0 0 0 8 0
0 3 F F F F 0 end end 0 0 0 8 0
0 4 F F F F 0 end end 0 0 0 8 0
0 5 F F F F 0 end end 0 0 0 8 0
0 6 F F F F 0 end end 0 0 0 8 0
0 7 F F F F 0 end end 0 0 0 8 0
0 8 F F F F 0 end end 0 0 0 8 0
1 0 F F F F 0 end end 0 0 0 8 0
1 1 F F F F 0 end end 0 0 0 8 0
1 2 F F F F 0 end end 0 0 0 8 0
1 3 F F F F 0 end end 0 0 0 8 0
1 4 F F F F 0 end end 0 0 0 8 0
1 5 F F F F 0 end end 0 0 0 8 0
1 6 F F F F 0 end end 0 0 0 8 0
1 7 F F F F 0 end end 0 0 0 8 0
1 8 F F F F 0 end end 0 0 0 8 0
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
0 0 NONE 0 0 0 0 0
0 1 NONE 0 0 0 0 0
0 2 NONE 0 0 0 0 0
0 3 NONE 0 0 0 0 0
0 4 NONE 0 0 0 0 0
0 5 NONE 0 0 0 0 0
0 6 NONE 0 0 0 0 0
0 7 NONE 0 0 0 0 0
0 8 NONE 0 0 0 0 0
1 0 NONE 0 0 0 0 0
1 1 NONE 0 0 0 0 0
1 2 NONE 0 0 0 0 0
1 3 NONE 0 0 0 0 0
1 4 NONE 0 0 0 0 0
1 5 NONE 0 0 0 0 0
1 6 NONE 0 0 0 0 0
1 7 NONE 0 0 0 0 0
1 8 NONE 0 0 0 0 0
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
3 0 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 1 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 2 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 3 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 4 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 5 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 6 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 7 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 8 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
3 0 N 0 0 0 0 0 8 0 14 0
3 1 N 0 0 0 0 0 8 0 14 0
3 2 N 0 0 0 0 0 8 0 14 0
3 3 N 0 0 0 0 0 8 0 14 0
3 4 N 0 0 0 0 0 8 0 14 0
3 5 N 0 0 0 0 0 8 0 14 0
3 6 N 0 0 0 0 0 8 0 14 0
3 7 N 0 0 0 0 0 8 0 14 0
3 8 N 0 0 0 0 0 8 0 14 0
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
3 0 NONE 0 0 0 0 0
3 1 NONE 0 0 0 0 0
3 2 NONE 0 0 0 0 0
3 3 NONE 0 0 0 0 0
3 4 NONE 0 0 0 0 0
3 5 NONE 0 0 0 0 0
3 6 NONE 0 0 0 0 0
3 7 NONE 0 0 0 0 0
3 8 NONE 0 0 0 0 0
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
0 0 N 0 0 0 0 0 0 0
0 1 N 0 0 0 0 0 0 0
0 2 N 0 0 0 0 0 0 0
0 3 N 0 0 0 0 0 0 0
0 4 N 0 0 0 0 0 0 0
0 5 N 0 0 0 0 0 0 0
0 6 N 0 0 0 0 0 0 0
0 7 N 0 0 0 0 0 0 0
0 8 N 0 0 0 0 0 0 0
1 0 N 0 0 0 0 0 0 0
1 1 N 0 0 0 0 0 0 0
1 2 N 0 0 0 0 0 0 0
1 3 N 0 0 0 0 0 0 0
1 4 N 0 0 0 0 0 0 0
1 5 N 0 0 0 0 0 0 0
1 6 N 0 0 0 0 0 0 0
1 7 N 0 0 0 0 0 0 0
1 8 N 0 0 0 0 0 0 0
3 0 N 0 0 0 0 0 0 0
3 1 N 0 0 0 0 0 0 0
3 2 N 0 0 0 0 0 0 0
3 3 N 0 0 0 0 0 0 0
3 4 N 0 0 0 0 0 0 0
3 5 N 0 0 0 0 0 0 0
3 6 N 0 0 0 0 0 0 0
3 7 N 0 0 0 0 0 0 0
3 8 N 0 0 0 0 0 0 0
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
0 5 50 50 50 50
1 5 50 50 50 50
2 5 50 50 50 50
3 5 50 50 50 50
4 5 50 50 50 50
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
0 N N N 0 240
1 N N N 0 240
2 N N N 0 100
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
0 3 50 50 50 50 14 128
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
1 0 60 45 50 48
[/code]
[code]# cat /proc/umap/hdmi
[HDMI] Version: [Hi3531A_MPP_V1.0.0.0 B00 Release], Build Time[Dec 19 2015, 17:42:14]
-----MODULE PARAM--------------------------------------------------------------
ConstraintOut
0
-----HDMI STATE----------------------------------------------------------------
DevId Open Start Event
0 y y HOT PLUG
########### Hisi HDMI Dev Stat ###########
HPD Status: IN
TV: Power On
EDID Parse Status: Ok
TV ManufactureName: MEI
HDMI Sink video capability :
TV support: 1080P_60
TV support: 1080P_50
TV support: 1080i_60
TV support: 1080i_50
TV support: 720P_60
TV support: 720P_50
TV support: 576P_50
TV support: 480P_60
TV support: 576i_50
TV support: 480i_60
TV support: 640X480_60
TV support: 800X600_60
TV support: 1024X768_60
CEC Status: OFF
HDMI Output Attribute:
HDCP Encryption: OFF
HDMI PHY Output: Enable
Video Output: Enable
Video Format: 1080P_60
Video Output mode: YCbCr444
Video DeepColor mode: off
Audio Output: Disable
Audio input format: I2S
Audio sample rate: 0Hz
HDMI Mode: HDMI
AVI Infoframe: Enable
AUD Infoframe: Enable
MPG/VendorSpec Infoframe: Disable
Gamut Metadata Packet: Disable
Generic Packet Packet: Disable
AVMUTE: Disable
AVI Inforframe:
0x82,0x02,0x0d,0x67,0x50,0xa8,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
AUD Inforframe:
0x84,0x01,0x0a,0x70,0x01,0x00,0x00,0x00,0x00,
EDID Raw Data:
00 ff ff ff ff ff ff 00 34 a9 0f c3 01 00 00 00
00 14 01 03 80 29 17 78 0a b7 75 a6 55 48 9d 25
15 50 54 21 08 00 8b c0 81 c0 61 40 81 80 01 01
01 01 01 01 01 01 01 1d 80 18 71 1c 16 20 58 2c
25 00 c4 8e 21 00 00 9e 01 1d 00 72 51 d0 1e 20
6e 28 55 00 c4 8e 21 00 00 1e 00 00 00 fc 00 54
48 2d 4c 31 39 43 32 30 2a 0a 20 20 00 00 00 fd
00 2d 41 0f 45 0f 00 0a 20 20 20 20 20 20 01 e8
02 03 1f 72 4a 03 04 85 07 10 12 13 94 16 1f 23
09 07 07 83 01 00 00 67 03 0c 00 10 00 b8 29 8c
0a d0 8a 20 e0 2d 10 10 3e 96 00 c4 8e 21 00 00
18 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 c4 8e 21
00 00 1e 01 1d 80 d0 72 1c 16 20 10 2c 25 80 c4
8e 21 00 00 9e 8c 0a d0 90 20 40 31 20 0c 40 55
00 c4 8e 21 00 00 18 01 1d 80 18 71 1c 16 20 58
2c 25 00 c4 8e 21 00 00 9e 00 00 00 00 00 00 64
#################### END ##################[/code]
购买了论坛的里的[url=http://www.ebaina.com/bbs/forum.php?mod=viewthread&tid=11956&extra=page%3D1]HI3531A开发板[/url]回来学习。
第一次用海思,很多东西还在摸索,在调试过程中遇到一些疑问。
1、按照烧写.txt中的步骤加载驱动
[code]./load3531a -a -ad 2823 -osmem 256
./load3531a -a -ad 2823 -osmem 128
insmod tp2802.ko[/code]
2、没有找到哪里有节点,直接运行海思SDK中的vio例子,HDMI显示器上画出9宫格,其中三路随机雪花条纹,其余的现实蓝色。
3、HI3531A官方vio例子是8路1080p,而论坛的板子是16路1080p,之后我按照海思文档说明,修改了vio代码,配置成16路1080p模式。
修改的diff差异可在这里
https://code.csdn.net/cangcanglang/mpp/commit/58f6a4863a1d8459eba1dff9acadd95c24656942
查看。
不知道这样改对不对,此时HDMI检测到1080P@60,整个屏幕显示蓝色,没有9宫格。
我感觉这可能因为是聚集内存方式时,vi输入的一路1080p就已经占满了屏幕分辨率。
另外还看到有一个mask1和mask2的值需要设置,datasheet上列出了8路等方式的mask设置,没有给出16x1080p的mask如何设置,而且看到说这个值和硬件连线相关的。
在16路1080p/720p模式,vio例程具体需要修改哪几个地方?
=========================
下面是我运行
[code]# ./sample_vio 0 &[/code]
是debug sysfs的信息。
[code]# cat /proc/umap/vi
[VIU] Version: [Hi3531A_MPP_V1.0.2.0 B040 Release], Build Time: [Dec 19 2015, 17:42:33]
-----MODULE PARAM--------------------------------------------------------------
detect_err_frame drop_err_frame stop_int_level max_cas_gap
10 0 0 28000
-----VI DEV ATTR---------------------------------------------------------------
Dev IntfM WkM ComMsk0 ComMsk1 CLKM AD0 AD1 AD2 AD3 Seq DPath DType DRev
0 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
1 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
2 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
3 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
4 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
5 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
6 BT656 2Mux ff000000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
7 BT656 2Mux ff0000 0 UP -1 -1 -1 -1 UYVY ByPass YUV N
-----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
0 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
2 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
4 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
6 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
8 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
10 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
12 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
14 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
16 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
18 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
20 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
22 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
24 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
26 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
28 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
30 0 0 1920 1080 1920 1080 both P SKIPNON N N Y sp420 -1 -1
-----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 0 0 0 0 0 0 0 0 (null) 0
2 0 1 0 0 0 0 0 0 0 0 (null) 0
4 1 0 0 0 0 0 0 0 0 0 (null) 0
6 1 1 0 0 0 0 0 0 0 0 (null) 0
8 2 0 0 0 0 0 0 0 0 0 (null) 0
10 2 1 0 0 0 0 0 0 0 0 (null) 0
12 3 0 0 0 0 0 0 0 0 0 (null) 0
14 3 1 0 0 0 0 0 0 0 0 (null) 0
16 4 0 0 0 0 0 0 0 0 0 (null) 0
18 4 1 0 0 0 0 0 0 0 0 (null) 0
20 5 0 0 0 0 0 0 0 0 0 (null) 0
22 5 1 0 0 0 0 0 0 0 0 (null) 0
24 6 0 0 0 0 0 0 0 0 0 (null) 0
26 6 1 0 0 0 0 0 0 0 0 (null) 0
28 7 0 0 0 0 0 0 0 0 0 (null) 0
30 7 1 0 0 0 0 0 0 0 0 (null) 0
-----VI PHYCHN STATUS 2---------------------------------------------------------
PhyChn MaxIntT IntGapT MaxGapT OverCnt LIntCnt ThrCnt AutoDis CasAutD TmgErr ccErrN IntRat
0 0 0 0 0 0 0 0 0 0 0 0
2 0 0 0 0 0 0 0 0 0 0 0
4 0 0 0 0 0 0 0 0 0 0 0
6 0 0 0 0 0 0 0 0 0 0 0
8 0 0 0 0 0 0 0 0 0 0 0
10 0 0 0 0 0 0 0 0 0 0 0
12 0 0 0 0 0 0 0 0 0 0 0
14 0 0 0 0 0 0 0 0 0 0 0
16 0 0 0 0 0 0 0 0 0 0 0
18 0 0 0 0 0 0 0 0 0 0 0
20 0 0 0 0 0 0 0 0 0 0 0
22 0 0 0 0 0 0 0 0 0 0 0
24 0 0 0 0 0 0 0 0 0 0 0
26 0 0 0 0 0 0 0 0 0 0 0
28 0 0 0 0 0 0 0 0 0 0 0
30 0 0 0 0 0 0 0 0 0 0 0
-----VI PHYCHN VBI ATTR---------------------------------------------------------
PhyChn VbiId X Y Local Len CasErrN
-----VI CASCADE CHN ATTR---------------------------------------------------------
CasChn Dev PhyChn SrcRat DstRat
-----VI CHN STATUS-------------------------------------------------------------
ViChn bEnUsrP FrmTime FrmRate SendCnt SwLost Depth
0 N 0 0 0 0 0
2 N 0 0 0 0 0
4 N 0 0 0 0 0
6 N 0 0 0 0 0
8 N 0 0 0 0 0
10 N 0 0 0 0 0
12 N 0 0 0 0 0
14 N 0 0 0 0 0
16 N 0 0 0 0 0
18 N 0 0 0 0 0
20 N 0 0 0 0 0
22 N 0 0 0 0 0
24 N 0 0 0 0 0
26 N 0 0 0 0 0
28 N 0 0 0 0 0
30 N 0 0 0 0 0
-----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[/code]
[code]# cat /proc/umap/vo
[VOU] Version: [Hi3531A_MPP_V1.0.2.0 B040 Release], Build Time[Dec 19 2015, 17:42:33]
-----DEV CONFIG----------------------------------------------------------------
DevId DevEn Mux1 Mux2 Mux3 InfSync BkClr DevFrt
0 Y VGA BT1120 1080P@60 ff 60
1 Y HDMI 1080P@60 ff 60
2 Y CVBS PAL ff 25
-----MODULE PARAM--------------------------------------------------------------
DevId detectCycle
0 30
2 30
ext_csc_en
0
-----DEV VDAC STATUS-----------------------------------------------------------
DevId VDAC
0 -
1 -
2 N
-----VIDEO LAYER STATUS--------------------------------------------------------
LayerId VideoEn ClustMode PixFmt ImgW ImgH DispW DispH DispFrt DoubFrm Toleration Priority
0 Y N 420 1920 1080 1920 1080 60 N 10000000 0
1 Y N 420 1920 1080 1920 1080 60 N 10000000 0
3 Y N 420 720 576 720 576 25 N 10000000 0
-----VIDEO LAYER STATUS 2------------------------------------------------------
layerId VideoEn EnChNum Matrix Luma Cont Hue Satu
0 Y 9 0 50 50 50 50
1 Y 9 0 50 50 50 50
3 Y 9 0 50 50 50 50
-----VIDEO LAYER STATUS 3------------------------------------------------------
layerId DevId SetBeg SetEnd PartitionMode SupportCompress
0 0 N N Multi N
1 1 N N Multi N
3 2 N N Single N
-----CHN BASE INFO ------------------------------------------------------------
LayerId ChnId ChnEn Prio DeFlk ChnX ChnY ChnW ChnH DispX DispY bSnap Field bCas CcPos bRcvMatch
0 0 Y 0 N 0 0 640 360 -1 -1 N both N 0 0
0 1 Y 0 N 640 0 640 360 -1 -1 N both N 0 0
0 2 Y 0 N 1280 0 640 360 -1 -1 N both N 0 0
0 3 Y 0 N 0 360 640 360 -1 -1 N both N 0 0
0 4 Y 0 N 640 360 640 360 -1 -1 N both N 0 0
0 5 Y 0 N 1280 360 640 360 -1 -1 N both N 0 0
0 6 Y 0 N 0 720 640 360 -1 -1 N both N 0 0
0 7 Y 0 N 640 720 640 360 -1 -1 N both N 0 0
0 8 Y 0 N 1280 720 640 360 -1 -1 N both N 0 0
1 0 Y 0 N 0 0 640 360 -1 -1 N both N 0 0
1 1 Y 0 N 640 0 640 360 -1 -1 N both N 0 0
1 2 Y 0 N 1280 0 640 360 -1 -1 N both N 0 0
1 3 Y 0 N 0 360 640 360 -1 -1 N both N 0 0
1 4 Y 0 N 640 360 640 360 -1 -1 N both N 0 0
1 5 Y 0 N 1280 360 640 360 -1 -1 N both N 0 0
1 6 Y 0 N 0 720 640 360 -1 -1 N both N 0 0
1 7 Y 0 N 640 720 640 360 -1 -1 N both N 0 0
1 8 Y 0 N 1280 720 640 360 -1 -1 N both N 0 0
3 0 Y 0 N 0 0 240 192 -1 -1 N both N 0 0
3 1 Y 0 N 240 0 240 192 -1 -1 N both N 0 0
3 2 Y 0 N 480 0 240 192 -1 -1 N both N 0 0
3 3 Y 0 N 0 192 240 192 -1 -1 N both N 0 0
3 4 Y 0 N 240 192 240 192 -1 -1 N both N 0 0
3 5 Y 0 N 480 192 240 192 -1 -1 N both N 0 0
3 6 Y 0 N 0 384 240 192 -1 -1 N both N 0 0
3 7 Y 0 N 240 384 240 192 -1 -1 N both N 0 0
3 8 Y 0 N 480 384 240 192 -1 -1 N both N 0 0
-----CHN PLAY INFO 1-----------------------------------------------------------
LayerId ChnId Batch Show Pause Step Revrs Refsh Thrshd ChnFrt ChnGap
0 0 N Y N N N N 3 60 16666
0 1 N Y N N N N 3 60 16666
0 2 N Y N N N N 3 60 16666
0 3 N Y N N N N 3 60 16666
0 4 N Y N N N N 3 60 16666
0 5 N Y N N N N 3 60 16666
0 6 N Y N N N N 3 60 16666
0 7 N Y N N N N 3 60 16666
0 8 N Y N N N N 3 60 16666
1 0 N Y N N N N 3 60 16666
1 1 N Y N N N N 3 60 16666
1 2 N Y N N N N 3 60 16666
1 3 N Y N N N N 3 60 16666
1 4 N Y N N N N 3 60 16666
1 5 N Y N N N N 3 60 16666
1 6 N Y N N N N 3 60 16666
1 7 N Y N N N N 3 60 16666
1 8 N Y N N N N 3 60 16666
3 0 N Y N N N N 3 25 40000
3 1 N Y N N N N 3 25 40000
3 2 N Y N N N N 3 25 40000
3 3 N Y N N N N 3 25 40000
3 4 N Y N N N N 3 25 40000
3 5 N Y N N N N 3 25 40000
3 6 N Y N N N N 3 25 40000
3 7 N Y N N N N 3 25 40000
3 8 N Y N N N N 3 25 40000
-----CHN PLAY INFO 2-----------------------------------------------------------
LayerId ChnId DisplayPts PrePts CurrPts ScalePts SetPts RecvCurPts
0 0 0 0 0 0 -1 0
0 1 0 0 0 0 -1 0
0 2 0 0 0 0 -1 0
0 3 0 0 0 0 -1 0
0 4 0 0 0 0 -1 0
0 5 0 0 0 0 -1 0
0 6 0 0 0 0 -1 0
0 7 0 0 0 0 -1 0
0 8 0 0 0 0 -1 0
1 0 0 0 0 0 -1 0
1 1 0 0 0 0 -1 0
1 2 0 0 0 0 -1 0
1 3 0 0 0 0 -1 0
1 4 0 0 0 0 -1 0
1 5 0 0 0 0 -1 0
1 6 0 0 0 0 -1 0
1 7 0 0 0 0 -1 0
1 8 0 0 0 0 -1 0
3 0 0 0 0 0 -1 0
3 1 0 0 0 0 -1 0
3 2 0 0 0 0 -1 0
3 3 0 0 0 0 -1 0
3 4 0 0 0 0 -1 0
3 5 0 0 0 0 -1 0
3 6 0 0 0 0 -1 0
3 7 0 0 0 0 -1 0
3 8 0 0 0 0 -1 0
-----ByMutli CHN STATUS1-------------------------------------------------------
LayerId ChnId QCnt NewDo OldDo LCnt SCnt ChRpt BusyN ShouD Dsped Area AreaT
0 0 0 0 0 0 0 0 0 -1 -1 0 0
0 1 0 0 0 0 0 0 0 -1 -1 3 3
0 2 0 0 0 0 0 0 0 -1 -1 6 6
0 3 0 0 0 0 0 0 0 -1 -1 1 1
0 4 0 0 0 0 0 0 0 -1 -1 4 4
0 5 0 0 0 0 0 0 0 -1 -1 7 7
0 6 0 0 0 0 0 0 0 -1 -1 2 2
0 7 0 0 0 0 0 0 0 -1 -1 5 5
0 8 0 0 0 0 0 0 0 -1 -1 8 8
1 0 0 0 0 0 0 0 0 -1 -1 0 0
1 1 0 0 0 0 0 0 0 -1 -1 3 3
1 2 0 0 0 0 0 0 0 -1 -1 6 6
1 3 0 0 0 0 0 0 0 -1 -1 1 1
1 4 0 0 0 0 0 0 0 -1 -1 4 4
1 5 0 0 0 0 0 0 0 -1 -1 7 7
1 6 0 0 0 0 0 0 0 -1 -1 2 2
1 7 0 0 0 0 0 0 0 -1 -1 5 5
1 8 0 0 0 0 0 0 0 -1 -1 8 8
-----ByMutli CHN STATUS2-------------------------------------------------------
LayerId ChnId Buf1 Buf2 Buf3 Buf4 DBuf Stat1 Stat2 QNodeAddr SNodeAddr DispAddr ChnFreeNum ChnBusyNum
0 0 F F F F 0 end end 0 0 0 8 0
0 1 F F F F 0 end end 0 0 0 8 0
0 2 F F F F 0 end end 0 0 0 8 0
0 3 F F F F 0 end end 0 0 0 8 0
0 4 F F F F 0 end end 0 0 0 8 0
0 5 F F F F 0 end end 0 0 0 8 0
0 6 F F F F 0 end end 0 0 0 8 0
0 7 F F F F 0 end end 0 0 0 8 0
0 8 F F F F 0 end end 0 0 0 8 0
1 0 F F F F 0 end end 0 0 0 8 0
1 1 F F F F 0 end end 0 0 0 8 0
1 2 F F F F 0 end end 0 0 0 8 0
1 3 F F F F 0 end end 0 0 0 8 0
1 4 F F F F 0 end end 0 0 0 8 0
1 5 F F F F 0 end end 0 0 0 8 0
1 6 F F F F 0 end end 0 0 0 8 0
1 7 F F F F 0 end end 0 0 0 8 0
1 8 F F F F 0 end end 0 0 0 8 0
-----ByMutli CHN STATUS3--------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
0 0 NONE 0 0 0 0 0
0 1 NONE 0 0 0 0 0
0 2 NONE 0 0 0 0 0
0 3 NONE 0 0 0 0 0
0 4 NONE 0 0 0 0 0
0 5 NONE 0 0 0 0 0
0 6 NONE 0 0 0 0 0
0 7 NONE 0 0 0 0 0
0 8 NONE 0 0 0 0 0
1 0 NONE 0 0 0 0 0
1 1 NONE 0 0 0 0 0
1 2 NONE 0 0 0 0 0
1 3 NONE 0 0 0 0 0
1 4 NONE 0 0 0 0 0
1 5 NONE 0 0 0 0 0
1 6 NONE 0 0 0 0 0
1 7 NONE 0 0 0 0 0
1 8 NONE 0 0 0 0 0
-----BySingle CHN STATUS 1-----------------------------------------------------
LayerId ChnId Job Task LCnt SCnt ChRpt DRpt CBusy DBusy ShouD Dsped b2Scl ChnAddr DispAddr
3 0 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 1 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 2 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 3 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 4 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 5 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 6 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 7 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
3 8 1 0 0 0 0 63 0 0 -1 -1 N 0 59f06000
-----BySingle CHN STATUS 2-----------------------------------------------------
LayerId ChnId bBorder TopWidth BottomWidth LeftWidth RightWidth Color ChnFreeNum ChnBusyNum DisplayFreeNum DisplayBusyNum
3 0 N 0 0 0 0 0 8 0 14 0
3 1 N 0 0 0 0 0 8 0 14 0
3 2 N 0 0 0 0 0 8 0 14 0
3 3 N 0 0 0 0 0 8 0 14 0
3 4 N 0 0 0 0 0 8 0 14 0
3 5 N 0 0 0 0 0 8 0 14 0
3 6 N 0 0 0 0 0 8 0 14 0
3 7 N 0 0 0 0 0 8 0 14 0
3 8 N 0 0 0 0 0 8 0 14 0
-----BySingle CHN STATUS3------------------------------------------------------
LayerId ChnId AspectRatioMode X Y Width Height BgColor CompressMode
3 0 NONE 0 0 0 0 0
3 1 NONE 0 0 0 0 0
3 2 NONE 0 0 0 0 0
3 3 NONE 0 0 0 0 0
3 4 NONE 0 0 0 0 0
3 5 NONE 0 0 0 0 0
3 6 NONE 0 0 0 0 0
3 7 NONE 0 0 0 0 0
3 8 NONE 0 0 0 0 0
-----CHN OTHER INFO------------------------------------------------------------
LayerId ChnId bZoom ZmTyp ZoomX ZoomY ZoomW ZoomH SrcW SrcH
0 0 N 0 0 0 0 0 0 0
0 1 N 0 0 0 0 0 0 0
0 2 N 0 0 0 0 0 0 0
0 3 N 0 0 0 0 0 0 0
0 4 N 0 0 0 0 0 0 0
0 5 N 0 0 0 0 0 0 0
0 6 N 0 0 0 0 0 0 0
0 7 N 0 0 0 0 0 0 0
0 8 N 0 0 0 0 0 0 0
1 0 N 0 0 0 0 0 0 0
1 1 N 0 0 0 0 0 0 0
1 2 N 0 0 0 0 0 0 0
1 3 N 0 0 0 0 0 0 0
1 4 N 0 0 0 0 0 0 0
1 5 N 0 0 0 0 0 0 0
1 6 N 0 0 0 0 0 0 0
1 7 N 0 0 0 0 0 0 0
1 8 N 0 0 0 0 0 0 0
3 0 N 0 0 0 0 0 0 0
3 1 N 0 0 0 0 0 0 0
3 2 N 0 0 0 0 0 0 0
3 3 N 0 0 0 0 0 0 0
3 4 N 0 0 0 0 0 0 0
3 5 N 0 0 0 0 0 0 0
3 6 N 0 0 0 0 0 0 0
3 7 N 0 0 0 0 0 0 0
3 8 N 0 0 0 0 0 0 0
-----WBC INFO------------------------------------------------------------------
WbcId WbcW WbcH PixFmt FrmRat RealRat Mode SrcType SrcId Depth NotFin
-----GRAPHICS LAYER------------------------------------------------------------
Layer BindDev
HC0 0
-----LAYER CSC PARAM-----------------------------------------------------------
LAYERID Matrix Luma Cont Hue Satu
0 5 50 50 50 50
1 5 50 50 50 50
2 5 50 50 50 50
3 5 50 50 50 50
4 5 50 50 50 50
-----DEV VIDEO STATUS 3--------------------------------------------------------
DevId bCasCfg bCasEn bCasSlv CasRgn CasMode CasPatn enCasDataTranMode Vtth
0 N N N 0 240
1 N N N 0 240
2 N N N 0 100
-----VGA PARAM-----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu Gain SharpenStrength
0 3 50 50 50 50 14 128
-----HDMI PARAM----------------------------------------------------------------
DevId Matrix Luma Cont Hue Satu
1 0 60 45 50 48
[/code]
[code]# cat /proc/umap/hdmi
[HDMI] Version: [Hi3531A_MPP_V1.0.0.0 B00 Release], Build Time[Dec 19 2015, 17:42:14]
-----MODULE PARAM--------------------------------------------------------------
ConstraintOut
0
-----HDMI STATE----------------------------------------------------------------
DevId Open Start Event
0 y y HOT PLUG
########### Hisi HDMI Dev Stat ###########
HPD Status: IN
TV: Power On
EDID Parse Status: Ok
TV ManufactureName: MEI
HDMI Sink video capability :
TV support: 1080P_60
TV support: 1080P_50
TV support: 1080i_60
TV support: 1080i_50
TV support: 720P_60
TV support: 720P_50
TV support: 576P_50
TV support: 480P_60
TV support: 576i_50
TV support: 480i_60
TV support: 640X480_60
TV support: 800X600_60
TV support: 1024X768_60
CEC Status: OFF
HDMI Output Attribute:
HDCP Encryption: OFF
HDMI PHY Output: Enable
Video Output: Enable
Video Format: 1080P_60
Video Output mode: YCbCr444
Video DeepColor mode: off
Audio Output: Disable
Audio input format: I2S
Audio sample rate: 0Hz
HDMI Mode: HDMI
AVI Infoframe: Enable
AUD Infoframe: Enable
MPG/VendorSpec Infoframe: Disable
Gamut Metadata Packet: Disable
Generic Packet Packet: Disable
AVMUTE: Disable
AVI Inforframe:
0x82,0x02,0x0d,0x67,0x50,0xa8,0x00,0x10,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,
AUD Inforframe:
0x84,0x01,0x0a,0x70,0x01,0x00,0x00,0x00,0x00,
EDID Raw Data:
00 ff ff ff ff ff ff 00 34 a9 0f c3 01 00 00 00
00 14 01 03 80 29 17 78 0a b7 75 a6 55 48 9d 25
15 50 54 21 08 00 8b c0 81 c0 61 40 81 80 01 01
01 01 01 01 01 01 01 1d 80 18 71 1c 16 20 58 2c
25 00 c4 8e 21 00 00 9e 01 1d 00 72 51 d0 1e 20
6e 28 55 00 c4 8e 21 00 00 1e 00 00 00 fc 00 54
48 2d 4c 31 39 43 32 30 2a 0a 20 20 00 00 00 fd
00 2d 41 0f 45 0f 00 0a 20 20 20 20 20 20 01 e8
02 03 1f 72 4a 03 04 85 07 10 12 13 94 16 1f 23
09 07 07 83 01 00 00 67 03 0c 00 10 00 b8 29 8c
0a d0 8a 20 e0 2d 10 10 3e 96 00 c4 8e 21 00 00
18 01 1d 00 bc 52 d0 1e 20 b8 28 55 40 c4 8e 21
00 00 1e 01 1d 80 d0 72 1c 16 20 10 2c 25 80 c4
8e 21 00 00 9e 8c 0a d0 90 20 40 31 20 0c 40 55
00 c4 8e 21 00 00 18 01 1d 80 18 71 1c 16 20 58
2c 25 00 c4 8e 21 00 00 9e 00 00 00 00 00 00 64
#################### END ##################[/code]
我来回答
回答3个
时间排序
认可量排序
认可0
认可0
认可0
或将文件直接拖到这里
悬赏:
E币
网盘
* 网盘链接:
* 提取码:
悬赏:
E币
Markdown 语法
- 加粗**内容**
- 斜体*内容*
- 删除线~~内容~~
- 引用> 引用内容
- 代码`代码`
- 代码块```编程语言↵代码```
- 链接[链接标题](url)
- 无序列表- 内容
- 有序列表1. 内容
- 缩进内容
- 图片![alt](url)
相关问答
-
2016-07-14 22:12:39
-
2015-08-13 09:51:20
-
122016-10-14 09:42:28
-
102016-10-10 16:10:19
-
2016-08-05 10:32:55
-
2014-10-15 10:23:03
-
22020-08-25 19:23:00
-
22020-08-25 19:23:34
-
2016-07-23 15:14:55
-
2016-07-26 15:38:13
-
2014-12-12 10:59:04
-
2016-01-04 08:46:10
-
2015-09-25 10:48:15
-
2017-05-25 17:07:12
-
2016-09-19 16:21:33
-
2017-04-21 16:23:17
-
2017-04-27 16:44:36
-
2016-07-15 14:51:17
-
2016-09-26 14:48:55
无更多相似问答 去提问
点击登录
-- 积分
-- E币
提问
—
收益
—
被采纳
—
我要提问
切换马甲
上一页
下一页
悬赏问答
-
5Hi3516CV610 如何使用SD卡升级固件
-
5cat /dev/logmpp 报错 <3>[ vi] [func]:vi_send_frame_node [line]:99 [info]:vi pic queue is full!
-
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板子运行自己编码的程序
举报反馈
举报类型
- 内容涉黄/赌/毒
- 内容侵权/抄袭
- 政治相关
- 涉嫌广告
- 侮辱谩骂
- 其他
详细说明
提醒
你的问题还没有最佳答案,是否结题,结题后将扣除20%的悬赏金
取消
确认
提醒
你的问题还没有最佳答案,是否结题,结题后将根据回答情况扣除相应悬赏金(1回答=1E币)
取消
确认