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.

question about Vsys_printDetailedStatistics()

Dear Friends,
  I have question about statistics

Q1. in case A, what are "In Reject FPS", "Out[0] FPS", "Out[1] FPS", "Out[2] FPS", "Out[3] FPS", "Out[4] FPS", "Skip Out[0] FPS",
    "Skip Out[1] FPS", "Skip Out[2] FPS", "Skip Out[3] FPS", "Skip Out[4] FPS", "User Out[0] Skip FPS", "User Out[1] Skip FPS",
    "User Out[2] Skip FPS", "User Out[3] Skip FPS", "User Out[4] Skip FPS" ?

case A
 [m3vpss ]  *** [DEI0    ] DEI Statistics ***
 [m3vpss ] 
 [m3vpss ]  Elasped Time           : 127 secs
 [m3vpss ]  Total Fields Processed : 60498
 [m3vpss ]  Total Fields FPS       : 777 FPS
 [m3vpss ] 
 [m3vpss ] 
 [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency  
 [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
 [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 [m3vpss ]    0 |      59         0         59      0     25     23      0      0          59           4           6           0           0           0           0           0           0           0   5 /  22
 

Q2. in case B, what are "User Skip FPS", "Process Skip FPS"?

case B
 [c6xdsp ]  *** SCD Statistics ***
 [c6xdsp ] 
 [c6xdsp ]  Elasped Time           : 131 secs
 [c6xdsp ]  Total Fields Processed : 3303
 [c6xdsp ]  Total Fields FPS       : 25 FPS
 [c6xdsp ] 
 [c6xdsp ] 
 [c6xdsp ]  CH  | In Recv   In Process   User Skip   Process Skip  In Process Time
 [c6xdsp ]  Num | FPS       FPS          FPS         FPS           per frame (usec)
 [c6xdsp ]  ----------------------------------------------------------------
 [c6xdsp ]    0 |      23          1       21           0          2005

  • DEI has 5 output queues and numbered 0 - 4.Each queue has the following  statistics

    "In Reject FPS" - Number of frames rejected due to FID mismatch.DEI expects feidls to be in order E 0 E 0 .. If fields come out of order like E E 0 0 , then out of order fields will be rejected.

    Out[x] FPS: - Output FPS on DEI output queue X

    Skip Out[x] FPS - Output frames skipped due to output buffer not available.

    User Out Skip [x] FPS - Output frames skipped due to user configuration. If user sets input fps = 60 and output fps = 30 every alternate frame will be "user" skipped

    In SCD

    User Skip FPS - Similar to DEI User Out Skip FPS

    Process Skip FPS - Similar to DEI Skip Out FPS

  • Dear Friends,
      Thanks for your reply.
     
      By your speaking, in case B, 21 may be cuased by different input/output frame rate settings like 30/2, right?

  • Yes that is correct. Note that the Vsys_printDetailedStatistics() should be invoked twice with 1 atleast mins difference to confirm statistics are stable over mulitple calls.

  • Dear Badri,
      Thanks for your reply.
     
      And why "Vsys_printDetailedStatistics() should be invoked twice with 1 at least mins difference ..."?
      do you mean that the function "Vsys_printDetailedStatistics()" have uncertain unstable question inside?

  • Vsys_printDetailedStatistics calucaltes average fps by counting time elapsed and number of frames processed. It takes some time for system to stabilize as initially links are created and processinghas not reached steady state.So Vsys_printDetailedStatistics should be invoked twice to initially reset the stats after system has stabilized and is in steady state.

  • Hi Badri,
       About the above messages in case of multich_progressive_vcap_venc_vdec_vdis.c,

       Q1. how do we know the fps for each DEI_SC/VIP_SC port in DEI module?

       Q2. how do we know the fps for each output port of CIF_DUP_LINK?

  •    Q1. how do we know the fps for each DEI_SC/VIP_SC port in DEI module?

             In Vsys_printDetailedStatistics in DEI Statistics

        - Out[0] FPS - DEI_SC FPS

        - Out[1] FPS - VIP_SC FPS

      Q2. how do we know the fps for each output port of CIF_DUP_LINK?

       - Dup link input fps will be same as output fps. You have to check the fps in the next link in the chain.

  • Hi Badri,
    Thanks for your reply.

    I have more question as below

    Q1. In our case as below, and we just use two queues for VIP_SC. does it mean DEI_SC is still working(because I see Skip FPS)? if yes, how did we close it or disable?

     [m3vpss ]  *** [DEI0    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 639 secs
     [m3vpss ]  Total Fields Processed : 305824
     [m3vpss ]  Total Fields FPS       : 726 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     25     24      0      0          59           4           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    1 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    2 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  19
     [m3vpss ]    3 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    4 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    5 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    6 |      59         0         59      0     23     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    7 |      59         0         59      0     24     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  18


    Q2. how do we know the fps for each output port of CIF_DUP_LINK?
       - Dup link input fps will be same as output fps. You have to check the fps in the next link in the chain.

       in case of multich_progressive_vcap_venc_vdec_vdis.c, CIF_DUP_LINK -> IPC FrameOut -> IPC FrameIn -> SCD.

       we can say the following statistics is for the above link. Right?
       [m3vpss ]  *** IpcFramesOutRTOS Statistics ***


       if yes, how do we know the fps of link like  "IPC FrameOut -> IPC FrameIn -> EncLink"?
       is it the following?
       [m3video]  *** ENCODE Statistics *** 

     

       hereunder are our full log

     Enter Choice: videoSourceStatus.numChannels 16
     DEMO:  0: Detected video at CH [0,0] (720x240@59Hz, 1)!!!
     DEMO:  1: Detected video at CH [0,1] (720x240@59Hz, 1)!!!
     DEMO:  2: Detected video at CH [0,2] (720x240@59Hz, 1)!!!
     DEMO:  3: Detected video at CH [0,3] (720x240@59Hz, 1)!!!
     DEMO:  4: Detected video at CH [1,0] (720x240@59Hz, 1)!!!
     DEMO:  5: Detected video at CH [1,1] (720x240@59Hz, 1)!!!
     DEMO:  6: Detected video at CH [1,2] (720x240@59Hz, 1)!!!
     DEMO:  7: Detected video at CH [1,3] (720x240@59Hz, 1)!!!
     DEMO:  8: Detected video at CH [2,0] (720x240@59Hz, 1)!!!
     DEMO:  9: Detected video at CH [2,1] (720x240@59Hz, 1)!!!
     DEMO: 10: Detected video at CH [2,2] (720x240@59Hz, 1)!!!
     DEMO: 11: Detected video at CH [2,3] (720x240@59Hz, 1)!!!
     DEMO: 12: Detected video at CH [3,0] (720x240@59Hz, 1)!!!
     DEMO: 13: Detected video at CH [3,1] (720x240@59Hz, 1)!!!
     DEMO: 14: Detected video at CH [3,2] (720x240@59Hz, 1)!!!
     DEMO: 15: Detected video at CH [3,3] (720x240@59Hz, 1)!!!

     [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 |   38112   19057   19055     60    30    30  720 /  720  243 /  244       1          1 0/0 (0/0)
     [m3vpss ]  001 |   38112   19057   19055     60    30    30  720 /  720  243 /  244       1          3 0/0 (7/0)
     [m3vpss ]  002 |   38112   19058   19054     60    30    30  720 /  720  243 /  244       1          5 0/0 (11/0)
     [m3vpss ]  003 |   38112   19057   19055     60    30    30  720 /  720  243 /  244       1          1 0/0 (8/0)
     [m3vpss ]  100 |   38112   19057   19055     60    30    30  720 /  720  243 /  244       1          1 0/0 (2/0)
     [m3vpss ]  101 |   38113   19057   19056     60    30    30  720 /  720  243 /  244       1          7 0/0 (6/0)
     [m3vpss ]  102 |   38113   19059   19054     60    30    30  720 /  720  243 /  244       1          9 0/0 (17/0)
     [m3vpss ]  103 |   38113   19055   19058     60    30    30  720 /  720  243 /  244       1          5 0/0 (24/0)
     [m3vpss ]  200 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          0 0/0 (4/0)
     [m3vpss ]  201 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          2 0/0 (7/0)
     [m3vpss ]  202 |   38112   19058   19054     60    30    30  720 /  720  243 /  244       1          4 0/0 (14/0)
     [m3vpss ]  203 |   38112   19057   19055     60    30    30  720 /  720  243 /  244       1          6 0/0 (24/0)
     [m3vpss ]  300 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          0 0/0 (0/0)
     [m3vpss ]  301 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          0 0/0 (4/0)
     [m3vpss ]  302 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          0 0/0 (7/0)
     [m3vpss ]  303 |   38112   19056   19056     60    30    30  720 /  720  243 /  244       1          4 0/0 (11/0)
     [m3vpss ]
     [m3vpss ]  VIP Capture Port 0 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 1 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 2 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]  VIP Capture Port 3 | DescMissMatch1 = 0, DescMissMatch2 = 0 , DescMissMatch3 = 0
     [m3vpss ]
     [m3vpss ]  *** Capture List Manager Advanced Statistics ***
     [m3vpss ]
     [m3vpss ]  List Post Count        : 317806
     [m3vpss ]  List Stall Count       : 0
     [m3vpss ]  List Post Time (ms)    : Max = 1, Min = 0, Avg = 0, Total = 64
     [m3vpss ]  INTC Timeout Count     : (0, 0) (Min timeout value = 942, 972)
     [m3vpss ]  Descriptor miss found count : 0
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  VIP and VPDMA registers,
     [m3vpss ]  VIP0 : FIQ_STATUS  : 0x4810551c = 0x00001400
     [m3vpss ]  VIP1 : FIQ_STATUS  : 0x48105a1c = 0x00001400
     [m3vpss ]  VPDMA: LIST_BUSY   : 0x4810d00c = 0x00020000
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  674527: CAPTURE: Fields = 609768 (fps = 958, CPU Load = 0)
     [m3vpss ]  674527: CAPTURE: Num Resets = 0 (Avg 0 ms per reset)
     [m3vpss ]  674527: SYSTEM  : FREE SPACE : System Heap      = 5160 B, Mbx = 10237 msgs)
     [m3vpss ]  674527: SYSTEM  : FREE SPACE : SR0 Heap         = 10811648 B (10 MB)
     [m3vpss ]  674527: SYSTEM  : FREE SPACE : Frame Buffer     = 155500160 B (148 MB)
     [m3vpss ]  674527: SYSTEM  : FREE SPACE : Bitstream Buffer = 189770624 B (180 MB)
     [m3vpss ]  674531: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89128960 B (85 MB)  - TILER ON
     [m3vpss ]  674531: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON
     [m3vpss ]
     [m3vpss ]  *** [DEI0    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 639 secs
     [m3vpss ]  Total Fields Processed : 305824
     [m3vpss ]  Total Fields FPS       : 726 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     25     24      0      0          59           4           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    1 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    2 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  19
     [m3vpss ]    3 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   4 /  19
     [m3vpss ]    4 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    5 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    6 |      59         0         59      0     23     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    7 |      59         0         59      0     24     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 639 secs
     [m3vpss ]  Total Fields Processed : 305824
     [m3vpss ]  Total Fields FPS       : 758 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Reject In Process Out[0] Out[1] Out[2] Out[3] Out[4] Skip Out[0] Skip Out[1] Skip Out[2] Skip Out[3] Skip Out[4] User Out[0] User Out[1] User Out[2] User Out[3] User Out[4] Latency
     [m3vpss ]  Num | FPS     FPS       FPS        FPS    FPS    FPS    FPS    FPS       FPS         FPS         FPS         FPS         FPS       Skip FPS    Skip FPS    Skip FPS    Skip FPS    Skip FPS   Min / Max
     [m3vpss ]  -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  18
     [m3vpss ]    1 |      59         0         59      0     23     24      0      0          59           6           5           0           0           0           0           0           0           0   5 /  19
     [m3vpss ]    2 |      59         0         59      0     23     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  19
     [m3vpss ]    3 |      59         0         59      0     24     24      0      0          59           5           5           0           0           0           0           0           0           0   5 /  19
     [m3vpss ]    4 |      59         0         59      0     24     24      0      0          59           5           5           0           0           0           0           0           0           0   6 /  19
     [m3vpss ]    5 |      59         0         59      0     25     24      0      0          59           4           5           0           0           0           0           0           0           0   6 /  19
     [m3vpss ]    6 |      59         0         59      0     27     24      0      0          59           2           5           0           0           0           0           0           0           0   6 /  19
     [m3vpss ]    7 |      59         0         59      0     28     24      0      0          59           1           5           0           0           0           0           0           0           0   6 /  19
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  *** [SWMS0] Mosaic Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time: 635 secs
     [m3vpss ]
     [m3vpss ]  Output Request FPS   : 30 fps (19061 frames)
     [m3vpss ]  Output Actual  FPS   : 30 fps (19061 frames)
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
     [m3vpss ]  Scaling Internal     : 33 ms
     [m3vpss ]  Scaling Internal min : 20 ms
     [m3vpss ]  Scaling Internal max : 38 ms
     [m3vpss ]
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max
     [m3vpss ]  ------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     30      4    0    0   25          0        0 (  0/255)         0          0      0   6 / 112
     [m3vpss ]    1 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   6 / 136
     [m3vpss ]    2 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   6 / 138
     [m3vpss ]    3 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   6 / 145
     [m3vpss ]    4 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   6 / 135
     [m3vpss ]    5 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   6 / 155
     [m3vpss ]    6 |     30      6    0    0   24          0        0 (  0/255)         0          0      0   6 / 139
     [m3vpss ]    7 |     30      5    0    0   24          0        0 (  0/255)         0          0      0   6 / 154
     [m3vpss ]    8 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   7 / 152
     [m3vpss ]    9 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   7 / 152
     [m3vpss ]   10 |     30      6    0    0   23          0        0 (  0/255)         0          0      0   7 / 124
     [m3vpss ]   11 |     30      5    0    0   24          0        0 (  0/255)         0          0      0   7 / 124
     [m3vpss ]   12 |     30      5    0    0   24          0        0 (  0/255)         0          0      0   7 / 136
     [m3vpss ]   13 |     30      4    0    0   25          0        0 (  0/255)         0          0      0   7 / 138
     [m3vpss ]   14 |     30      2    0    0   27          0        0 (  0/255)         0          0      0   7 / 124
     [m3vpss ]   15 |     30      1    0    0   28          0        0 (  0/255)         0          0      0   7 / 123
     [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 |   704 x    240 |  1408 /  1408 | NON-TILED   |    0,    0 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    1 |   1 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  480,    0 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    2 |   2 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  960,    0 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    3 |   3 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   | 1440,    0 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    4 |   4 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |    0,  270 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    5 |   5 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  480,  270 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    6 |   6 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  960,  270 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    7 |   7 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   | 1440,  270 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    8 |   8 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |    0,  540 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]    9 |   9 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  480,  540 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   10 |  10 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  960,  540 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   11 |  11 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   | 1440,  540 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   12 |  12 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |    0,  810 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   13 |  13 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  480,  810 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   14 |  14 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   |  960,  810 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]   15 |  15 |    0,    0 |   704 x    240 |  1408 /  1408 | NON-TILED   | 1440,  810 |   480 x    270 |  3840 /      0 | NON-TILED   |      ON  |    0 |  420SP |   OFF |
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  676564: DISPLAY: HDDAC(BP0) : 59 fps, Latency (Min / Max) = ( 12 / 50 ), Callback Interval (Min / Max) = ( 16 / 17 ) !!!
     [m3vpss ]  676564: DISPLAY: UNDERFLOW COUNT: HDMI(BP0) 38283, HDDAC(BP0) 78091, DVO2(BP1) 78091, SDDAC(SEC1) 78004
     [m3vpss ]  676564: SYSTEM  : FREE SPACE : System Heap      = 5160 B, Mbx = 10235 msgs)
     [m3vpss ]  676564: SYSTEM  : FREE SPACE : SR0 Heap         = 10811648 B (10 MB)
     [m3vpss ]  676565: SYSTEM  : FREE SPACE : Frame Buffer     = 155500160 B (148 MB)
     [m3vpss ]  676565: SYSTEM  : FREE SPACE : Bitstream Buffer = 189770624 B (180 MB)
     [m3vpss ]  676566: SYSTEM  : FREE SPACE : Tiler 8-bit      = 89128960 B (85 MB)  - TILER ON
     [m3vpss ]  676566: SYSTEM  : FREE SPACE : Tiler 16-bit     = 44040192 B (42 MB)  - TILER ON
     [m3vpss ]
     [m3vpss ]  *** IpcFramesOutRTOS Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time           : 638 secs
     [m3vpss ]  Total Fields Processed : 251480
     [m3vpss ]  Total Fields FPS       : 394 FPS
     [m3vpss ]
     [m3vpss ]
     [m3vpss ]  CH  | In Recv In Process In Skip
     [m3vpss ]  Num | FPS     FPS        FPS
     [m3vpss ]  --------------------------------
     [m3vpss ]    0 |      24         24       0
     [m3vpss ]    1 |      24         24       0
     [m3vpss ]    2 |      24         24       0
     [m3vpss ]    3 |      24         24       0
     [m3vpss ]    4 |      24         24       0
     [m3vpss ]    5 |      24         24       0
     [m3vpss ]    6 |      24         24       0
     [m3vpss ]    7 |      24         24       0
     [m3vpss ]    8 |      24         24       0
     [m3vpss ]    9 |      24         24       0
     [m3vpss ]   10 |      24         24       0
     [m3vpss ]   11 |      24         24       0
     [m3vpss ]   12 |      24         24       0
     [m3vpss ]   13 |      24         24       0
     [m3vpss ]   14 |      24         24       0
     [m3vpss ]   15 |      24         24       0
     [m3vpss ]
     [c6xdsp ]
     [c6xdsp ]  *** SCD Statistics ***
     [c6xdsp ]
     [c6xdsp ]  Elasped Time           : 651 secs
     [c6xdsp ]  Total Fields Processed : 252301
     [c6xdsp ]  Total Fields FPS       : 387 FPS
     [c6xdsp ]
     [c6xdsp ]
     [c6xdsp ]  CH  | In Recv In Process User Skip Process Skip In Process Time
     [c6xdsp ]  Num | FPS     FPS        FPS       FPS          per frame (msec)
     [c6xdsp ]  ----------------------------------------------------------------
     [c6xdsp ]    0 |      24         24        0           0              1
     [c6xdsp ]    1 |      24         24        0           0              0
     [c6xdsp ]    2 |      24         24        0           0              0
     [c6xdsp ]    3 |      24         24        0           0              0
     [c6xdsp ]    4 |      24         24        0           0              0
     [c6xdsp ]    5 |      24         24        0           0              0
     [c6xdsp ]    6 |      24         24        0           0              0
     [c6xdsp ]    7 |      24         24        0           0              1
     [c6xdsp ]    8 |      24         24        0           0              1
     [c6xdsp ]    9 |      24         24        0           0              0
     [c6xdsp ]   10 |      24         24        0           0              0
     [c6xdsp ]   11 |      24         24        0           0              0
     [c6xdsp ]   12 |      24         24        0           0              0
     [c6xdsp ]   13 |      24         24        0           0              0
     [c6xdsp ]   14 |      24         24        0           0              0
     [c6xdsp ]   15 |      24         24        0           0              0
     [c6xdsp ]
     [m3video]      680569: HDVICP-ID:0
     [m3video] All percentage figures are based off totalElapsedTime
     [m3video]               totalAcquire2wait :9 %
     [m3video]               totalWait2Isr :87 %
     [m3video]               totalIsr2Done :0 %
     [m3video]               totalWait2Done :87 %
     [m3video]               totalDone2Release :0 %
     [m3video]               totalAcquire2Release :98 %
     [m3video]               totalAcq2acqDelay :1 %
     [m3video]               totalElapsedTime in msec :  641841
     [m3video]               numAccessCnt:  522024
     [m3video]              IVA-FPS :     814
     [m3video]              Average time spent per frame in microsec:    1069
     [m3video]      680570: 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]      680571: 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           : 641 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 |      25       0        0  25  67 / 293
     [m3video]    1 |      23       0        0  22  92 / 319
     [m3video]    2 |      23       0        0  22  92 / 317
     [m3video]    3 |      23       0        0  22  92 / 307
     [m3video]    4 |      23       0        0  22  92 / 307
     [m3video]    5 |      23       1        0  22  92 / 307
     [m3video]    6 |      24       1        0  22  92 / 305
     [m3video]    7 |      24       2        0  22  92 / 305
     [m3video]    8 |      23       0        0  23  92 / 305
     [m3video]    9 |      23       0        0  22  92 / 305
     [m3video]   10 |      24       1        0  22  92 / 305
     [m3video]   11 |      24       1        0  22  92 / 305
     [m3video]   12 |      24       2        0  21  92 / 305
     [m3video]   13 |      25       4        0  20  92 / 305
     [m3video]   14 |      27       7        0  19  92 / 306
     [m3video]   15 |      28      11        0  16  92 / 306
     [m3video]   16 |      24       0        0  24  76 / 300
     [m3video]   17 |      24       0        0  24  76 / 300
     [m3video]   18 |      24       0        0  24  76 / 300
     [m3video]   19 |      24       0        0  24  76 / 301
     [m3video]   20 |      24       0        0  24  76 / 306
     [m3video]   21 |      24       0        0  24  76 / 306
     [m3video]   22 |      24       0        0  23  76 / 306
     [m3video]   23 |      24       1        0  23  76 / 306
     [m3video]   24 |      24       0        0  23  76 / 304
     [m3video]   25 |      24       0        0  23  83 / 312
     [m3video]   26 |      24       1        0  23  83 / 312
     [m3video]   27 |      24       1        0  23  83 / 316
     [m3video]   28 |      24       1        0  23  83 / 316
     [m3video]   29 |      24       1        0  23  83 / 316
     [m3video]   30 |      24       1        0  22  83 / 316
     [m3video]   31 |      24       1        0  22  83 / 316
     [m3video]
     [m3video] Multi Channel Encode Average Submit Batch Size
     [m3video] Max Submit Batch Size : 24
     [m3video] IVAHD_0 Average Batch Size : 10
     [m3video] IVAHD_0 Max achieved Batch Size : 24
     [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: 43488
     [m3video] All numbers are based off total number of Batches created
     [m3video]       Batch breaks due to batch sizeexceeding limit: 22 %
     [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: 6 %
     [m3video]       Batch breaks due to different codec: 71 %
     [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]
     [m3video]  *** DECODE Statistics ***
     [m3video]
     [m3video]  Elasped Time           : 659 secs
     [m3video]
     [m3video]
     [m3video]  CH  | In Recv In User  Out
     [m3video]  Num | FPS     Skip FPS FPS
     [m3video]  -----------------------------------
     [m3video]    0 |       0        0   0
     [m3video]    1 |       0        0   0
     [m3video]    2 |       0        0   0
     [m3video]    3 |       0        0   0
     [m3video]    4 |       0        0   0
     [m3video]    5 |       0        0   0
     [m3video]    6 |       0        0   0
     [m3video]    7 |       0        0   0
     [m3video]    8 |       0        0   0
     [m3video]    9 |       0        0   0
     [m3video]   10 |       0        0   0
     [m3video]   11 |       0        0   0
     [m3video]   12 |       0        0   0
     [m3video]   13 |       0        0   0
     [m3video]   14 |       0        0   0
     [m3video]   15 |       0        0   0
     [m3video]
     [m3video] Multi Channel Decode 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 Decode 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 %
     [m3video]
     [m3vpss ]
     [m3vpss ]  682583: LOAD: CPU: 32.1% HWI: 2.9%, SWI:2.0%
     [m3vpss ]
     [m3vpss ]  682584: LOAD: TSK: IPC_OUT_M30         : 2.4%
     [m3vpss ]  682584: LOAD: TSK: IPC_FRAMES_OUT1     : 1.6%
     [m3vpss ]  682584: LOAD: TSK: CAPTURE             : 1.2%
     [m3vpss ]  682584: LOAD: TSK: DEI0                : 4.0%
     [m3vpss ]  682584: LOAD: TSK: DEI2                : 4.4%
     [m3vpss ]  682584: LOAD: TSK: DISPLAY0            : 0.9%
     [m3vpss ]  682584: LOAD: TSK: DUP0                : 0.6%
     [m3vpss ]  682584: LOAD: TSK: DUP1                : 0.5%
     [m3vpss ]  682584: LOAD: TSK: DUP2                : 0.6%
     [m3vpss ]  682584: LOAD: TSK: DUP3                : 0.5%
     [m3vpss ]  682584: LOAD: TSK: SWMS0               : 4.3%
     [m3vpss ]  682585: LOAD: TSK: MERGE0              : 0.2%
     [m3vpss ]  682585: LOAD: TSK: MERGE1              : 0.2%
     [m3vpss ]  682585: LOAD: TSK: MERGE2              : 0.2%
     [m3vpss ]  682585: LOAD: TSK: MERGE3              : 0.3%
     [m3vpss ]  682585: LOAD: TSK: MERGE4              : 0.3%
     [m3vpss ]  682585: LOAD: TSK: MISC                : 5.0%
     [m3vpss ]
     [m3video]
     [m3video]  683086: LOAD: CPU: 23.3% HWI: 1.4%, SWI:1.5%
     [m3video]
     [m3video]  683086: LOAD: TSK: IPC_IN_M30          : 1.0%
     [m3video]  683086: LOAD: TSK: IPC_BITS_OUT0       : 2.4%
     [m3video]  683086: LOAD: TSK: ENC0                : 3.9%
     [m3video]  683086: LOAD: TSK: DEC0                : 0.6%
     [m3video]  683086: LOAD: TSK: ENC_PROCESS_TSK_0   : 12.0%
     [m3video]  683086: LOAD: TSK: MISC                : 0.5%
     [m3video]
     [c6xdsp ]
     [c6xdsp ]  692260: LOAD: CPU: 41.2% HWI: 0.7%, SWI:0.3%
     [c6xdsp ]
     [c6xdsp ]  692260: LOAD: TSK: IPC_FRAMES_IN1      : 0.5%
     [c6xdsp ]  692260: LOAD: TSK: IPC_BITS_OUT1       : 0.9%
     [c6xdsp ]  692260: LOAD: TSK: ALG1                : 3.1%
     [c6xdsp ]  692260: LOAD: TSK: SCD_PROCESS_TSK1    : 35.3%
     [c6xdsp ]  692260: LOAD: TSK: MISC                : 0.4%
     [c6xdsp ]

     VDEC:Buffer Statistics 0
     ChId | InBufCnt | OutBufCnt
     [m3vpss ]
     [m3vpss ]  *** CAPTURE Statistics ***
     [m3vpss ] 684088: CAPTURE: Queued to driver = 619102, Dequeued from driver = 618952
     [m3vpss ] CAPTURE [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 360, rdPtr 360
     [m3vpss ]
     [m3vpss ]  *** [DEI0    ] DEI Statistics ***
     [m3vpss ] 684098: DEI: Rcvd from prev = 309480, Returned to prev = 309480
     [m3vpss ] DEI Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [1] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 371, rdPtr 371
     [m3vpss ] DEI Out [2] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 314, rdPtr 314
     [m3vpss ] DEI Out [3] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [4] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ]
     [m3vpss ]  *** [DEI2    ] DEI Statistics ***
     [m3vpss ] 684100: DEI: Rcvd from prev = 309472, Returned to prev = 309472
     [m3vpss ] DEI Out [0] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [1] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 198, rdPtr 198
     [m3vpss ] DEI Out [2] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 11, rdPtr 11
     [m3vpss ] DEI Out [3] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] DEI Out [4] Buf Q Status
     [m3vpss ] Empty Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ] Full Q -> count 0, wrPtr 0, rdPtr 0
     [m3vpss ]
     [m3vpss ]  *** [SWMS0] Mosaic Statistics ***
     [m3vpss ] 684104: SWMS: Rcvd from prev = 254009, Returned to prev = 173529
     [m3vpss ] SWMS Out  Buf Q Status
     [m3vpss ] Empty Q -> count 2, wrPtr 165, rdPtr 163
     [m3vpss ] Full Q -> count 0, wrPtr 163, rdPtr 163
     [m3vpss ]
     [m3vpss ]  *** Display Statistics ***
     [m3vpss ] 684104: DISPLAY: Rcvd from prev = 273355, Returned to prev = 273353, BufsInDriver = 4
     [m3video]
     [m3video]  *** Encode Statistics ***
     [m3video]   684605: ENC: Rcvd from prev = 508927, Returned to prev = 508745
     [m3video]  ENC Out  BitBuf Q Status
     [m3video] Empty Q 0 -> count 0, wrPtr 195, rdPtr 195
     [m3video] Empty Q 1 -> count 13, wrPtr 329, rdPtr 316
     [m3video] Full Q -> count 0, wrPtr 329, rdPtr 329

  • Q1. In our case as below, and we just use two queues for VIP_SC. does it mean DEI_SC is still working(because I see Skip FPS)? if yes, how did we close it or disable?

     - To disable modify the usecase file deiCreateParams to disable DEI_SC output queue. You should ensure to modify the chain so that _no_ nextLink is connected to DEI_SC output queue after this modification. Currently it is skipping all frames since output fps is set to zero .Skipping all frames is equivalent to disabling DEI_SC output queue in terms of performance.

     

    Q2. how do we know the fps for each output port of CIF_DUP_LINK?    - Dup link input fps will be same as output fps. You have to check the fps in the next link in the chain.

       in case of multich_progressive_vcap_venc_vdec_vdis.c, CIF_DUP_LINK -> IPC FrameOut -> IPC FrameIn -> SCD.

       we can say the following statistics is for the above link. Right?    [m3vpss ]  *** IpcFramesOutRTOS Statistics ***

       if yes, how do we know the fps of link like  "IPC FrameOut -> IPC FrameIn -> EncLink"?    is it the following?    [m3video]  *** ENCODE Statistics ***

      in case of multich_progressive_vcap_venc_vdec_vdis.c, CIF_DUP_LINK -> IPC FrameOut -> IPC FrameIn -> SCD.

        - No this is not the data flow unless you have modified it. Default Data flow in RDK 3.0  is

          Capture -> Dup -> Scaler -> NSF -> ipcFramesOut -> ipcFramesIn -> SCD.

          The ipcFramesOut can be the one for OSD or one for SCD . You have to use the correct linkID to determine which stats corresponds to SCD ipcFramesOut.

          encLink statistics are printed as part of Vsys_printDetailedStatistics already. ipcFrames link are very light weight and do not drop frames. Only processing modules like SCD or Encode can delay the pipeline and cause frame drop.

      

  • Badri Narayanan said:

    Q1. In our case as below, and we just use two queues for VIP_SC. does it mean DEI_SC is still working(because I see Skip FPS)? if yes, how did we close it or disable?

     - To disable modify the usecase file deiCreateParams to disable DEI_SC output queue. You should ensure to modify the chain so that _no_ nextLink is connected to DEI_SC output queue after this modification. Currently it is skipping all frames since output fps is set to zero .Skipping all frames is equivalent to disabling DEI_SC output queue in terms of performance.

     

    But there's a power-saving difference between "set fps zero" and "disable it". Right?

     

    Badri Narayanan said:

    Q2. how do we know the fps for each output port of CIF_DUP_LINK?    - Dup link input fps will be same as output fps. You have to check the fps in the next link in the chain.

       in case of multich_progressive_vcap_venc_vdec_vdis.c, CIF_DUP_LINK -> IPC FrameOut -> IPC FrameIn -> SCD.

       we can say the following statistics is for the above link. Right?    [m3vpss ]  *** IpcFramesOutRTOS Statistics ***

       if yes, how do we know the fps of link like  "IPC FrameOut -> IPC FrameIn -> EncLink"?    is it the following?    [m3video]  *** ENCODE Statistics ***

      in case of multich_progressive_vcap_venc_vdec_vdis.c, CIF_DUP_LINK -> IPC FrameOut -> IPC FrameIn -> SCD.

        - No this is not the data flow unless you have modified it. Default Data flow in RDK 3.0  is

          Capture -> Dup -> Scaler -> NSF -> ipcFramesOut -> ipcFramesIn -> SCD.

          The ipcFramesOut can be the one for OSD or one for SCD . You have to use the correct linkID to determine which stats corresponds to SCD ipcFramesOut.

          encLink statistics are printed as part of Vsys_printDetailedStatistics already. ipcFrames link are very light weight and do not drop frames. Only processing modules like SCD or Encode can delay the pipeline and cause frame drop.

    By your speaking, can I say "the input fps will be the same as the output fps for the links like DUP,Merge, NSF, Scaler, ipcFramesOut, ipcFramesIn" ? if not, what's the influence factor?

  • Hi Badri,
       I have question about the DUP link as below chart in case of RDK 3.0.
       The DUP link will generate the same fps for thefollowing two queues. Right?
      

    Capture -> Dup -> Scaler -> NSF -> ipcFramesOut -> ipcFramesIn -> SCD
                   -> Merge -> ipcFramesOut -> ipcFramesIn -> Enc Link

  • Yes that is correct.

    ON your question "But there's a power-saving difference between "set fps zero" and "disable it". Right?"

     - There is no power saving. It will just use a different HW path to do scaling if you disable DEI_SC.ANyhow if you dont want to use it better to disable it.

  • Badri Narayanan said:

    Yes that is correct.

    Hi Badri,
       So that means the frame drop in Enc link may cause the less frame receiving in SCD. Right?

  • Hi, Badri.

    Can you explain merge Link in detail?

    How does it merge the 2ch to 1ch? In what way?

  • Hi Badri,
        Our case is very like the MERGE_D1_CIF in case of multich_progressive_vcap_venc_vdec_vdis.c and just without the path for 16ch-D1 MJPG encoding from DUP_D1_LINK and 16ch-CIF LIVE_DECODE_MERGE from CIF_DUP_LINK.

  • Badri Narayanan said:

    Hi Badri,
       So that means the frame drop in Enc link may cause the less frame receiving in SCD. Right?

     
    By my checking the frame receiving in  IpcFramesOutRTOS(CIF)  to SCD is always the same as the frame receiving(17~32ch with CIF)  in encoding. Is the above thought right?
  • Your chain is:

    DEI_VIP_SC_SECONDARY_OUT           -- >                                          ------ >  SCD

                                                                                CIF_MERGE -- Dup ---

    DEI_HQ_VIP_SC_SECONDARY_OUT   -->                                          --------> Encode

    The statistics shows DEI is dropping frames at the VIP_SC_SECONDARY_OUT  queue.

    This means the processing link DEI is not real time.

    This could mean Encode is not real time OR SCD is not real-time.

    It is expected that encode is not real-time because you have wrongly assigned the HDVICP map.

    However if encode is not real time it would generally drop frames at its input but from the stats the encode input fps is itself on 24-25 fps.

    This could be because the number of input buffers == number of output buffers in encode as I have explained previously. To confirm if this is the issue increase the number of buffer per channel in DEI_VIP_SC_SECONDARY queue to large value like 8/10 and check from the stats if the encoder in now dropping frames at its input. If you see input to encode still 24-25 after increasing the number of buffers it means the bottleneck is due to SCD

    SCD will not drop frames at its input and will cause frame drops in the previous link if it is not real-time. The SCD frame rate also shows on it is able to do only 24-25. The test of disabling Encode and trying SCD is not meaningful since enabling encode will increase SCD load since there will be contention for DDR.You can confirm this by disabling SCD processing and checking if the fps improves.

    Attached slide explai ns operation of merge link.

     

     

  • Hi Badri,

    Our chain is like:

    DEI_VIP_SC_SECONDARY_OUT     -- >                  |-------------- >  SCD
                    |                                  | 16-CIF           16-CIF
                    |                 CIF_MERGE -- CIF_Dup ----|
                    |                                          |
    DEI_HQ_VIP_SC_SECONDARY_OUT   -->                          
                    |        |                              D1_CIF_Merge --> Encode    
                    |        |                                              16-CIF/D1
                    |--------------->                          |
                             |                          16-D1  |
                             |        D1_MERGE ----------------|
                             |------>


    Q1. Encode isn't real time. D1_CIF_Merge and CIF_Dup will not generate 30fps in time because of the notification from next link.
        And since CIF_Dup will provide frames to SCD and D1_CIF_Merge at the same time. the frame-receiving of SCD will be influenced. Right?

    Q2. By chekcing DupLink_CreateParams, it can't be set different parameters like fps for each queue. DupLink will generate the same fps for enable queue. Right?

  •  Hi Badri,

    For your clarifcation, I redraw the chain as below:

    DEI_VIP_SC_SECONDARY_OUT       -- >                                     |-------------- >  SCD
                    |                                                                                         | 16-CIF           16-CIF
                    |                                                        CIF_MERGE -- CIF_Dup ----|
                    |                                                                                                      |
    DEI_HQ_VIP_SC_SECONDARY_OUT -->                          
                    |        |                                                                                   D1_CIF_Merge --> Encode    
                    |        |                                                                                                                  16-CIF/D1
                    |------------------------------>                                                              |
                             |                                                                                 16-D1  |
                             |                                  D1_MERGE ------------------------------|
                             |----------------------->

  • Q1. Encode isn't real time. D1_CIF_Merge and CIF_Dup will not generate 30fps in time because of the notification from next link.     And since CIF_Dup will provide frames to SCD and D1_CIF_Merge at the same time. the frame-receiving of SCD will be influenced. Right?

       - If encode isn't realtime and if encode is not dropping frames at its input only then it will cause fps drop in SCD.

    Q2. By chekcing DupLink_CreateParams, it can't be set different parameters like fps for each queue. DupLink will generate the same fps for enable queue. Right?

      - Yes that is correct

  • Hi Badri,

       I have one more question.

    Q1. To confirm if this is the issue increase the number of buffer per channel in DEI_VIP_SC_SECONDARY queue to large value like 8/10
           By your speaking,once I increase the number of buffer per channel, how did I know the residual memory now?

  • Hi Badri,

     About the following message, did you know the meaning of "Window FPS", "Repeat FPS"?


     [m3vpss ]  *** [SWMS0] Mosaic Statistics ***
     [m3vpss ]
     [m3vpss ]  Elasped Time: 1850 secs
     [m3vpss ]
     [m3vpss ]  Output Request FPS   : 30 fps (55504 frames)
     [m3vpss ]  Output Actual  FPS   : 30 fps (55504 frames)
     [m3vpss ]  Output Drop    FPS   : 0 fps (0 frames)
     [m3vpss ]  Output Reject  FPS   : 0 fps (0 frames)
     [m3vpss ]  Scaling Internal     : 33 ms
     [m3vpss ]  Scaling Internal min : 18 ms
     [m3vpss ]  Scaling Internal max : 39 ms
     [m3vpss ]
     [m3vpss ]  Win | Window Repeat Drop Recv Que  FID Invlid Acc Event          Invalid   Que Reject Reject Latency
     [m3vpss ]  Num | FPS    FPS    FPS  FPS  FPS  FPS        Count (Max/Min)    CH Frames Frames     Frames Min / Max
     [m3vpss ]  ------------------------------------------------------------------------------------------------------
     [m3vpss ]    0 |     30      4    0    0   25          0        0 (  0/255)         0          0      0   6 / 127

  • By checking,

    window fps : number of frames that were actually used for SW MS
    repeat fps : number of frames that were repeated since new input was not avialable
    drop fps :  number of frames that were dropped AND not displayed.
    recv fps :  number of frames received for this window
    queue fps : number of frames queued for display

    my question is
    Q1. is it reasonable that the recv fps is zero? if yes, why?
    Q2. "window fps" isn't equal to the sum of "repeat fps" plus "que fps". Is it reasonable?
    Q3. after checking, the statistics of "que fps" is totally the same as "recv fps" in ENCODE Statistics. Is there any relationship between these?

  • hi badri,

    any idea about these?