Video Test Pattern Generator(7.0)软件调试记录
Posted 沉默改良者
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Video Test Pattern Generator(7.0)软件调试记录相关的知识,希望对你有一定的参考价值。
Video Test Pattern Generator(7.0)软件调试记录
1 1. 2 XVidC_VideoMode 3 XVIDC_VM_576_50_I = XVIDC_VM_720x576_50_I 4 5 2. 6 typedef struct { 7 u16 HActive; 8 u16 HFrontPorch; 9 u16 HSyncWidth; 10 u16 HBackPorch; 11 u16 HTotal; 12 u8 HSyncPolarity; 13 u16 VActive; 14 u16 F0PVFrontPorch; 15 u16 F0PVSyncWidth; 16 u16 F0PVBackPorch; 17 u16 F0PVTotal; 18 u16 F1VFrontPorch; 19 u16 F1VSyncWidth; 20 u16 F1VBackPorch; 21 u16 F1VTotal; 22 u8 VSyncPolarity; 23 } XVidC_VideoTiming; 24 25 3. 26 void XV_tpg_Set_height(XV_tpg *InstancePtr, u32 Data) { 27 Xil_AssertVoid(InstancePtr != NULL); 28 Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY); 29 30 XV_tpg_WriteReg(InstancePtr->Config.BaseAddress, XV_TPG_CTRL_ADDR_HEIGHT_DATA, Data); 31 } 32 33 4. 34 void XV_tpg_Set_width(XV_tpg *InstancePtr, u32 Data) { 35 Xil_AssertVoid(InstancePtr != NULL); 36 Xil_AssertVoid(InstancePtr->IsReady == XIL_COMPONENT_IS_READY); 37 38 XV_tpg_WriteReg(InstancePtr->Config.BaseAddress, XV_TPG_CTRL_ADDR_WIDTH_DATA, Data); 39 }
5.
GUI配置:
ila抓取波形:
6.
GUI配置:
ila抓取波形:
修改软件配置为:
XVIDC_VM_1080_50_I;
ila抓取波形:
修改软件配置为:
XVIDC_VM_480_60_I
ila抓取波形:
软件调试:
TestMode = XVIDC_VM_576_50_I;
TestMode = XVIDC_VM_480_60_I;
以上是关于Video Test Pattern Generator(7.0)软件调试记录的主要内容,如果未能解决你的问题,请参考以下文章
FFMPEG ffmpeg + cocos2d video test