我构建的link如下
修改完代码后,显示正常,但编码移植不能正常输出,调试信息输出如下:
MCFW Interlaced demo
0: SYSTEM: System Common Init in progress !!!
0: SYSTEM: IPC init in progress !!!
9: SYSTEM: Opening MsgQ Heap [IPC_MSGQ_MSG_HEAP] …
10: SYSTEM: Creating MsgQ [HOST_MSGQ] …
12: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] …
13: SYSTEM: Opening MsgQ [DSP_MSGQ] …
14: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] …
14: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] …
15: SYSTEM: Notify register to [DSP] line 0, event 12 … 16: SYSTEM: Notify register to [VIDEO-M3] line 0, event 12 … 16: SYSTEM: Notify register to [VPSS-M3] line 0, event 12 … 16: SYSTEM: IPC init DONE !!!
18: SYSTEM: Creating ListMP [HOST_IPC_OUT_28] in region 0 …
20: SYSTEM: Creating ListMP [HOST_IPC_IN_28] in region 0 …
21: SYSTEM: ListElem Shared Addr = 0x43b94e80
22: SYSTEM: Creating ListMP [HOST_IPC_OUT_29] in region 0 …
24: SYSTEM: Creating ListMP [HOST_IPC_IN_29] in region 0 …
25: SYSTEM: ListElem Shared Addr = 0x43bad780
27: SYSTEM: Creating ListMP [HOST_IPC_OUT_23] in region 0 …
29: SYSTEM: Creating ListMP [HOST_IPC_IN_23] in region 0 …
30: SYSTEM: ListElem Shared Addr = 0x43bc6080
31: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 …
33: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 …
35: SYSTEM: ListElem Shared Addr = 0x43be5680
36: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 …
38: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 …
39: SYSTEM: ListElem Shared Addr = 0x43c04c80
40: SYSTEM: System Common Init Done !!!
40: MCFW : CPU Revision [ES2.0] !!! 40: MCFW : Detected [UNKNOWN] Board !!! 40: MCFW : Base Board Revision [REV A] !!! [m3vpss ] 12282: CAPTURE: Create in progress !!!
[m3vpss ] 12311: CAPTURE: VIP0 PortA capture mode is [16-bit, Non-mux Embedded Sync] !!! [m3vpss ] CAPTURE::HEAPID:0 USED:192
[m3vpss ] 12437: CAPTURE: Create Done !!!
[m3vpss ] 12440: DUP : Create Done !!!
[m3vpss ] 12440: NSF: Create in progress !!!
[m3video] 12486: IPC_IN_M3 : Create in progress !!!
[m3video] 12486: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] …
[m3video] 12486: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] …
[m3vpss ] NSF::HEAPID:0 USED:128
[m3video] 12487: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] …
[m3vpss ] NSF::HEAPID:1 USED:4928
[m3video] 12488: IPC_IN_M3 : Create Done !!!
[m3vpss ] 12485: NSF: Create Done !!!
[m3vpss ] 12485: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 12486: IPC_OUT_M3 : Create Done !!!
[m3video] 12489: ENCODE: Create in progress … !!!
[m3video] 12552: ENCODE: Creating CH0 of 1920 x 540, pitch = (1920, 1920) [INTERLACED ] [NON-TILED ], bitrate = 2000 Kbps …
[host] IpcBitsInLink_tskMain:Entered
[host] 366: IPC_BITS_IN : Create in progress !!!
[host] 366: IPC_BITS_IN : ListMPOpen start !!!
[host] 366: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_28] …
368: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_28] …
[host] 369: IPC_BITS_IN : ListMPOpen done !!!
[host] 371: IPC_BITS_IN : System_linkGetInfo done !!!
[host] 371: IPC_BITS_IN : Create Done !!!
[m3vpss ] 12609: MERGE : Create Done !!!
[m3video] ENCLINK_H264:HEAPID:0 USED:128712
[m3vpss ] 12609: SWMS: Create in progress !!!
[m3video] 12599: ENCODE: All CH Create … DONE !!!
[m3video] ENCLINK:HEAPID:0 USED:128832
[m3video] 12601: ENCODE: Create … DONE !!!
[m3video] 12601: IPC_BITS_OUT : Create in progress !!!
[m3video] 12603: IPC_BITS_OUT : Create Done !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
[m3vpss ] SWMS: instance 0, sc id 1, start win 0 end win 17
[m3vpss ] 12736: SWMS : VipScReq is FALSE!!!
[m3vpss ] 13163: SWMS : Loading Up-scaling Co-effs … [m3vpss ] 13163: SWMS : Co-effs Loading … DONE !!!
[m3vpss ] 13163: SWMS : VipScReq is FALSE!!!
[host] APP_WRITER:SEND_streamFxn:Entered…WRITER_videoRecvFxn:0____________________________000
[host] APP_WRITER:WRITER_videoRecvFxn:Entered…WRITER_videoRecvFxn____________________________001
WRITER_initThrObj______________________111,thrObj->bufQFullBufs->count:0
[host] APP_WRITER:WRITER_recordFxn:Entered… [m3vpss ] 13166: SWMS : ******* Configuring clock 30 secs… [m3vpss ] [m3vpss ] *** [SWMS0] Mosaic Parameters *** [m3vpss ] [m3vpss ] Output FPS: 30
[m3vpss ] [m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | Low Cost | SWMS | Data |
[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 | ON / OFF | Inst | Format|
[m3vpss ] ————————————————————————————————————————————————————–
[m3vpss ] 0 | 0 | 0, 0 | 1920 x 540 | 3840 / 3840 | NON-TILED | 200, 40 | 1720 x 1040 | 3840 / 0 | NON-TILED | OFF | 0 | 422I |
[m3vpss ] [m3vpss ] 13168: SWMS: Create Done !!!
[m3vpss ] 13168: DISPLAY: Create in progress !!!
[m3vpss ] 13169: DISPLAY: Create Done !!!
[m3vpss ] 13172: DISPLAY: Start in progress !!!
[m3vpss ] [m3vpss ] *** UTILS: DM_TIMER[2] KHz = 27000 Khz ***
[m3vpss ] [m3vpss ] 13215: DISPLAY: Start Done !!!
[m3vpss ] 13215: DISPLAY: HDDAC(BP0) : 23 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) !!! [m3vpss ] 13215: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 0, HDDAC(BP0) 1, DVO2(BP1) 1, SDDAC(SEC1) 1 [m3vpss ] 13215: SYSTEM : Heap Free Space (System = 21248 bytes, SR0 = 14397312 bytes, FrmBuf = 341640064 bytes, [m3vpss ] BitBuf = 88200832 bytes, Mbx = 10239 msgs) [m3vpss ] 13216: SWMS: Start in Progress !!!
[m3vpss ] 13216: SWMS: Start Done !!!
[m3vpss ] 13218: CAPTURE: Start in progress !!!
[m3vpss ] 13218: CAPTURE: Start Done !!!
[m3vpss ] 13342: CAPTURE: Fields = 0 (fps = 0), Total Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 13358: SYSTEM: Opening MsgQ [DSP_MSGQ] …
[m3video] Channel:0 inputframerate:30 targetfps:30
麻烦各位做过的先哲,给个指点,谢谢!
Chenfeng Wang:
麻烦TI的老师给指点一下啊