TI中文支持网
TI专业的中文技术问题搜集分享网站

DM8168 evm+io 板卡采集DVI视频

我用 dvrrdk4.0.01开发包,EVM+io子卡,采集dvi视频,DVI视频连接SN74CBTLV16212 ,U25 SiI9022A,

我采集的信号是PC输出的1080P60Hz图像,1080P RGB888 ,但是一起到程序就会复位M3Vpss

打印如下,

[m3vpss ] 9592: CAPTURE: Overflow detected on VIP0, Total Resets = 37
[m3vpss ] 9608: CAPTURE: Overflow detected on VIP0, Total Resets = 38
[m3vpss ] 9624: CAPTURE: Overflow detected on VIP0, Total Resets = 39
[m3vpss ] 9640: CAPTURE: Overflow detected on VIP0, Total Resets = 40
[m3vpss ] 9656: CAPTURE: Overflow detected on VIP0, Total Resets = 41
[m3vpss ] 9672: CAPTURE: Overflow detected on VIP0, Total Resets = 42
[m3vpss ] 9688: CAPTURE: Overflow detected on VIP0, Total Resets = 43
[m3vpss ] 9704: CAPTURE: Overflow detected on VIP0, Total Resets = 44
[m3vpss ] 9720: CAPTURE: Overflow detected on VIP0, Total Resets = 45
[m3vpss ] 9736: CAPTURE: Overflow detected on VIP0, Total Resets = 46
[m3vpss ] 9752: CAPTURE: Overflow detected on VIP0, Total Resets = 47
[m3vpss ] 9768: CAPTURE: Overflow detected on VIP0, Total Resets = 48
[m3vpss ] 9784: CAPTURE: Overflow detected on VIP0, Total Resets = 49
[m3vpss ] 9800: CAPTURE: Overflow detected on VIP0, Total Resets = 50

 

如果拔出输入信号,复位就停止了

=============
Run-Time Menu
=============

1: Capture Settings
2: Encode Settings
3: Decode Settings
4: Display Settings
5: Audio Capture <TVP5158> & Encode <AAC-LC, G711> demo
6: Change Playback Channel <valid only if capture/playback is active>
7: Audio encode demo <File In/Out>
8: Audio decode demo <File In/Out>

i: Print detailed system information
s: Core Status: Active/In-active
f: Switch IVA Channel Map

e: Stop Demo

Enter Choice: i

[m3vpss ] 
[m3vpss ] *** Capture Driver Advanced Statistics *** 
[m3vpss ] 
[m3vpss ] VIP Parser Reset Count : 0
[m3vpss ] 
[m3vpss ] | Total Even Odd Total Even Odd Min / Max Min / Max Dropped Fid Repeat Frame Error Y/C
[m3vpss ] CH | Fields Fields Fields FPS FPS FPS Width Height Fields Count (Desc Error Y/C)
[m3vpss ] ————————————————————————————————————
[m3vpss ] 000 | 2 2 0 0 0 0 65535 / 0 65535 / 0 1 0 0/0 (1/0)
[m3vpss ] 
[m3vpss ] VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0 
[m3vpss ] 
[m3vpss ] *** Capture List Manager Advanced Statistics *** 
[m3vpss ] 
[m3vpss ] List Post Count : 4167 
[m3vpss ] List Stall Count : 1 
[m3vpss ] List Post Time (ms) : Max = 3086, Min = 0, Avg = 0, Total = 3086 
[m3vpss ] INTC Timeout Count : (1, 0) (Min timeout value = 0, 991) 
[m3vpss ] Descriptor miss found count : 0 
[m3vpss ] 
[m3vpss ] List Stall Info, 
[m3vpss ] 0: 12756 ms
[m3vpss ] 
[m3vpss ] 
[m3vpss ] VIP and VPDMA registers, 
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00060000
[m3vpss ] 
[m3vpss ] 
[m3vpss ] 49198: CAPTURE: Fields = 1 (fps = 0, CPU Load = 0)
[m3vpss ] 49198: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 49198: SYSTEM : FREE SPACE : System Heap = 67048 B, Mbx = 10238 msgs) 
[m3vpss ] 49198: SYSTEM : FREE SPACE : SR0 Heap = 8683520 B (8 MB) 
[m3vpss ] 49198: SYSTEM : FREE SPACE : Frame Buffer = 161176448 B (153 MB) 
[m3vpss ] 49198: SYSTEM : FREE SPACE : Bitstream Buffer = 210763648 B (200 MB) 
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 8192
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 8188
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 134152192 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 100663296 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 49200: SYSTEM : FREE SPACE : Tiler 8-bit = 134152192 B (127 MB) – TILER ON 
[m3vpss ] 49201: SYSTEM : FREE SPACE : Tiler 16-bit = 100663296 B (96 MB) – TILER ON 
[m3vpss ] 
[m3vpss ] *** [NSF0] NSF Statistics *** 
[m3vpss ] 
[m3vpss ] Elasped Time : 13 secs
[m3vpss ] Total Fields Processed : 1 
[m3vpss ] Total Fields FPS : 100 FPS
[m3vpss ] 
[m3vpss ] 
[m3vpss ] CH | In Recv In Reject In Process Out User Out Out 
[m3vpss ] Num | FPS FPS FPS FPS Skip FPS Skip FPS 
[m3vpss ] ————————————————
[m3vpss ] 0 | 0 0 0 0 0 0
[m3vpss ] 
[m3vpss ] 
[m3vpss ] *** [SWMS0] Mosaic Driver Statistics *** 
[m3vpss ] 0) *** Drv Inst [0], handle 9DC51460, NON_DEI 
[m3vpss ] 
[m3vpss ] *** [SWMS0] Mosaic Statistics *** 
[m3vpss ] 
[m3vpss ] Elasped Time: 13 secs
[m3vpss ] 
[m3vpss ] Output Request FPS : 34 fps (450 frames) 
[m3vpss ] Output Actual FPS : 34 fps (450 frames) 
[m3vpss ] Output Drop FPS : 0 fps (0 frames) 
[m3vpss ] Output Reject FPS : 0 fps (0 frames) 
[m3vpss ] Scaling Internal : 29 ms 
[m3vpss ] Scaling Internal min : 29 ms 
[m3vpss ] Scaling Internal max : 30 ms 
[m3vpss ] 
[m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency OutBufCopy InBufCopy
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max FPS FPS 
[m3vpss ] —————————————————————————————————————————
[m3vpss ] 0 | 34 34 0 0 0 0 0 ( 0/255) 0 0 0 27046 / 40515 34 0 
[m3vpss ] 1 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 2 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 3 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 4 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 5 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 6 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 7 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 8 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 9 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 10 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 11 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 12 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 13 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 14 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 15 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 
[m3vpss ] 
[m3vpss ] *** [SWMS0] Mosaic Parameters *** 
[m3vpss ] 
[m3vpss ] Output FPS: 30
[m3vpss ] 
[m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Scan | Low Cost | SWMS | Data | Blank |
[m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Fmt | ON / OFF | Inst | Format| Frame |
[m3vpss ] ————————————————————————————————————————————————————————————
[m3vpss ] 0 | 0 | 0, 0 | 1920 x 540 | 3840 / 3840 | NON-TILED | 0, 0 | 480 x 270 | 3840 / 0 | NON-TILED | PROGRESSIVE | ON | 0 | 420SP | OFF |
[m3vpss ] 1 | 1 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 2 | 2 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 3 | 3 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 4 | 4 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 5 | 5 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 6 | 6 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 7 | 7 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 8 | 8 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 9 | 9 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 10 | 10 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 11 | 11 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 12 | 12 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 13 | 13 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 14 | 14 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 15 | 15 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 
[m3vpss ] 
[m3vpss ] 
[m3vpss ] *** [SWMS1] Mosaic Driver Statistics *** 
[m3vpss ] 0) *** Drv Inst [0], handle 9DC51480, NON_DEI 
[m3vpss ] 
[m3vpss ] *** [SWMS1] Mosaic Statistics *** 
[m3vpss ] 
[m3vpss ] Elasped Time: 13 secs
[m3vpss ] 
[m3vpss ] Output Request FPS : 34 fps (450 frames) 
[m3vpss ] Output Actual FPS : 34 fps (450 frames) 
[m3vpss ] Output Drop FPS : 0 fps (0 frames) 
[m3vpss ] Output Reject FPS : 0 fps (0 frames) 
[m3vpss ] Scaling Internal : 29 ms 
[m3vpss ] Scaling Internal min : 30 ms 
[m3vpss ] Scaling Internal max : 30 ms 
[m3vpss ] 
[m3vpss ] Win | Window Repeat Drop Recv Que FID Invlid Acc Event Invalid Que Reject Reject Latency OutBufCopy InBufCopy
[m3vpss ] Num | FPS FPS FPS FPS FPS FPS Count (Max/Min) CH Frames Frames Frames Min / Max FPS FPS 
[m3vpss ] —————————————————————————————————————————
[m3vpss ] 0 | 34 34 0 0 0 0 0 ( 0/255) 0 0 0 27055 / 40525 34 0 
[m3vpss ] 1 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 2 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 3 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 4 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 5 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 6 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 7 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 8 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 9 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 10 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 11 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 12 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 13 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 14 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 15 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 34 0 
[m3vpss ] 
[m3vpss ] 
[m3vpss ] *** [SWMS1] Mosaic Parameters *** 
[m3vpss ] 
[m3vpss ] Output FPS: 30
[m3vpss ] 
[m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Scan | Low Cost | SWMS | Data | Blank |
[m3vpss ] Num | Num | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Start X, Y | Width x Height | Pitch Y / C | Memory Type | Fmt | ON / OFF | Inst | Format| Frame |
[m3vpss ] ————————————————————————————————————————————————————————————
[m3vpss ] 0 | 0 | 0, 0 | 1920 x 540 | 3840 / 3840 | NON-TILED | 0, 0 | 480 x 270 | 3840 / 0 | NON-TILED | PROGRESSIVE | ON | 0 | 420SP | OFF |
[m3vpss ] 1 | 1 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 2 | 2 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 3 | 3 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 0 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 4 | 4 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 5 | 5 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 6 | 6 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 7 | 7 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 270 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 8 | 8 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 9 | 9 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 10 | 10 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 11 | 11 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 540 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 12 | 12 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 0, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 13 | 13 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 480, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 14 | 14 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 960, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 15 | 15 | 0, 0 | 352 x 264 | 704 / 704 | NON-TILED | 1440, 810 | 480 x 270 | 3840 / 0 | NON-TILED | INTERLACE | ON | 0 | 422I | ON |
[m3vpss ] 
[m3vpss ] 
[m3vpss ] 49225: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 68 / 87 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 DispLatency (Min / Max) = ( 49 / 66 ) !!! 
[m3vpss ] 49225: DISPLAY DRV: HDDAC(BP0) : Q:[1323] Display:[2398], Repeat:[1077], DQ:[1321]
[m3vpss ] 49225: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 811, HDDAC(BP0) 810, DVO2(BP1) 810, SDDAC(SEC1) 1656 
[m3vpss ] 49225: SYSTEM : FREE SPACE : System Heap = 67048 B, Mbx = 10238 msgs) 
[m3vpss ] 49226: SYSTEM : FREE SPACE : SR0 Heap = 8683520 B (8 MB) 
[m3vpss ] 49226: SYSTEM : FREE SPACE : Frame Buffer = 161176448 B (153 MB) 
[m3vpss ] 49226: SYSTEM : FREE SPACE : Bitstream Buffer = 210763648 B (200 MB) 
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 8192
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 8188
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 134152192 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 3072
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 100663296 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 49229: SYSTEM : FREE SPACE : Tiler 8-bit = 134152192 B (127 MB) – TILER ON 
[m3vpss ] 49229: SYSTEM : FREE SPACE : Tiler 16-bit = 100663296 B (96 MB) – TILER ON 
[m3vpss ] 49229: DISPLAY: DVO2(BP1) : 59 fps, Latency (Min / Max) = ( 61 / 91 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 DispLatency (Min / Max) = ( 47 / 66 ) !!! 
[m3vpss ] 49229: DISPLAY DRV: DVO2(BP1) : Q:[1324] Display:[2394], Repeat:[1072], DQ:[1322]
[m3vpss ] 
[m3vpss ] 58230: LOAD: CPU: 8.2% HWI: 2.5%, SWI:0.8% 
[m3vpss ] 
[m3vpss ] 58230: LOAD: TSK: CAPTURE : 0.2% 
[m3vpss ] 58230: LOAD: TSK: DISPLAY0 : 0.3% 
[m3vpss ] 58230: LOAD: TSK: DISPLAY1 : 0.2% 
[m3vpss ] 58231: LOAD: TSK: SWMS0 : 1.6% 
[m3vpss ] 58231: LOAD: TSK: SWMS1 : 1.6% 
[m3vpss ] 58231: LOAD: TSK: MISC : 1.0% 
[m3vpss ] 
]
[m3video] 
[m3video] 58731: LOAD: CPU: 0.6% HWI: 0.3%, SWI:0.1% 
[m3video] 
[m3video] 58732: LOAD: TSK: MISC : 0.2% 
[m3video] 
[c6xdsp ] 
[c6xdsp ] 58614: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0% 
[c6xdsp ] 
[c6xdsp ] 58614: LOAD: TSK: MISC : 0.2% 
[c6xdsp ] 
[HOST] 
ThreadName:Demo_run,ThreadID:639

下面是我的Link代码

Void MultiCh_createVcapVdis()
{
CaptureLink_CreateParams capturePrm;
NsfLink_CreateParams nsfPrm;
DupLink_CreateParams dupPrm;
static SwMsLink_CreateParams swMsPrm[VDIS_DEV_MAX];
DisplayLink_CreateParams displayPrm[VDIS_DEV_MAX];

CaptureLink_VipInstParams *pCaptureInstPrm;
CaptureLink_OutParams *pCaptureOutPrm;

UInt32 grpxId[VDIS_DEV_MAX];
UInt32 nullId;
UInt32 mergeId, dupId;
UInt32 deiOutQue;

UInt32 vipInstId;
UInt32 i;
UInt32 numSubChains;
Bool enableSdtv;

//UInt32 numCaptureDevices;
//UInt32 deviceId;
//VCAP_DEVICE_CREATE_PARAM_S vidDecVideoModeArgs[NUM_CAPTURE_DEVICES];

for (i = 0; i < VDIS_DEV_MAX; i++)
{
MULTICH_INIT_STRUCT(DisplayLink_CreateParams,displayPrm[i]);
MULTICH_INIT_STRUCT(SwMsLink_CreateParams ,swMsPrm[i]);
}

MultiCh_detectBoard();

System_linkControl(
SYSTEM_LINK_ID_M3VPSS,
SYSTEM_M3VPSS_CMD_RESET_VIDEO_DEVICES,
NULL,
0,
TRUE
);

gVcapModuleContext.captureId = SYSTEM_LINK_ID_CAPTURE;
gVcapModuleContext.nsfId[0] = SYSTEM_LINK_ID_NSF_0;
gVcapModuleContext.deiId[0] = SYSTEM_LINK_ID_DEI_HQ_0;
gVcapModuleContext.deiId[1] = SYSTEM_LINK_ID_DEI_0;
gVcapModuleContext.nullSrcId = SYSTEM_VPSS_LINK_ID_NULL_SRC_0;
mergeId = SYSTEM_VPSS_LINK_ID_MERGE_0;
dupId = SYSTEM_VPSS_LINK_ID_DUP_0;

gVdisModuleContext.swMsId[0] = SYSTEM_LINK_ID_SW_MS_MULTI_INST_0;
gVdisModuleContext.swMsId[1] = SYSTEM_LINK_ID_SW_MS_MULTI_INST_1;

swMsPrm[0].numSwMsInst = 1;
swMsPrm[1].numSwMsInst = 1;
swMsPrm[0].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_SC5;
swMsPrm[1].swMsInstId[0] = SYSTEM_SW_MS_SC_INST_SC5;

gVdisModuleContext.displayId[0] = SYSTEM_LINK_ID_DISPLAY_0; // ON CHIP HDMI
gVdisModuleContext.displayId[1] = SYSTEM_LINK_ID_DISPLAY_1; // OFF CHIP HDMI
gVdisModuleContext.displayId[2] = SYSTEM_LINK_ID_DISPLAY_2; // OFF CHIP HDMI
grpxId[0] = SYSTEM_LINK_ID_GRPX_0;
grpxId[1] = SYSTEM_LINK_ID_GRPX_1;

#if 0 /* Enabling graphics only for ON CHIP HDMI an OFF CHIP HDMI*/
grpxId[2] = SYSTEM_LINK_ID_GRPX_2;
#endif
nullId = SYSTEM_VPSS_LINK_ID_NULL_0;
numSubChains = 2;
deiOutQue = DEI_LINK_OUT_QUE_VIP_SC;
enableSdtv = FALSE;

CaptureLink_CreateParams_Init(&capturePrm);

capturePrm.numVipInst = 1;
capturePrm.outQueParams[0].nextLink = gVcapModuleContext.nsfId[0];

capturePrm.tilerEnable = FALSE;
capturePrm.enableSdCrop = FALSE;

for(vipInstId=0; vipInstId<capturePrm.numVipInst; vipInstId++)
{
pCaptureInstPrm = &capturePrm.vipInst[vipInstId];
pCaptureInstPrm->vipInstId = (SYSTEM_CAPTURE_INST_VIP0_PORTA+vipInstId)%SYSTEM_CAPTURE_INST_MAX;
pCaptureInstPrm->videoDecoderId = SYSTEM_DEVICE_VID_DEC_CUSTOM_DRV;
pCaptureInstPrm->inDataFormat = SYSTEM_DF_RGB24_888;
pCaptureInstPrm->standard = SYSTEM_STD_1080P_60;
pCaptureInstPrm->numOutput = 1;
pCaptureInstPrm->videoCaptureMode = DEVICE_CAPT_VIDEO_CAPTURE_MODE_SINGLE_CH_NON_MUX_DISCRETE_SYNC_ACTVID_VSYNC;
pCaptureInstPrm->inScanFormat = SYSTEM_SF_PROGRESSIVE;
pCaptureInstPrm->videoIfMode = DEVICE_CAPT_VIDEO_IF_MODE_24BIT;

pCaptureInstPrm->advancedParams.disSyncHsyncPol = SYSTEM_VIP_POLARITY_HIGH;
pCaptureInstPrm->advancedParams.disSyncVsyncPol = SYSTEM_VIP_POLARITY_HIGH;
pCaptureInstPrm->advancedParams.disSyncActvidPol = SYSTEM_VIP_POLARITY_HIGH;

pCaptureOutPrm = &pCaptureInstPrm->outParams[0];
pCaptureOutPrm->dataFormat = SYSTEM_DF_YUV422I_YUYV;
pCaptureOutPrm->scEnable = FALSE;
pCaptureOutPrm->scOutWidth = 0;
pCaptureOutPrm->scOutHeight = 0;
pCaptureOutPrm->outQueId = 0;
}

NsfLink_CreateParams_Init(&nsfPrm);
nsfPrm.bypassNsf = FALSE;
nsfPrm.tilerEnable = FALSE;
nsfPrm.inQueParams.prevLinkId = gVcapModuleContext.captureId;
nsfPrm.inQueParams.prevLinkQueId = 0;
nsfPrm.numOutQue = 1;
nsfPrm.outQueParams[0].nextLink = dupId;

dupPrm.inQueParams.prevLinkId = gVcapModuleContext.nsfId[0];
dupPrm.inQueParams.prevLinkQueId = 0;
dupPrm.numOutQue = numSubChains;
dupPrm.outQueParams[0].nextLink = gVdisModuleContext.swMsId[0];
dupPrm.outQueParams[1].nextLink = gVdisModuleContext.swMsId[1];
dupPrm.notifyNextLink = TRUE;

for(i=0; i<numSubChains; i++)
{
swMsPrm[i].inQueParams.prevLinkId = dupId;
swMsPrm[i].inQueParams.prevLinkQueId = i;
swMsPrm[i].outQueParams.nextLink = gVdisModuleContext.displayId[i];
swMsPrm[i].maxInputQueLen = SYSTEM_SW_MS_DEFAULT_INPUT_QUE_LEN;
swMsPrm[i].maxOutRes = VSYS_STD_1080P_60;
swMsPrm[i].initOutRes = gVdisModuleContext.vdisConfig.deviceParams[i].resolution;
swMsPrm[i].lineSkipMode = TRUE;

swMsPrm[i].enableLayoutGridDraw = gVdisModuleContext.vdisConfig.enableLayoutGridDraw;

MultiCh_swMsGetDefaultLayoutPrm(0, &swMsPrm[i], FALSE); /* Since only live preview is there, show it on both displays */

displayPrm[i].inQueParams[0].prevLinkId = gVdisModuleContext.swMsId[i];
displayPrm[i].inQueParams[0].prevLinkQueId = 0;
displayPrm[i].displayRes = swMsPrm[i].initOutRes;
}

displayPrm[2].numInputQueues = 1;
displayPrm[2].activeQueue = 0;
displayPrm[2].inQueParams[0].prevLinkId = dupId;
displayPrm[2].inQueParams[0].prevLinkQueId = 2;
displayPrm[2].displayRes = gVdisModuleContext.vdisConfig.deviceParams[VDIS_DEV_SD].resolution;

capturePrm.isPalMode = Vcap_isPalMode();

System_linkCreate (gVcapModuleContext.captureId, &capturePrm, sizeof(capturePrm));
System_linkCreate(gVcapModuleContext.nsfId[0] , &nsfPrm, sizeof(nsfPrm));

System_linkCreate(dupId , &dupPrm , sizeof(dupPrm));

for(i=0; i<numSubChains; i++)
System_linkCreate(gVdisModuleContext.swMsId[i] , &swMsPrm[i], sizeof(swMsPrm[i]));

for(i=0; i<numSubChains; i++)
System_linkCreate(gVdisModuleContext.displayId[i], &displayPrm[i], sizeof(displayPrm[i]));

MultiCh_memPrintHeapStatus();

}

会是什么原因呢?

会不会布线有问题?

TI没有测试过?

Eason Wang:

建议你测量一下DVI芯片的输出时序是否是正确满足1080p的。 VIP RESET 通常是输入时序和采集的配置不匹配,或者输入信号意外中断等导致的。 

赞(0)
未经允许不得转载:TI中文支持网 » DM8168 evm+io 板卡采集DVI视频
分享到: 更多 (0)