This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Overflow detected on VIP1

Other Parts Discussed in Thread: TVP5158

I use DVR_RDK4.0 , My hardware is our custom dm8148(PG2.1) board, video souce is connect to 

VIP1 PORTA, my video input resolution is 1920x1080 .

I am able to run  VCAP_VDEC usecase and can see the normal video on the LCD device.

But  I can see the "Overflow detected on VIP1" message output when I run the usecae every times.

Q1: Is this "Overflow detected on VIP1" message normal? show run log as below.

Q2: How to anderstand the "TILER" , what tis the function?

//----------------------------------------------------------------------
// 4.0 SYSTEM_STD_1080P_30
//----------------------------------------------------------------------
=========
Main Menu
=========

0: VCAP + VDIS - NO Encode or Decode
1: 4CH VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
3: 16CH RT VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
5: VDEC + VDIS - SD/HD Decode ONLY


e: Exit

Enter Choice: 0

--------------- CHANNEL DETAILS-------------
Capture Channels => 1
Disp Channels => 1
-------------------------------------------
0: SYSTEM: System Common Init in progress !!!
0: SYSTEM: IPC init in progress !!!
13: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
13: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
13: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
13: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
13: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
16: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
17: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
19: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
20: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
21: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
22: SYSTEM: Notify register to [DSP] line 0, event 15 ...
23: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
23: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
24: SYSTEM: IPC init DONE !!!
25: SYSTEM: Creating ListMP [HOST_IPC_OUT_24] in region 0 ...
28: SYSTEM: Creating ListMP [HOST_IPC_IN_24] in region 0 ...
29: SYSTEM: ListElem Shared Addr = 0x4103fb00
30: SYSTEM: Creating ListMP [HOST_IPC_OUT_25] in region 0 ...
32: SYSTEM: Creating ListMP [HOST_IPC_IN_25] in region 0 ...
34: SYSTEM: ListElem Shared Addr = 0x41074d00
36: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
38: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
40: SYSTEM: ListElem Shared Addr = 0x410ecf80
41: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
43: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
45: SYSTEM: ListElem Shared Addr = 0x41130280
45: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
48: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
50: SYSTEM: ListElem Shared Addr = 0x41173000
72: SYSTEM: System Common Init Done !!!
76: MCFW : CPU Revision [ES2.1] !!!
[m3vpss ] 2411899: CAPTURE: Create in progress !!!
[m3vpss ] 2411937: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Discrete Sync - HSYNC_VSYNC] !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
[m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
[m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
[m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
[m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
[m3vpss ] CAPTURE::HEAPID:0 USED:328
[m3vpss ] CAPTURE::HEAPID:4 USED:45619200
[m3vpss ] 2412207: CAPTURE: Create Done !!!
[m3vpss ] 2412208: NSF: Create in progress !!!
[m3vpss ] NSF::HEAPID:0 USED:128
[m3vpss ] NSF::HEAPID:1 USED:4928
[m3vpss ] NSF::HEAPID:4 USED:18800640
[m3vpss ] 2412331: NSF: Create Done !!!
[m3vpss ] 2412332: SWMS: Create in progress !!!
[m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59)
[m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
[m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
[m3vpss ] 2412451: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
[m3vpss ] 2412451: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
[m3vpss ] 2412451: SWMS : Co-effs Loading ... DONE !!!
[m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[0]
[m3vpss ] 2412452: SWMS : ******* Configuring clock 30 secs...
[m3vpss ] 2412452: SWMS0 : Loading Vertical Co-effs (8/16)x ...
[m3vpss ] 2412453: SWMS0 : Loading Horizontal Co-effs (6/16)x ...
[m3vpss ] 2412453: SWMS : Co-effs Loading ... DONE !!!
[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 | 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 | 800 x 600 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
[m3vpss ]
[m3vpss ] SWMS:HEAPID:0 USED:224
[m3vpss ] SWMS:HEAPID:1 USED:47296
[m3vpss ] SWMS:HEAPID:4 USED:16588800
[m3vpss ] 2412455: SWMS: Create Done !!!
[m3vpss ] 2412455: DISPLAY: Create in progress !!!
[m3vpss ] 2412457: DISPLAY: Create Done !!!
[m3vpss ] 2412458: DISPLAY: Start in progress !!!
[m3vpss ] 2412532: DISPLAY: Start Done !!!
[m3vpss ] 2412532: DISPLAY: HDDAC(BP0) : 27 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 10737 / 0 ) !!!
[m3vpss ] 2412532: SWMS: Start in Progress !!!
[m3vpss ] 2412532: SWMS: Start Done !!!
[m3vpss ] 2412533: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
[m3vpss ] 2412533: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 0, HDDAC(BP0) 0, DVO2(BP1) 0, SDDAC(SEC1) 0
[m3vpss ] 2412533: SYSTEM : FREE SPACE : System Heap = 243920 B, Mbx = 10238 msgs)
[m3vpss ] 2412533: SYSTEM : FREE SPACE : SR0 Heap = 2158720 B (2 MB)
[m3vpss ] 2412533: SYSTEM : FREE SPACE : Frame Buffer = 32121728 B (30 MB)
[m3vpss ] 2412534: SYSTEM : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB)
[m3vpss ] TILER_STATS: CNT :8BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 16384 x 5440
=============

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>

c: Change 8CH modes (8CH usecase ONLY!!!!)
d: Change 16CH modes (16CH usecase ONLY!!!!)

i: Print detailed system information
s: Core Status: Active/In-active

e: Stop Demo

Enter Choice: [m3vpss ] TILER_STATS: BUCKET RESOLUTION: 16384 x 5436
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] 2412535: CAPTURE: Start in progress !!!
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 89063424 (99 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] TILER_STATS: CNT :16BIT
[m3vpss ] TILER_STATS: CNT RESOLUTION: 32768 x 1344
[m3vpss ] TILER_STATS: BUCKET RESOLUTION: 32768 x 1344
[m3vpss ] TILER_STATS: NUM FREE BUCKETS: 1
[m3vpss ] TILER_STATS: NUM USED BUCKETS: 0
[m3vpss ] TILER_STATS: TOTAL FREE AREA: 44040192 (100 %)
[m3vpss ] TILER_STATS: TOTAL USED AREA: 0 (0 %)
[m3vpss ] 2412536: SYSTEM : FREE SPACE : Tiler 8-bit = 89063424 B (84 MB) - TILER ON
[m3vpss ] 2412536: SYSTEM : FREE SPACE : Tiler 16-bit = 44040192 B (42 MB) - TILER ON
[m3vpss ] 2412635: CAPTURE: Enabled Time Stamping !!!
[m3vpss ] 2412637: CAPTURE: Start Done !!!
[m3vpss ] 2412654: CAPTURE: Overflow detected on VIP1, Total Resets = 1
[m3vpss ] 2412670: CAPTURE: Overflow detected on VIP1, Total Resets = 2
[m3vpss ] 2412686: CAPTURE: Overflow detected on VIP1, Total Resets = 3
[m3vpss ] 2412702: CAPTURE: Overflow detected on VIP1, Total Resets = 4
[m3vpss ] 2412718: CAPTURE: Overflow detected on VIP1, Total Resets = 5

  • Continuous VIP overflow is not expected. Share the logs of "i: Print detailed system information"

    Also provide this info:

    1. Are you enabling scaling in capture path.

    2. Are you enabling tiled output in capture

  • Hi Badri Narayanan , Thanks for your reply.

    1. No , I don't enable scaling in the capture path.

    2. Yes, I found the "SYSTEM_USE_TILER" was defined in the file system_debug.h . But i comment 

       the "SYSTEM_USE_TILER" , however, the overflow message remain output. 

    I press "i"  and the log as below.

    ------------------------------------------------------------------------------------------------------------------------------

    [m3vpss ]
    [m3vpss ] *** Capture Driver Advanced Statistics ***
    [m3vpss ]
    [m3vpss ] VIP Parser Reset Count : 5
    [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 ] 200 | 148 148 0 13 13 0 1869 / 1920 1080 / 1080 2 0 0/0 (0/0)
    [m3vpss ]
    [m3vpss ] VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
    [m3vpss ]
    [m3vpss ] *** Capture List Manager Advanced Statistics ***
    [m3vpss ]
    [m3vpss ] List Post Count : 1469
    [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 = 993, 996)
    [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 = 0x00020000
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] 18684: CAPTURE: Fields = 146 (fps = 12, CPU Load = 0)
    [m3vpss ] 18684: CAPTURE: Num Resets = 5 (Avg 7 ms per reset)
    [m3vpss ] 18684: SYSTEM : FREE SPACE : System Heap = 243920 B, Mbx = 10239 msgs)
    [m3vpss ] 18685: SYSTEM : FREE SPACE : SR0 Heap = 2160128 B (2 MB)
    [m3vpss ] 18685: SYSTEM : FREE SPACE : Frame Buffer = 32121728 B (30 MB)
    [m3vpss ] 18685: SYSTEM : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB)
    [m3vpss ] 18686: SYSTEM : FREE SPACE : Tiler Buffer = 127 B (0 MB) - TILER OFF
    [m3vpss ]
    [m3vpss ] *** [NSF0] NSF Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time : 12 secs
    [m3vpss ] Total Fields Processed : 146
    [m3vpss ] Total Fields FPS : 83 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 | 12 0 12 12 0 0
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] *** [SWMS0] Mosaic Statistics ***
    [m3vpss ]
    [m3vpss ] Elasped Time: 11 secs
    [m3vpss ]
    [m3vpss ] Output Request FPS : 35 fps (393 frames)
    [m3vpss ] Output Actual FPS : 35 fps (393 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 | 35 22 0 13 13 0 0 ( 0/255) 0 0 0 25 / 114 22 0
    [m3vpss ]
    [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 | 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 | 800 x 600 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ]
    [m3vpss ] 18691: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 63 / 89 ), Callback Interval (Min / Max) = ( 16 / 17 ) DropCount:0 DispLatency (Min / Max) = ( 49 / 83 ) !!!
    [m3vpss ] 18691: DISPLAY DRV: HDDAC(BP0) : Q:[395] Display:[714], Repeat:[321], DQ:[393]
    [m3vpss ] 18691: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 714, HDDAC(BP0) 0, DVO2(BP1) 714, SDDAC(SEC1) 1443
    [m3vpss ] 18691: SYSTEM : FREE SPACE : System Heap = 243920 B, Mbx = 10239 msgs)
    [m3vpss ] 18691: SYSTEM : FREE SPACE : SR0 Heap = 2160128 B (2 MB)
    [m3vpss ] 18691: SYSTEM : FREE SPACE : Frame Buffer = 32121728 B (30 MB)
    [m3vpss ] 18691: SYSTEM : FREE SPACE : Bitstream Buffer = 82837376 B (78 MB)
    [m3vpss ] 18692: SYSTEM : FREE SPACE : Tiler Buffer = 127 B (0 MB) - TILER OFF
    [m3vpss ]
    [m3vpss ] 27693: LOAD: CPU: 4.9% HWI: 1.0%, SWI:1.0%
    [m3vpss ]
    [m3vpss ] 27693: LOAD: TSK: CAPTURE : 0.3%
    [m3vpss ] 27693: LOAD: TSK: NSF0 : 0.2%
    [m3vpss ] 27693: LOAD: TSK: DISPLAY0 : 0.4%
    [m3vpss ] 27693: LOAD: TSK: SWMS0 : 0.7%
    [m3vpss ] 27693: LOAD: TSK: MISC : 1.3%
    [m3vpss ]
    [m3video]
    [m3video] 28194: LOAD: CPU: 0.7% HWI: 0.3%, SWI:0.2%
    [m3video]
    [m3video] 28194: LOAD: TSK: MISC : 0.2%
    [m3video]
    [c6xdsp ]
    [c6xdsp ] 27976: LOAD: CPU: 0.2% HWI: 0.0%, SWI:0.0%
    [c6xdsp ]
    [c6xdsp ] 27977: LOAD: TSK: MISC : 0.2%
    [c6xdsp ]

  • It looks like the signal input to the VIP is not stable. Frame rate and frame width are showing invalid values. This can cause overflow.

  • Hi Badri Narayanan

    Thanks for your reply.

    I agree with your comment .

    The framerate is right , 12f/s is my expected. I will check my video device signal.

    I am able to run VCAP_VENC_VDEC_VDIS usecase to test my borard, I have two question 

    need your help , mention as below.

    Q1: I can save the h.264 encode file in the A8 local and then use VLC media player to playback.

          I found the framerate is very fast then my video device. How to control the framerate when 

         write to h.264 file? 

    Q2: I notice that VIP capture maximum height is 1080 lines , if video resolution over 1080 lines ,

           VIP will split two step to capture one frame,  this is not design expect, how  to capture whole right video ?

  • hnwn allen said:

    Q1: I can save the h.264 encode file in the A8 local and then use VLC media player to playback.

          I found the framerate is very fast then my video device. How to control the framerate when 

         write to h.264 file? 

    If your input is 12 f/s you will have to configure the encLink correctly with frame rate info so that the encoder sets the frame rate field in VUI info. By default it may be playing out at 30 fps.

     

    hnwn allen said:

    Q2: I notice that VIP capture maximum height is 1080 lines , if video resolution over 1080 lines ,

           VIP will split two step to capture one frame,  this is not design expect, how  to capture whole right video ?

     What is the resolution you want to capture.

     

  • Hi Badri Narayanan

    Thanks for your reply.

    1. My video signal is from FPGA board, can generate maximum resolution is 1600x1200, 

    so I will 1capture 600x1200 video. But I don't have any good way to complete it .

    2. If I set enableOsd = TRUE to run VCAP_DENC_VDEC_VDIS usecase and found a issue,

        I paste the log as below.

    -------------------------------------------------------------------------------------------------------

    //-----------------------------------------------------------------------------------------------
    =========
    Main Menu
    =========

    0: VCAP + VDIS - NO Encode or Decode
    1: 4CH VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    3: 16CH RT VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    5: VDEC + VDIS - SD/HD Decode ONLY


    e: Exit

    Enter Choice: 1
    --------------- CHANNEL DETAILS-------------
    Capture Channels => 1
    Enc Channels => Primary 1, Secondary 0
    Dec Channels => 1
    Disp Channels => 1
    -------------------------------------------
    0: SYSTEM: System Common Init in progress !!!
    0: SYSTEM: IPC init in progress !!!
    20: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
    20: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
    20: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
    20: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
    20: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
    23: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    24: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
    26: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
    27: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    27: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    28: SYSTEM: Notify register to [DSP] line 0, event 15 ...
    29: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
    29: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
    30: SYSTEM: IPC init DONE !!!
    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 = 0x41046880
    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 = 0x4107ba80
    41: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
    43: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
    44: SYSTEM: ListElem Shared Addr = 0x410b0c80
    45: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
    47: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
    49: SYSTEM: ListElem Shared Addr = 0x410f3f80
    50: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
    52: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
    53: SYSTEM: ListElem Shared Addr = 0x41137280
    75: SYSTEM: System Common Init Done !!!

    ********* Entered usecase 4CH <814x> Enc/Dec OSD Enabled SCD Disabled

    107: MCFW : CPU Revision [ES2.1] !!!
    [m3vpss ] 8421: CAPTURE: Create in progress !!!
    [m3vpss ] 8459: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Discrete Sync - HSYNC_VSYNC] !!!
    [m3vpss ] CAPTURE:ALLOCINFO:FMT[1]/PITCH[3840]/HEIGHT[1080]/NUMBUFS[8]
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
    [m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
    [m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
    [m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
    [m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
    [m3vpss ] CAPTURE::HEAPID:0 USED:328
    [m3vpss ] CAPTURE::HEAPID:4 USED:37324800
    [m3vpss ] 8676: CAPTURE: Create Done !!!
    [m3vpss ] 8677: NSF: Create in progress !!!
    [m3video] 8762: IPC_IN_M3 : Create in progress !!!
    [m3video] 8762: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
    [m3video] 8763: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
    [m3vpss ] NSF::HEAPID:0 USED:128
    [m3video] 8766: IPC_IN_M3 : Create Done !!!
    [m3vpss ] NSF::HEAPID:1 USED:4928
    [m3vpss ] NSF::HEAPID:4 USED:12533760
    [m3vpss ] 8760: NSF: Create Done !!!
    [m3vpss ] 8760: IPC_OUT_M3 : Create in progress !!!
    [m3vpss ] 8761: IPC_OUT_M3 : Create Done !!!
    [m3video] 8767: common ALG : Create in progress !!!
    [m3video] 8781: ALG : Prev Link ID = 10000002 !!!
    [m3video] 8782: OSD: Opening algorithm ... !!!
    [m3video] 8798: OSD: Opening algorithm ... DONE !!!
    [m3video] UTILS: DMA: Allocated CH (TCC) = 51 (51)
    [m3video] UTILS: DMA: 0 of 8: Allocated PaRAM = 51 (0x49004660)
    [m3video] UTILS: DMA: 1 of 8: Allocated PaRAM = 479 (0x49007BE0)
    [m3video] UTILS: DMA: 2 of 8: Allocated PaRAM = 480 (0x49007C00)
    [m3video] UTILS: DMA: 3 of 8: Allocated PaRAM = 481 (0x49007C20)
    [m3video] UTILS: DMA: 4 of 8: Allocated PaRAM = 482 (0x49007C40)
    [m3video] UTILS: DMA: 5 of 8: Allocated PaRAM = 483 (0x49007C60)
    [m3video] UTILS: DMA: 6 of 8: Allocated PaRAM = 484 (0x49007C80)
    [m3video] UTILS: DMA: 7 of 8: Allocated PaRAM = 485 (0x49007CA0)

    [host] IpcBitsInLink_tskMain:Entered
    [host] 509: IPC_BITS_IN : Create in progress !!!

    [host] 509: IPC_BITS_IN : ListMPOpen start !!!

    [host] 509: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
    511: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...

    [host] 512: IPC_BITS_IN : ListMPOpen done !!!

    [host] 514: IPC_BITS_IN : System_linkGetInfo done !!!

    [host] 514: IPC_BITS_IN : Create Done !!!
    [m3video] ALGLINK:HEAPID:0 USED:16336
    [m3video] ALGLINK:HEAPID:3 USED:55296
    [m3video] 8801: common ALG : Create Done !!!
    [m3video] 8805: ENCODE: Create in progress ... !!!
    [m3video] ENCLINK:INFO: !!!Number of output buffers for ch[0] set to [1]
    [m3video] 8816: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 100 Kbps ...


    ========bitsProducerLinkInfo============
    numQ 1, numCh 1
    Ch [0] Width 1920, Height 1080

    ====================

    Reducing bitsProducerLinkInfo.numCh to 1

    [host] 515: IPC_BITS_OUT : Create in progress !!!

    [host] IPC_BITSOUT:BitBuffer Alloc.ChID:0,Size:0x7E9000
    [host]
    ******* RingBuf 0 created ********

    [host] IPCBITSOUTLINK:Translated Addr Virt:0x42724280 To Phy:0x900fd280
    [host]
    ###Bit buff of size from the SR # 1 : 8294400 / bufsize 2073600, maxQueueDepth 50

    [host] ###Bit buff BasePtr: 42724280 / PhyAddr 900FD280

    [host] 517: IPC_BITS_OUT : Create Done !!!
    [m3video] ENCLINK_JPEG:HEAPID:0 USED:3960
    [m3video] 8818: ENCODE: All CH Create ... DONE !!!
    [m3video] ENCLINK:HEAPID:0 USED:4000
    [m3video] ENCLINK:HEAPID:2 USED:1036800
    [m3video] 8819: ENCODE: Create ... DONE !!!
    [m3video] 8820: IPC_BITS_OUT : Create in progress !!!
    [m3video] 8822: IPC_BITS_OUT : Create Done !!!
    [m3video] 8831: IPC_BITS_IN : Create in progress !!!
    [m3video] 8831: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] ...
    [m3video] 8832: SYSTEM: Opening ListMP [HOST_IPC_IN_24] ...
    [m3video] 8833: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
    [m3video] 8835: IPC_BITS_IN : Create Done !!!
    [m3video] 8836: DECODE: Create in progress ... !!!
    [m3video] DECLINK:!!WARNING.FORCIBLY DISABLING TILER for all CHsince tiler is disabled at build time
    [m3video] DECLINK_JPEG:HEAPID:0 USED:12616
    [m3video] 8976: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
    [m3video] 8979: DECODE: All CH Create ... DONE !!!
    [m3vpss ] 8984: IPC_IN_M3 : Create in progress !!!
    [m3vpss ] 8984: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] ...
    [m3video] DECLINK:HEAPID:0 USED:12656
    [m3vpss ] 8984: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] ...
    [m3video] DECLINK:HEAPID:3 USED:21676032
    [m3vpss ] 8985: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    [m3video] 8981: DECODE: Create ... DONE !!!
    [m3vpss ] 8988: IPC_IN_M3 : Create Done !!!
    [m3video] 8982: IPC_OUT_M3 : Create in progress !!!
    [m3vpss ] 8989: SWMS: Create in progress !!!
    [m3video] 8983: IPC_OUT_M3 : Create Done !!!
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59)
    [m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
    [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
    [m3vpss ] 9216: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
    [m3vpss ] 9216: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
    [m3vpss ] 9216: SWMS : Co-effs Loading ... DONE !!!
    [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[0]
    [m3vpss ] 9217: SWMS : ******* Configuring clock 30 secs...
    [m3vpss ] 9217: SWMS0 : Loading Vertical Co-effs (8/16)x ...
    [m3vpss ] 9217: SWMS0 : Loading Horizontal Co-effs (6/16)x ...
    [m3vpss ] 9217: SWMS : Co-effs Loading ... DONE !!!
    [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 | 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 | 2048 / 2048 | NON-TILED | 0, 0 | 800 x 600 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ] SWMS:HEAPID:0 USED:224
    [m3vpss ] SWMS:HEAPID:1 USED:47296
    [m3vpss ] SWMS:HEAPID:4 USED:33177600
    [m3vpss ] 9219: SWMS: Create Done !!!
    [m3vpss ] 9220: DISPLAY: Create in progress !!!
    [m3vpss ] 9221: DISPLAY: Create Done !!!
    [m3vpss ] 9223: DISPLAY: Start in progress !!!
    [m3vpss ] 9291: DISPLAY: Start Done !!!
    [m3vpss ] 9291: DISPLAY: HDDAC(BP0) : 29 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 10737 / 0 ) !!!
    [m3vpss ] 9291: SWMS: Start in Progress !!!
    [m3vpss ] 9292: SWMS: Start Done !!!
    [m3vpss ] 9292: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
    [m3vpss ] 9292: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1, HDDAC(BP0) 0, DVO2(BP1) 1, SDDAC(SEC1) 0
    [m3vpss ] 9292: SYSTEM : FREE SPACE : System Heap = 243616 B, Mbx = 10239 msgs)
    [m3vpss ] 9292: SYSTEM : FREE SPACE : SR0 Heap = 18870144 B (17 MB)
    [m3vpss ] 9292: SYSTEM : FREE SPACE : Frame Buffer = 260021120 B (247 MB)
    [m3vpss ] 9293: SYSTEM : FREE SPACE : Bitstream Buffer = 207723904 B (198 MB)
    [m3vpss ] 9293: SYSTEM : FREE SPACE : Tiler Buffer = 127 B (0 MB) - TILER OFF
    [m3vpss ] 9294: CAPTURE: Start in progress !!!
    [m3vpss ] 9394: CAPTURE: Enabled Time Stamping !!!

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

    m: video mode
    n: snapshot mode
    k: capture photo
    j: start transfer
    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>

    c: Change 8CH modes (8CH usecase ONLY!!!!)
    d: Change 16CH modes (16CH usecase ONLY!!!!)

    i: Print detailed system information
    s: Core Status: Active/In-active

    e: Stop Demo

    Enter Choice: [m3vpss ] 9402: CAPTURE: Start Done !!!
    [m3vpss ] 9419: CAPTURE: Overflow detected on VIP1, Total Resets = 1
    [m3vpss ] 9435: CAPTURE: Overflow detected on VIP1, Total Resets = 2
    [m3video] 9543: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS faileddue to invalid cfg
    [m3vpss ] Config:DisplayID[0],ChID[-1]
    [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS faileddue to invalid cfg
    [m3vpss ] Config:DisplayID[0],ChID[-1]
    [m3video] 9623: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9703: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9783: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9863: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9943: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10023: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10103: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10183: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10263: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10343: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10423: OSD: ERROR during SWOSD_blendFrames() !!!



  • Hi Badri Narayanan

    Thanks for your reply.

    1. My video signal is from FPGA board, can generate maximum resolution is 1600x1200,

    so I will 1capture 600x1200 video. But I don't have any good way to complete it .

    2. If I set enableOsd = TRUE to run VCAP_DENC_VDEC_VDIS usecase and found a issue,

    I paste the log as below.

    -------------------------------------------------------------------------------------------------------

    //-----------------------------------------------------------------------------------------------
    =========
    Main Menu
    =========

    0: VCAP + VDIS - NO Encode or Decode
    1: 4CH VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    2: 8CH <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    3: 16CH RT VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    4: 16CH NRT <D1+CIF> VCAP + VENC + VDEC + VDIS - Progressive SD Encode + Decode
    5: VDEC + VDIS - SD/HD Decode ONLY


    e: Exit

    Enter Choice: 1
    --------------- CHANNEL DETAILS-------------
    Capture Channels => 1
    Enc Channels => Primary 1, Secondary 0
    Dec Channels => 1
    Disp Channels => 1
    -------------------------------------------
    0: SYSTEM: System Common Init in progress !!!
    0: SYSTEM: IPC init in progress !!!
    20: SYSTEM: CPU [DSP] syslink proc ID is [0] !!!
    20: SYSTEM: CPU [VIDEO-M3] syslink proc ID is [1] !!!
    20: SYSTEM: CPU [VPSS-M3] syslink proc ID is [2] !!!
    20: SYSTEM: CPU [HOST] syslink proc ID is [3] !!!
    20: SYSTEM: Creating MsgQ Heap [IPC_MSGQ_MSG_HEAP_3] ...
    23: SYSTEM: Creating MsgQ [HOST_MSGQ] ...
    24: SYSTEM: Creating MsgQ [HOST_ACK_MSGQ] ...
    26: SYSTEM: Opening MsgQ [DSP_MSGQ] ...
    27: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    27: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
    28: SYSTEM: Notify register to [DSP] line 0, event 15 ...
    29: SYSTEM: Notify register to [VIDEO-M3] line 0, event 15 ...
    29: SYSTEM: Notify register to [VPSS-M3] line 0, event 15 ...
    30: SYSTEM: IPC init DONE !!!
    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 = 0x41046880
    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 = 0x4107ba80
    41: SYSTEM: Creating ListMP [HOST_IPC_OUT_19] in region 0 ...
    43: SYSTEM: Creating ListMP [HOST_IPC_IN_19] in region 0 ...
    44: SYSTEM: ListElem Shared Addr = 0x410b0c80
    45: SYSTEM: Creating ListMP [HOST_IPC_OUT_20] in region 0 ...
    47: SYSTEM: Creating ListMP [HOST_IPC_IN_20] in region 0 ...
    49: SYSTEM: ListElem Shared Addr = 0x410f3f80
    50: SYSTEM: Creating ListMP [HOST_IPC_OUT_21] in region 0 ...
    52: SYSTEM: Creating ListMP [HOST_IPC_IN_21] in region 0 ...
    53: SYSTEM: ListElem Shared Addr = 0x41137280
    75: SYSTEM: System Common Init Done !!!

    ********* Entered usecase 4CH <814x> Enc/Dec OSD Enabled SCD Disabled

    107: MCFW : CPU Revision [ES2.1] !!!
    [m3vpss ] 8421: CAPTURE: Create in progress !!!
    [m3vpss ] 8459: CAPTURE: VIP1 PortA capture mode is [16-bit, Non-mux Discrete Sync - HSYNC_VSYNC] !!!
    [m3vpss ] CAPTURE:ALLOCINFO:FMT[1]/PITCH[3840]/HEIGHT[1080]/NUMBUFS[8]
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 58 (58)
    [m3vpss ] UTILS: DMA: 0 of 4: Allocated PaRAM = 58 (0x49004740)
    [m3vpss ] UTILS: DMA: 1 of 4: Allocated PaRAM = 64 (0x49004800)
    [m3vpss ] UTILS: DMA: 2 of 4: Allocated PaRAM = 65 (0x49004820)
    [m3vpss ] UTILS: DMA: 3 of 4: Allocated PaRAM = 66 (0x49004840)
    [m3vpss ] CAPTURE::HEAPID:0 USED:328
    [m3vpss ] CAPTURE::HEAPID:4 USED:37324800
    [m3vpss ] 8676: CAPTURE: Create Done !!!
    [m3vpss ] 8677: NSF: Create in progress !!!
    [m3video] 8762: IPC_IN_M3 : Create in progress !!!
    [m3video] 8762: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
    [m3video] 8763: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
    [m3vpss ] NSF::HEAPID:0 USED:128
    [m3video] 8766: IPC_IN_M3 : Create Done !!!
    [m3vpss ] NSF::HEAPID:1 USED:4928
    [m3vpss ] NSF::HEAPID:4 USED:12533760
    [m3vpss ] 8760: NSF: Create Done !!!
    [m3vpss ] 8760: IPC_OUT_M3 : Create in progress !!!
    [m3vpss ] 8761: IPC_OUT_M3 : Create Done !!!
    [m3video] 8767: common ALG : Create in progress !!!
    [m3video] 8781: ALG : Prev Link ID = 10000002 !!!
    [m3video] 8782: OSD: Opening algorithm ... !!!
    [m3video] 8798: OSD: Opening algorithm ... DONE !!!
    [m3video] UTILS: DMA: Allocated CH (TCC) = 51 (51)
    [m3video] UTILS: DMA: 0 of 8: Allocated PaRAM = 51 (0x49004660)
    [m3video] UTILS: DMA: 1 of 8: Allocated PaRAM = 479 (0x49007BE0)
    [m3video] UTILS: DMA: 2 of 8: Allocated PaRAM = 480 (0x49007C00)
    [m3video] UTILS: DMA: 3 of 8: Allocated PaRAM = 481 (0x49007C20)
    [m3video] UTILS: DMA: 4 of 8: Allocated PaRAM = 482 (0x49007C40)
    [m3video] UTILS: DMA: 5 of 8: Allocated PaRAM = 483 (0x49007C60)
    [m3video] UTILS: DMA: 6 of 8: Allocated PaRAM = 484 (0x49007C80)
    [m3video] UTILS: DMA: 7 of 8: Allocated PaRAM = 485 (0x49007CA0)

    [host] IpcBitsInLink_tskMain:Entered
    [host] 509: IPC_BITS_IN : Create in progress !!!

    [host] 509: IPC_BITS_IN : ListMPOpen start !!!

    [host] 509: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_24] ...
    511: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_24] ...

    [host] 512: IPC_BITS_IN : ListMPOpen done !!!

    [host] 514: IPC_BITS_IN : System_linkGetInfo done !!!

    [host] 514: IPC_BITS_IN : Create Done !!!
    [m3video] ALGLINK:HEAPID:0 USED:16336
    [m3video] ALGLINK:HEAPID:3 USED:55296
    [m3video] 8801: common ALG : Create Done !!!
    [m3video] 8805: ENCODE: Create in progress ... !!!
    [m3video] ENCLINK:INFO: !!!Number of output buffers for ch[0] set to [1]
    [m3video] 8816: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED ], bitrate = 100 Kbps ...


    ========bitsProducerLinkInfo============
    numQ 1, numCh 1
    Ch [0] Width 1920, Height 1080

    ====================

    Reducing bitsProducerLinkInfo.numCh to 1

    [host] 515: IPC_BITS_OUT : Create in progress !!!

    [host] IPC_BITSOUT:BitBuffer Alloc.ChID:0,Size:0x7E9000
    [host]
    ******* RingBuf 0 created ********

    [host] IPCBITSOUTLINK:Translated Addr Virt:0x42724280 To Phy:0x900fd280
    [host]
    ###Bit buff of size from the SR # 1 : 8294400 / bufsize 2073600, maxQueueDepth 50

    [host] ###Bit buff BasePtr: 42724280 / PhyAddr 900FD280

    [host] 517: IPC_BITS_OUT : Create Done !!!
    [m3video] ENCLINK_JPEG:HEAPID:0 USED:3960
    [m3video] 8818: ENCODE: All CH Create ... DONE !!!
    [m3video] ENCLINK:HEAPID:0 USED:4000
    [m3video] ENCLINK:HEAPID:2 USED:1036800
    [m3video] 8819: ENCODE: Create ... DONE !!!
    [m3video] 8820: IPC_BITS_OUT : Create in progress !!!
    [m3video] 8822: IPC_BITS_OUT : Create Done !!!
    [m3video] 8831: IPC_BITS_IN : Create in progress !!!
    [m3video] 8831: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] ...
    [m3video] 8832: SYSTEM: Opening ListMP [HOST_IPC_IN_24] ...
    [m3video] 8833: SYSTEM: Opening MsgQ [HOST_MSGQ] ...
    [m3video] 8835: IPC_BITS_IN : Create Done !!!
    [m3video] 8836: DECODE: Create in progress ... !!!
    [m3video] DECLINK:!!WARNING.FORCIBLY DISABLING TILER for all CHsince tiler is disabled at build time
    [m3video] DECLINK_JPEG:HEAPID:0 USED:12616
    [m3video] 8976: DECODE: Creating CH0 of 1920 x 1080 [PROGRESSIVE] [NON-TILED ],target bitrate = 2000 Kbps ...
    [m3video] 8979: DECODE: All CH Create ... DONE !!!
    [m3vpss ] 8984: IPC_IN_M3 : Create in progress !!!
    [m3vpss ] 8984: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] ...
    [m3video] DECLINK:HEAPID:0 USED:12656
    [m3vpss ] 8984: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] ...
    [m3video] DECLINK:HEAPID:3 USED:21676032
    [m3vpss ] 8985: SYSTEM: Opening MsgQ [VIDEO-M3_MSGQ] ...
    [m3video] 8981: DECODE: Create ... DONE !!!
    [m3vpss ] 8988: IPC_IN_M3 : Create Done !!!
    [m3video] 8982: IPC_OUT_M3 : Create in progress !!!
    [m3vpss ] 8989: SWMS: Create in progress !!!
    [m3video] 8983: IPC_OUT_M3 : Create Done !!!
    [m3vpss ] UTILS: DMA: Allocated CH (TCC) = 59 (59)
    [m3vpss ] UTILS: DMA: 0 of 1: Allocated PaRAM = 59 (0x49004760)
    [m3vpss ] SWMS: instance 0, sc id 5, start win 0 end win 17
    [m3vpss ] 9216: SWMS0 : Loading Vertical Co-effs (UPSCALE)x ...
    [m3vpss ] 9216: SWMS0 : Loading Horizontal Co-effs (UPSCALE)x ...
    [m3vpss ] 9216: SWMS : Co-effs Loading ... DONE !!!
    [m3vpss ] AVSYNC:WARNING!! Application wrongly configureddisplayID[-1]. Reseting to correct displayID[0]
    [m3vpss ] 9217: SWMS : ******* Configuring clock 30 secs...
    [m3vpss ] 9217: SWMS0 : Loading Vertical Co-effs (8/16)x ...
    [m3vpss ] 9217: SWMS0 : Loading Horizontal Co-effs (6/16)x ...
    [m3vpss ] 9217: SWMS : Co-effs Loading ... DONE !!!
    [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 | 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 | 2048 / 2048 | NON-TILED | 0, 0 | 800 x 600 | 3840 / 0 | NON-TILED | OFF | 0 | 420SP | OFF |
    [m3vpss ]
    [m3vpss ] SWMS:HEAPID:0 USED:224
    [m3vpss ] SWMS:HEAPID:1 USED:47296
    [m3vpss ] SWMS:HEAPID:4 USED:33177600
    [m3vpss ] 9219: SWMS: Create Done !!!
    [m3vpss ] 9220: DISPLAY: Create in progress !!!
    [m3vpss ] 9221: DISPLAY: Create Done !!!
    [m3vpss ] 9223: DISPLAY: Start in progress !!!
    [m3vpss ] 9291: DISPLAY: Start Done !!!
    [m3vpss ] 9291: DISPLAY: HDDAC(BP0) : 29 fps, Latency (Min / Max) = ( 255 / 0 ), Callback Interval (Min / Max) = ( 255 / 0 ) DropCount:0 DispLatency (Min / Max) = ( 10737 / 0 ) !!!
    [m3vpss ] 9291: SWMS: Start in Progress !!!
    [m3vpss ] 9292: SWMS: Start Done !!!
    [m3vpss ] 9292: DISPLAY DRV: HDDAC(BP0) : Q:[2] Display:[2], Repeat:[1], DQ:[0]
    [m3vpss ] 9292: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 1, HDDAC(BP0) 0, DVO2(BP1) 1, SDDAC(SEC1) 0
    [m3vpss ] 9292: SYSTEM : FREE SPACE : System Heap = 243616 B, Mbx = 10239 msgs)
    [m3vpss ] 9292: SYSTEM : FREE SPACE : SR0 Heap = 18870144 B (17 MB)
    [m3vpss ] 9292: SYSTEM : FREE SPACE : Frame Buffer = 260021120 B (247 MB)
    [m3vpss ] 9293: SYSTEM : FREE SPACE : Bitstream Buffer = 207723904 B (198 MB)
    [m3vpss ] 9293: SYSTEM : FREE SPACE : Tiler Buffer = 127 B (0 MB) - TILER OFF
    [m3vpss ] 9294: CAPTURE: Start in progress !!!
    [m3vpss ] 9394: CAPTURE: Enabled Time Stamping !!!

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

    m: video mode
    n: snapshot mode
    k: capture photo
    j: start transfer
    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>

    c: Change 8CH modes (8CH usecase ONLY!!!!)
    d: Change 16CH modes (16CH usecase ONLY!!!!)

    i: Print detailed system information
    s: Core Status: Active/In-active

    e: Stop Demo

    Enter Choice: [m3vpss ] 9402: CAPTURE: Start Done !!!
    [m3vpss ] 9419: CAPTURE: Overflow detected on VIP1, Total Resets = 1
    [m3vpss ] 9435: CAPTURE: Overflow detected on VIP1, Total Resets = 2
    [m3video] 9543: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS faileddue to invalid cfg
    [m3vpss ] Config:DisplayID[0],ChID[-1]
    [m3vpss ] AVSYNC:AVSYNC_LINK_CMD_SET_FIRST_VIDPTS faileddue to invalid cfg
    [m3vpss ] Config:DisplayID[0],ChID[-1]
    [m3video] 9623: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9703: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9783: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9863: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 9943: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10023: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10103: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10183: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10263: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10343: OSD: ERROR during SWOSD_blendFrames() !!!
    [m3video] 10423: OSD: ERROR during SWOSD_blendFrames() !!!

  • Hi Badri Narayanan

    1. I changed OSD alg to use c6xdsp and found the OSD function work normal. 

    2. VIP captue 1600x1200 resolution is my expected , would you give me some

        suggestion?

  • hnwn allen said:
    1. I changed OSD alg to use c6xdsp and found the OSD function work normal. 

    We haven't validated VCOP based OSD on 1080P input frame so your change is correct and pls continue to use DSP based OSD.

    hnwn allen said:

    2. VIP captue 1600x1200 resolution is my expected , would you give me some

        suggestion?

    1600 x 1200 is supported in VIP as long as the correct synch signal are provided externally. What is the issue you are facing when capturing this resolution. make sure the captureLink VIP maxHeight is set to unlimited.

     

     

  • Hi Badri Narayanan

    Thanks for your reply.

    For 1600x1200 resolution, your mention is right , I am able to capture this resolution
    video and display look normal.

    My issue mention as below.

    If my video device enter triger mode, this mode is no hsync & vsync,
    video device will wait for receve command to triger. once receive
    triger command, video device will generate one frame image signal.
    At this case, I found the first frame isn't display, the second frame
    display is the before frame, and so on. this look like always has one
    frame in the buffer queue, this is not my expected.

    When the video device at triger mode, my expected is display
    the image frame immediately, frame by frame, not buffering.


    Best Regards

  • Hi Badri Narayanan

    I forget to tell you one thing.

    If my video device resolution is 1920x1080, when it enter triger mode, 

    I don't found display delay one frame issue, the usecase work fine.

    Best Regards.

  • Hi Badri Narayanan

    How to resolve this issue? 

    Would you give some suggestion?

    I look forward to see you reply .

    Best Regards.

    allen

  • I checked with HDVPSS expert Brijesh and there is nothing in VIP or VPDMA which is resolution specific, it just captures when we give the frame from the external video decoder. So check this from the  external video decoder/FPGA on why behavior is different when doing 1600x1200 capture.