hi, i'm doing the mosaic test, the evm have only 1 channel input,
i'm config it at 1080p60, i config it 2x2 mosaic(dup 1 channel into 4 channel),
now mosaic and display run success:
but when mosaic and encode , it failed, i debug the vpss: the swms have input, but not output to nsf,
i think the avsync not config well.
(in 'multich_vcap_vdis.c', if remove define ENABLE_ENCODE_TEST, the display run well.
if add ENABLE_ENCODE_TEST, it change to encode and failed.)
the Vsys_printDetailedStatistics() print info:
Vsys_printDetailedStatistics()===================================================
[m3vpss ]
[m3vpss ] *** Capture Driver Advanced Statistics ***
[m3vpss ]
[m3vpss ] *** [NSF0] NSF Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time : 11 secs
[m3vpss ] Total Fields Processed : 0
[m3vpss ] Total Fields FPS : 0 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 ] 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 | 927 927 0 61 61 0 1920 / 1920 1080 / 1080 916 0 0/0 (0/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 : 1933
[m3vpss ] List Stall Count : 0
[m3vpss ] List Post Time (ms) : Max = 0, Min = 0, Avg = 0, Total = 0
[m3vpss ] INTC Timeout Count : (0, 0) (Min timeout value = 990, 1000)
[m3vpss ] Descriptor miss found count : 0
[m3vpss ]
[m3vpss ]
[m3vpss ] VIP and VPDMA registers,
[m3vpss ] VIP0 : FIQ_STATUS : 0x4810551c = 0x00000000
[m3vpss ] VIP1 : FIQ_STATUS : 0x48105a1c = 0x00000000
[m3vpss ] VPDMA: LIST_BUSY : 0x4810d00c = 0x00000000
[m3vpss ]
[m3vpss ]
[m3vpss ] 151666: CAPTURE: Fields = 11 (fps = 0, CPU Load = 0)
[m3vpss ] 151666: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
[m3vpss ] 151666: SYSTEM : FREE SPACE : System Heap = 51136 B, Mbx = 10240 msgs)
[m3vpss ] 151666: SYSTEM : FREE SPACE : SR0 Heap = 9367296 B (8 MB)
[m3vpss ] 151666: SYSTEM : FREE SPACE : Frame Buffer = 155720064 B (148 MB)
[m3vpss ] 151667: SYSTEM : FREE SPACE : Bitstream Buffer = 205591424 B (196 MB)
[m3vpss ] 151667: SYSTEM : FREE SPACE : Tiler Buffer = 256 B (0 MB) - TILER OFF
[m3vpss ]
[m3vpss ] *** [SWMS0] Mosaic Statistics ***
[m3vpss ]
[m3vpss ] Elasped Time: 11 secs
[m3vpss ]
[m3vpss ] Output Request FPS : 69 fps (766 frames)
[m3vpss ] Output Actual FPS : 0 fps (0 frames)
[m3vpss ] Output Drop FPS : 69 fps (766 frames)
[m3vpss ] Output Reject FPS : 0 fps (0 frames)
[m3vpss ] Scaling Internal : 14 ms
[m3vpss ] Scaling Internal min : 11 ms
[m3vpss ] Scaling Internal max : 15 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 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 0 0
[m3vpss ] 1 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 0 0
[m3vpss ] 2 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 0 0
[m3vpss ] 3 | 0 0 0 0 0 0 0 ( 0/255) 0 0 0 65535 / 0 0 0
[m3vpss ]
[m3vpss ]
[m3vpss ] *** [SWMS0] Mosaic Parameters ***
[m3vpss ]
[m3vpss ] Output FPS: 60
[m3vpss ]
[m3vpss ] Win | Ch | Input | Input | Input | Input | Output | Output | Output | Output | 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 | ON / OFF | Inst | Format| Frame |
[m3vpss ] ----------------------------------------------------------------------------------------------------------------------------------------------------------------------
[m3vpss ] 0 | 0 | 0, 0 | 1920 x 1080 | 1920 / 1920 | NON-TILED | 0, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | ON |
[m3vpss ] 1 | 1 | 0, 0 | 1920 x 1080 | 1920 / 1920 | NON-TILED | 960, 0 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | ON |
[m3vpss ] 2 | 2 | 0, 0 | 1920 x 1080 | 1920 / 1920 | NON-TILED | 0, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | ON |
[m3vpss ] 3 | 3 | 0, 0 | 1920 x 1080 | 1920 / 1920 | NON-TILED | 960, 540 | 960 x 540 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | ON |
[m3vpss ]
[m3vpss ]
[m3video] 157669: HDVICP-ID:0
[m3video] All percentage figures are based off totalElapsedTime
[m3video] totalAcquire2wait :0 %
[m3video] totalWait2Isr :0 %
[m3video] totalIsr2Done :0 %
[m3video] totalWait2Done :0 %
[m3video] totalDone2Release :0 %
[m3video] totalAcquire2Release :0 %
[m3video] totalAcq2acqDelay :0 %
[m3video] totalElapsedTime in msec : 0
[m3video] numAccessCnt: 0
[m3video] IVA-FPS : 0
[m3video] Average time spent per frame in microsec: 0
[m3video] 157670: HDVICP-ID:1
[m3video] All percentage figures are based off totalElapsedTime
[m3video] totalAcquire2wait :0 %
[m3video] totalWait2Isr :0 %
[m3video] totalIsr2Done :0 %
[m3video] totalWait2Done :0 %
[m3video] totalDone2Release :0 %
[m3video] totalAcquire2Release :0 %
[m3video] totalAcq2acqDelay :0 %
[m3video] totalElapsedTime in msec : 0
[m3video] numAccessCnt: 0
[m3video] IVA-FPS : 0
[m3video] Average time spent per frame in microsec: 0
[m3video] 157671: HDVICP-ID:2
[m3video] All percentage figures are based off totalElapsedTime
[m3video] totalAcquire2wait :0 %
[m3video] totalWait2Isr :0 %
[m3video] totalIsr2Done :0 %
[m3video] totalWait2Done :0 %
[m3video] totalDone2Release :0 %
[m3video] totalAcquire2Release :0 %
[m3video] totalAcq2acqDelay :0 %
[m3video] totalElapsedTime in msec : 0
[m3video] numAccessCnt: 0
[m3video] IVA-FPS : 0
[m3video] Average time spent per frame in microsec: 0
[m3video]
[m3video] *** ENCODE Statistics ***
[m3video]
[m3video] Elasped Time : 11 secs
[m3video]
[m3video]
[m3video] CH | In Recv In Skip In User Out Latency
[m3video] Num | FPS FPS Skip FPS FPS Min / Max
[m3video] --------------------------------------------
[m3video] 0 | 0 0 0 0 255 / 0
[m3video]
[m3video] Multi Channel Encode Average Submit Batch Size
[m3video] Max Submit Batch Size : 24
[m3video] IVAHD_0 Average Batch Size : 0
[m3video] IVAHD_0 Max achieved Batch Size : 0
[m3video] IVAHD_1 Average Batch Size : 0
[m3video] IVAHD_1 Max achieved Batch Size : 0
[m3video] IVAHD_2 Average Batch Size : 0
[m3video] IVAHD_2 Max achieved Batch Size : 0
[m3video]
[m3video] Multi Channel Encode Batch break Stats
[m3video] Total Number of Batches created: 0
[m3video] All numbers are based off total number of Batches created
[m3video] Batch breaks due to batch sizeexceeding limit: 0 %
[m3video] Batch breaks due to ReqObj Que being empty: 0 %
[m3video] Batch breaks due to changed resolution class: 0 %
[m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
[m3video] Batch breaks due to channel repeat: 0 %
[m3video] Batch breaks due to different codec: 0 %
[m3video] Total Number of Batches created: 0
[m3video] All numbers are based off total number of Batches created
[m3video] Batch breaks due to batch sizeexceeding limit: 0 %
[m3video] Batch breaks due to ReqObj Que being empty: 0 %
[m3video] Batch breaks due to changed resolution class: 0 %
[m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
[m3video] Batch breaks due to channel repeat: 0 %
[m3video] Batch breaks due to different codec: 0 %
[m3video] Total Number of Batches created: 0
[m3video] All numbers are based off total number of Batches created
[m3video] Batch breaks due to batch sizeexceeding limit: 0 %
[m3video] Batch breaks due to ReqObj Que being empty: 0 %
[m3video] Batch breaks due to changed resolution class: 0 %
[m3video] Batch breaks due to interlace and progressivecontent mix: 0 %
[m3video] Batch breaks due to channel repeat: 0 %
[m3video] Batch breaks due to different codec: 0 %
[m3vpss ]
[m3vpss ] 159675: LOAD: CPU: 2.6% HWI: 0.4%, SWI:0.8%
[m3vpss ]
[m3vpss ] 159675: LOAD: TSK: CAPTURE : 0.2%
[m3vpss ] 159675: LOAD: TSK: SWMS0 : 0.1%
[m3vpss ] 159675: LOAD: TSK: MISC : 1.1%
[m3vpss ]
[m3vpss ] watchdog of vpss---.
[m3video]
[m3video] 160176: LOAD: CPU: 1.2% HWI: 0.2%, SWI:0.4%
[m3video]
[m3video] 160176: LOAD: TSK: IPC_IN_M30 : 0.1%
[m3video] 160176: LOAD: TSK: ENC0 : 0.3%
[m3video] 160176: LOAD: TSK: MISC : 0.2%
[m3video]
[c6xdsp ]
[c6xdsp ] 158097: LOAD: CPU: 0.1% HWI: 0.0%, SWI:0.0%
[c6xdsp ]
[c6xdsp ] 158097: LOAD: TSK: MISC : 0.1%
[c6xdsp ]
can someone give a idea? thanks.